April 26, 200422 yr Hi,since I've made a few changes on my "well-working XP Unattended Install CD" (just added some hotfixes), my cmdlines.txt file doesn't seem to work anymore : my auto login I've made doesn't work (I have to manually choose beetween the user the install created (jojo), and an other default user, called "Proprietaire" at the first login; before my changes, the auto login used to work well...)Here is a copy of some files.Thanks !MrjojoWINNT.SIF;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS UnattendSwitch="yes" WaitForReboot="No" Hibernation=No CrashDumpSetting=0[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=105 OemSkipWelcome=1[userData] ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX FullName="Jojo" OrgName="" ComputerName=PCJOJO[identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes[Components] chat=off msmsgs=off deskpaper=off freecell=off hearts=off minesweeper=off pinball=off solitaire=off spider=off zonegames=off media_clips=off media_utopia=off msnexplr=off mousepoint=off mplay=off[GuiRunOnce]%systemdrive%\Install\softs.cmd%systemdrive%\Install\hotfixes.cmd%systemdrive%\Install\fin.cmdCMDLINES.TXT[COMMANDS]"useraccounts.cmd"USERACCOUNTS.CMDnet user Jojo /addnet localgroup Administrateurs Jojo /addREGEDIT /S autologon.regEXITAUTOLOGON.REGWindows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="Jojo""AutoAdminLogon"="1"
April 26, 200422 yr Add "DefaultPassword"=""to your reg file. How are you sure that cmdlines.txt executed or not? Press Shift+F11 during GUI-mode setup and type lusrmgr.msc to verify your account was added. (or you can always try out the commands on a running Windows XP machine)Use boxes for code, not coloured text :/
April 27, 200422 yr Author Ok, thx, I try this right now; I've forgotten to tell I own XP Home Edition, so the lusrmgr.msc can't work.And I'm sure the cmdlines.txt is launched (and the jojo account is created) because I can choose beetween "jojo" and "proprietaire" at the first logon screen... It seems only the .reg file is ignored !Iam installing XP on VMWare, the answer in a few min...MrJojoPS : sorry for the forgotten code boxes, it was my first post on this forum, and I didn't know how it works...
April 27, 200422 yr USERACCOUNTS.CMDnet user Jojo /addnet localgroup Administrateurs Jojo /addREGEDIT /S autologon.regEXITAUTOLOGON.REGWindows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="Jojo""AutoAdminLogon"="1"your useraccounts.cmd should have the first line changed tonet user "Jojo" password /addyour autologon.reg should have an additional line"DefaultPassword"="password"and your winnt.sif needs additional line under [GuiUnattended]AutoLogon=Yesi think that is all... try that and see if you get auto logged on
April 27, 200422 yr Author I've tried to add the "DefaultPassword"="" line, and it works ! Very strange, I'm quite sure I've never use it before !![bM]Crusher, I don't want to specify a password for this user, this is why I didn't add the password option...Anyway, thank you both ! MrJojo
Create an account or sign in to comment