MarcoTulio Posted April 21, 2004 Share Posted April 21, 2004 (edited) THIS IS MY WINNT.SIF FILE;SetupMgrTag[Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes"[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS UnattendSwitch="yes" WaitForReboot="No" DriverSigningPolicy=Ignore OemPnPDriversPath="Drivers\001_graphics;Drivers\002_sound"[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=30 OemSkipWelcome=1[userData] ProductKey=removed FullName="oem user" OrgName="oem user" ComputerName=*[RegionalSettings] LanguageGroup=1 Language=0000080a[identification] JoinWorkgroup=WORKGROUP[Networking]InstallDefaultComponents=YesHome_Page=http://www.google.com[Components]msmsgs=offfreecell=offhearts=offminesweeper=offpinball=offsolitaire=offspider=off[GuiRunOnce]%systemdrive%\install\start.cmd======MY CMDLINES.TXT FILE==========[COMMANDS]"useraccounts.cmd"======MY USERACCOUNTS.CMD FILE========net user usuario1 /addnet localgroup Administradores usuario1 /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXIT=====MY AUTOLOGON.REG FILE======Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="usuario1""DefaultPassword"="""AutoAdminLogon"="1"===========================Well, i have the following problem, my unattended disc executes all fine, i get windows xp and aplications installed, and user account created, but I go to control panel and change o create the "usuario1" password, next time when i boot, a windows pops up telling me that wrong password and blaaa; some times gives me the chance to type the new password and some times it just stays in "loading windows" or something like that but nothing happends, so i have to push reset. I found that if a go to registry and delete "AutoAdminLogon" and "DefaultPassword" it works fine again, but i would like to kwon how to avoid this since my unattended cd. Edited April 21, 2004 by AaronXP Link to comment Share on other sites More sharing options...
Jono Posted April 21, 2004 Share Posted April 21, 2004 remove that product key Link to comment Share on other sites More sharing options...
MarcoTulio Posted April 21, 2004 Author Share Posted April 21, 2004 Why should I remove that product key? Link to comment Share on other sites More sharing options...
XtremeMaC Posted April 21, 2004 Share Posted April 21, 2004 well thats because u have to change the registry entries password too.either save that portion to a .reg file and parse it with the new passwordor manually go to that string value and change the password.it won't automatically put the changed password into auto logon Link to comment Share on other sites More sharing options...
ZoSTeR Posted April 21, 2004 Share Posted April 21, 2004 Why should I remove that product key?Only from the posting not from the winnt.sif file. Link to comment Share on other sites More sharing options...
MarcoTulio Posted April 21, 2004 Author Share Posted April 21, 2004 AHHH, sorry about the product key, I didn´t realize when Jono told me to remove it, I thougt i should remove it from my winnt.sif file, lol Link to comment Share on other sites More sharing options...
MarcoTulio Posted April 22, 2004 Author Share Posted April 22, 2004 What command can I use in a batch file to delete a registry keyfor example if I want the following file:Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="usuario1""DefaultPassword"="""AutoAdminLogon"="1"to delete in the registry DefaultPassword and AutoAdminLogon, how should I write the file above? Link to comment Share on other sites More sharing options...
XtremeMaC Posted April 22, 2004 Share Posted April 22, 2004 (edited) i don't understand why u want to change it, i mean why have a username & password in winnt.sif then?since they're both adminsinstead of deleting them just overwrite them... Edited April 22, 2004 by XtremeMaC Link to comment Share on other sites More sharing options...
MarcoTulio Posted April 22, 2004 Author Share Posted April 22, 2004 Well, i want to modify the registry after I have completly installed windows to avoid the problem i described in the start of this topic. I found that if I delete "DefaultPassword" and "AutoAdminLogon" , I avoid that problem, so I want to add a .reg at the end of "start.cmd" file to delete that values, which were created with "autologon.reg" file. I just read in a microsoft page about editing the registry with a .reg file how to do it:http://support.microsoft.com/default.aspx?...kb;EN-US;310516 thanx anyway for your help, and sorry about my english Link to comment Share on other sites More sharing options...
MarcoTulio Posted April 22, 2004 Author Share Posted April 22, 2004 I thougt it was neccesary to create another user by using the files useraccounts.cmd and autologon.reg that´s why I create that user Link to comment Share on other sites More sharing options...
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