LeoK3NT Posted July 28, 2006 Posted July 28, 2006 I have been using the MSFN's Unattended installation guide to make an XP Home CD for my laptop. I have used the Net User method to create a user "Leo" and have setup autologon for this user.I have tested this on Virtual PC '04 and the user "Leo" has certainly been created, but a user called "Owner" has been created at a later date. I know this because the autologon's DefaultUserName has been changed to "Owner" and yet the password remains as it was when I set it in autologon.reg. Can anyone tell me how to prevent the user "Owner" being created, or how to rename it to Leo so I don't have to create a new user?cmdlines.txt:[COMMANDS]"useraccounts.cmd""rundll32 advpack.dll,LaunchINFSection nLite.inf,nLiteReg""RunOnceEx.cmd"useraccounts.cmd:net user Leo removed /addnet localgroup Administrators Leo /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXITautologon.reg:Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="Leo""DefaultPassword"="removed""AutoAdminLogon"="1"
jrf2027 Posted July 28, 2006 Posted July 28, 2006 Sounds like you must have an OEM-customized installation - what are the exact contents of your $OEM$ directory?
LeoK3NT Posted July 28, 2006 Author Posted July 28, 2006 I created all of the $OEM$ folder contents.-$OEM$--cmdlines.txt--autologon.cmd--RunOnceEx.cmd--useraccounts.cmd--$1---drivers----//drivers here--$$---system32----wpa.dbl----cmdow.exe
T D Posted July 28, 2006 Posted July 28, 2006 (edited) Owner is made with UnattendSwitch=Yes in winnt.sif, even if u do use "net user xxxx /add". What I do, I autologon once as administrator and use useraccounts.cmd there, also with a "net user Owner /delete" command. Edited July 28, 2006 by T D
LeoK3NT Posted July 28, 2006 Author Posted July 28, 2006 So if I put the following in my winnt.sif under [GuiUnattended], it should logon to the Admin account instead of "Owner":AutoLogon=YesAutoLogonCount=1I guess I can just setup a RunOnceEx to delete the "Owner" account and create my own username?
T D Posted July 28, 2006 Posted July 28, 2006 Yep. But u HAVE to set in deployment tools setupmgr.exe to autologon Administrator at least once. Otherwise, it will login as Owner and u won't be able to delete user Owner as ur PC is logged on as Owner.Sounds complicated this post, but easy to grasp.
LeoK3NT Posted July 28, 2006 Author Posted July 28, 2006 Thanks for the help, is there anyway to prevent the Owner user from being created in the first place.
T D Posted July 29, 2006 Posted July 29, 2006 (edited) In winnt.sif, UnattendSwitch=NoBut then ull be prompted w/that really annoying blue screen, "lets spend a few minuted setting up ur computer". Edited July 29, 2006 by T D
Takeshi Posted July 29, 2006 Posted July 29, 2006 That's a bit odd: I also have UnattendSwitch=Yes but didn't have Owner created. Have a look at your nLite settings.If nLite is not to blame, you can try putting net user Owner /delete in the useraccounts.cmd.
T D Posted July 30, 2006 Posted July 30, 2006 Owner is created while that stupid OOBE screen is on or right after setup, before rebooting so u'd have to del it via GuiRunOnce or ROE.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now