Jump to content

When I change password, boot up problems


Recommended Posts

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=Yes

Home_Page=http://www.google.com

[Components]

msmsgs=off

freecell=off

hearts=off

minesweeper=off

pinball=off

solitaire=off

spider=off

[GuiRunOnce]

%systemdrive%\install\start.cmd

======MY CMDLINES.TXT FILE==========

[COMMANDS]

"useraccounts.cmd"

======MY USERACCOUNTS.CMD FILE========

net user usuario1 /add

net localgroup Administradores usuario1 /add

net accounts /maxpwage:unlimited

REGEDIT /S autologon.reg

EXIT

=====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 by AaronXP
Link to comment
Share on other sites


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 password

or 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

What command can I use in a batch file to delete a registry key

for 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

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 admins

instead of deleting them just overwrite them...

Edited by XtremeMaC
Link to comment
Share on other sites

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

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