Jump to content

Admin Password Problem - there is none!


Recommended Posts

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.... sigh

No 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


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

HI,

There is no difference in the winnt.sif for admin password when it

comes 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, but

does not work for me. ??? :blink:

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 :unsure:

Link to comment
Share on other sites

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

What happens when you go into safe mode and try to log on

the administrator account. I believe XP home will only allow

logon of the administrator account in safe mode. Or create

another account in the administrator group and set that to

auto logon.

Link to comment
Share on other sites

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

The book I have "Windows XP inside and out" says that XP HOME

only allows logon of the administrator account in safe mode.

So I thought that might be the problem. I guess that still

doesn't answer why you can't create a password for the admin

account during setup. And it appears that home only allows

logon 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 happens

I'm not going to be much help. Tried creating an unattended install

of XP Home and keep getting the following error

Installation failed E:\I386\asms Parameters incorrect

Solved the above error but still don't have an answer

When I set the administrator account to autolog on I get

an error could not log you on check your password.

This is in safemode and normal mode. No matter what I tried

I couldn't get runonceex to work. The only way I could install

programs unattendly is through a batch file called from cmdlines.txt

And setting auto logon for another account in the admin group

still wouldn't run installs using runonceex.

Link to comment
Share on other sites

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 Administrator

net user Administrator imadummy /active:no /passwordchg:no

netuser Administrator /pwnexp:y

This will password built-in admin and disable it just in case

You 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 account

net user myusername mypassword /add /active:yes /passwordchg:yes

net localgroup Administrators myusername /add

netuser myusername /pwnexp:y

Replace "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 by wolfshade
Link to comment
Share on other sites

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 the

administrator acount to autologon and will only allow logon

when in safemode.

But I had no trouble setting auto logon for an count in the

administrator group. First I had to remove the lines setting administrator password and autologon from my winnt sif. The in my cmdlines.txt I

call a file to create some accounts.

cmdow @ /HID
@ECHO OFF
net user Jim password /add
net localgroup Administrators Jim /add
REGEDIT /S autologon.reg
EXIT

Here's the autologon.reg file

Windows 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.txt

Your PC will boot using the account you setup "jim" in the above example

and 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...