mrjojo Posted April 26, 2004 Posted April 26, 2004 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"
Aaron Posted April 26, 2004 Posted April 26, 2004 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 :/
mrjojo Posted April 27, 2004 Author Posted April 27, 2004 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...
[BM]Crusher Posted April 27, 2004 Posted April 27, 2004 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
mrjojo Posted April 27, 2004 Author Posted April 27, 2004 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
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