MSFN Forum: Create a User and set it to autologon - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Create a User and set it to autologon newbie quiestion Rate Topic: -----

#1 User is offline   chon_ 

  • Member
  • PipPip
  • Group: Members
  • Posts: 175
  • Joined: 04-September 03

Posted 10 November 2007 - 01:20 PM

I need to create a new user named Propietario with WSIM that is a member of the Administrators group and set it to autologon (in order to hide te Adminstrator account) after I installed my apps in Pass 6 Audit User.
I've been messing around with it but I can`t get it to work :(
What can I do??? :blink:
The way I did it in XP was running the following CMD file:
net user Propietario /add
net localgroup Administradores Propietario /add
net accounts /maxpwage:unlimited
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /d "Propietario" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultPassword" /d "" /f
rem reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "1" /f
This worked OK in XP, but seems like it doesn't work in vista (I've been running this cmd file in Pass 6 too).
Thanks in advance


#2 User is offline   dnrc 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 20-February 04

Posted 13 November 2007 - 04:38 AM

have you tried running your command file in a working install of windows to see if it works correctly at all under vista?

Otherwise, this is something you would need to do in your autounattend file.

#3 User is offline   Atheros 

  • Junior
  • Pip
  • Group: Members
  • Posts: 84
  • Joined: 01-June 04

Posted 13 November 2007 - 10:29 AM

add the user information in the unattended file...

it is not valid for pass 6.. only pass 5 and 7

e.g


<settings pass="auditSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Name>Username</Name>
<Group>Administrators</Group>
<DisplayName>Username</DisplayName>
<Description>Description</Description>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>

#4 User is offline   chon_ 

  • Member
  • PipPip
  • Group: Members
  • Posts: 175
  • Joined: 04-September 03

Posted 13 November 2007 - 10:40 AM

@Atheros
Trying it now, in pass 7...
I'll let you know

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy