Jump to content

Stopping the Add User Accounts screen


Recommended Posts

Ive been trying to get my unattended install to auto setup a user for me, which it does fine. But when windows finished install it still asks me to enter User names.

Anyone know a reg tweak that stops Windows from starting this screen? Or am i missing something in Winnt.sif?

Heres my code:

UserAccount.cmd

net user NAME Pass /add

net localgroup NAME /add

net accounts /maxpwage:unlimited

REGEDIT /S Autologon.reg

EXIT

Autologon.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

"DefaultUserName"="NAME"

"DefaultPassword"="Pass"

"AutoAdminLogon"="1"

Winnt.sif

[GuiUnattended]

AdminPassword="PASS"

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=020

OemSkipWelcome=1

Thanks, Dan

Link to comment
Share on other sites


I can't guarantee this will fix it, but you can try adding

[Unattended]
   UnattendSwitch=yes

to your WINNT.SIF file if it's not already there.

I found ref.chm to be a little confusing on the exact purpose of the two entries.

UnattendSwitch

Specifies whether Setup skips Windows Welcome or Mini-Setup when preinstalling Windows XP Home Edition or Windows XP Professional using the CD boot method.

Syntax UnattendSwitch = Yes | No

Values Yes

Instructs Setup to skip Windows Welcome.

No

Instructs Setup not to skip Windows Welcome.

Default Value No

OEMSkipWelcome

Enables unattended Setup to skip the Welcome page in GUI-mode Setup and Mini-Setup.

Syntax OEMSkipWelcome = 0 | 1

Values 0

Displays the Welcome page in GUI-mode Setup and Mini-Setup.

1

Skips the Welcome page in GUI-mode Setup and Mini-Setup.

I have both OEMSkipWelcome and UnattendSwitch in my WINNT.SIF, and it seems to work fine.

Hope this helps.

Link to comment
Share on other sites

Use a registry tweak to set the Administrator account as the default logon account.

Autologon.reg

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="Username"
"DefaultPassword"="Password"
"AutoAdminLogon"="1"

This is the exact file that I use to accomplish this on my own uA CD (with username and password removed, of course). I register these settings from cmdlines.txt which is run, if I remember correctly, at the end of GUI-mode setup (around T-12 or T-13).

Not sure what "Welcome screen" you are referring to. If you mean the annoying "Take a Tour of Windows XP" or whatever bubble that pops up in your system tray on a fresh install, that's a regtweak as well.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]
"RunCount"=dword:00000000

If that's not it, I also found this when I was looking for that last tweak, maybe it is the one you are looking for:

;-----
;----- Determines whether the Welcome to Windows splash screen, Welcome.exe,
;----- appears the next time the user logs on.
;-----
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\tips]
"Show"=dword:00000000

If that's not it either, I'm out of ideas for now. :D

Good luck.

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