bigred Posted January 18, 2005 Share Posted January 18, 2005 Well I'm doing something wrong...but I can't figure out what...no matter what I do, I'm not getting an admin password created...I'm wondering if any of you could take a look and see what I'm doing wrong....In case you're wondering, I've done this quite a few times before, so this really shouldn't be happening.... sighNo matter what I do, an admin password is not created..which messes up my auto-login, RunOnceEx, etc.... what's wrong?;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] UnattendMode=FullUnattended UnattendSwitch="yes" OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS Filesystem=*[GuiUnattended] AdminPassword="windows" EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=4 OemSkipWelcome=1[UserData] ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX FullName="Owner Name" OrgName="NAME" ComputerName=WORKSTATION[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=70[TapiLocation] CountryCode=107 AreaCode=604[RegionalSettings] LanguageGroup=1 SystemLocale=00001009 UserLocale=00001009 InputLocale=0409:00000409[Branding] BrandIEUsingUnattended=Yes[URL] Home_Page=http://www.google.ca Search_Page=http://www.google.ca[Proxy] Proxy_Enable=0 Use_Same_Proxy=1[Identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes Link to comment Share on other sites More sharing options...
MCT Posted January 18, 2005 Share Posted January 18, 2005 try removing quotes? Link to comment Share on other sites More sharing options...
bigred Posted January 18, 2005 Author Share Posted January 18, 2005 Well I did that once...but hey, I'll try anything...so I'll do it again to confirm.I'm not sure if it makes a difference but this is for XP Home....I'll post after I try without quootes...Edit: Will leave it running and post in the morning. Link to comment Share on other sites More sharing options...
SC00BS Posted January 18, 2005 Share Posted January 18, 2005 This is what i have in my winnt.sif and it works fine.[GuiUnattended]AdminPassword=mrsmithAutoLogon=YesAutoLogonCount=2OEMSkipRegional=1TimeZone=85OemSkipWelcome=1[code] Link to comment Share on other sites More sharing options...
bigred Posted January 18, 2005 Author Share Posted January 18, 2005 I'm just curious....is that for XP Pro or Home Scoobs? Link to comment Share on other sites More sharing options...
Gustaaf Posted January 18, 2005 Share Posted January 18, 2005 HI,There is no difference in the winnt.sif for admin password when itcomes to XP PRO, HOME. Both systems have local admin accounts.I too am not using quotes, and it works. Yes., MS is a bit mysterious with the unattend file format.Example:ProductKey="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"ProductID="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"ProductID works for me, But ProductKey is officially documentend everywhere, butdoes not work for me. ??? FYI, I use them both, without glitch. But I verified that ProductKey to be an issue for me.Maybe there is newer features in winnt.sif file format since SP2 Link to comment Share on other sites More sharing options...
bigred Posted January 18, 2005 Author Share Posted January 18, 2005 Thanks to those of you who have taken the time to respond...After trying without quotes around the admin password......it still doesn't work.....Does anyone else have any ideas? This is drivin' me nuts...!!!! Link to comment Share on other sites More sharing options...
jbm Posted January 18, 2005 Share Posted January 18, 2005 What happens when you go into safe mode and try to log on the administrator account. I believe XP home will only allowlogon of the administrator account in safe mode. Or createanother account in the administrator group and set that toauto logon. Link to comment Share on other sites More sharing options...
bigred Posted January 18, 2005 Author Share Posted January 18, 2005 jbm.....When my unattended install runs...it stops twice (both times when my auto-login was setup to allow the unattended install to continue). I can get by that by clicking OK on the error and then just clicking on the username (on the welcome screen) to login.Once I'm logged in, the User Accounts section of the Control Panel shows my account as being created, but with no password.Once I create a password I can then log in as Administrator in XP Home.With that said, I'm not sure I follow what you want me to do, or how it might help. Sorry ...haha...maybe I just don't think well this early in the morning. Could you explain, if you still think that will help?Thanks...I appreciate the help... Link to comment Share on other sites More sharing options...
jbm Posted January 18, 2005 Share Posted January 18, 2005 The book I have "Windows XP inside and out" says that XP HOMEonly allows logon of the administrator account in safe mode.So I thought that might be the problem. I guess that stilldoesn't answer why you can't create a password for the adminaccount during setup. And it appears that home only allowslogon of the admin account in safe mode unless it has a password.I'm going totry this on vmware with xp home to see what happensI'm not going to be much help. Tried creating an unattended installof XP Home and keep getting the following errorInstallation failed E:\I386\asms Parameters incorrectSolved the above error but still don't have an answerWhen I set the administrator account to autolog on I getan error could not log you on check your password.This is in safemode and normal mode. No matter what I triedI couldn't get runonceex to work. The only way I could installprograms unattendly is through a batch file called from cmdlines.txtAnd setting auto logon for another account in the admin groupstill wouldn't run installs using runonceex. Link to comment Share on other sites More sharing options...
bigred Posted January 18, 2005 Author Share Posted January 18, 2005 That would be great jbm.....thanks Link to comment Share on other sites More sharing options...
bigred Posted January 19, 2005 Author Share Posted January 19, 2005 Anyone else have any thoughts on this?Or could anyone who has XP Home paste their winnt.sif code for me to try?Any help is appreciated (<--- hopes you feel sorry for him, and offer to help) Link to comment Share on other sites More sharing options...
wolfshade Posted January 19, 2005 Share Posted January 19, 2005 (edited) Why don't u jut skip the password in the answer file and give it an * (that will make it a null password) and work on it from the cmdlines like this :ECHO Fixing Administratornet user Administrator imadummy /active:no /passwordchg:nonetuser Administrator /pwnexp:yThis will password built-in admin and disable it just in caseYou wil have to dl the "netuser" tool (its here somewhere just do a search) ;"net user" and "netuser" are not the same thing... "net" tool comes with windows "netuser" does not.After that just add u're account like this:ECHO Setting local accountnet user myusername mypassword /add /active:yes /passwordchg:yesnet localgroup Administrators myusername /addnetuser myusername /pwnexp:yReplace "myusername" and "mypassword" with u'rs and after that call a *.reg file that contains:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="myusername""DefaultPassword"="mypassword""AutoAdminLogon"="1"And u're account will autologon and work ... i hope for you And yeah looking at what MCT said u have to work on specs for HOME ... i never had it so the actual names might differ meaning built-ins and groups. Edited January 19, 2005 by wolfshade Link to comment Share on other sites More sharing options...
MCT Posted January 19, 2005 Share Posted January 19, 2005 XP Home uses the username "Owner" instead of "Administrator" i believe Link to comment Share on other sites More sharing options...
jbm Posted January 19, 2005 Share Posted January 19, 2005 I had problems in my runonceex files so it wouldn't work.And I made some other goofy errors.Its like I originally thought XP home will not allow theadministrator acount to autologon and will only allow logonwhen in safemode. But I had no trouble setting auto logon for an count in theadministrator group. First I had to remove the lines setting administrator password and autologon from my winnt sif. The in my cmdlines.txt Icall a file to create some accounts.cmdow @ /HID@ECHO OFFnet user Jim password /addnet localgroup Administrators Jim /addREGEDIT /S autologon.regEXITHere's the autologon.reg fileWindows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon];username administrator causes problems in XP HOME"DefaultUserName"="jim""DefaultPassword"="password""AutoAdminLogon"="1"Next put your runonceex.cmd in cmdlines.txtYour PC will boot using the account you setup "jim" in the above exampleand run you runonceex commands.Note like MCT says HOME will auto boot with the user name "OWNER"if you only have one account.so you may just need to remove your autologon for the administrator. 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