Jump to content

Welcome to Windows screen


Dw2k

Recommended Posts

Hi guys, im getting quite far with my cd now :rolleyes: Just one niggle at the moment, namely this screen: http://www.fwibble.org/unattended.png

I can't get it to go away as it ask's me to create a user each time. I have tried the following:

ECHO Adding User "Dave"
net user Dave /add
net localgroup "administrators" Dave /add
net localgroup "users" Dave /delete
net user administrator /active:no
ECHO.

REGEDIT /S %systemdrive%\Install\user.reg

Thats in my main_batch.bat file

and I also have

Windows Registry Editor Version 5.00

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

In user.reg file.

What I dont get is that the batch files are executed AFTER the Welcome to Windows screen so how does it work? When I ran the code above it gave errors saying the user already existed, well thats obvious as I had to make it to get past the screen..then the batch files ran?

As you might tell im just a little confused right now :)

Link to comment
Share on other sites


I have OemSkipWelcome in my winnt.sif, but the welcome window still pops up, and asks me if I want to activate the window xp...

any other way to avoid the the welcome window screen???

[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=20
   OemSkipWelcome=1

Link to comment
Share on other sites

For the time being i would be inclined to remove both of those other sections as they may be interfering with the [GuiUnattended] section.

This does work and you have correct settings in there, i think you need to find out why it dosn't work instead of trying to get around it with the other two sections.

I know this may sound strange but just check that you havent got any trailing spaces on the end of each line, especially the OemSkipWelcome=1 bit.

Also can you post your complete winnt.sif file.

Link to comment
Share on other sites

Paul, thanks 4 ur help. :)

I think I figure what my problem is...

here is my winnt.sif:

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   TargetPath=\WINDOWS
   Repartition=No
   OemPreinstall=Yes
?@UnattendSwitch="no"
 WaitForReboot="No"
 AutoActivate=No
 

[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=20
   OemSkipWelcome=1

I think that I should change"UnattendSwitch="no" to "yes". check out the following informations:

UnattendSwitch="no"

Specifies whether Setup skips Windows Welcome or Mini-Setup when preinstalling Windows XP Home Edition or Windows XP Professional using the CD Boot method. IMPORTANT: If you choose Yes then the registry tweaks that are based on HKEY_CURRENT_USER and the Windows XP Powertoys will only apply for the default Administrator account. They will not exist when you create your own new user account afterwards. Choose No so you can enter a new username at the Windows Welcome screen so it logs you in with your own account before GuiRunOnce processes the batch to install your favourite applications, tweaks etc.

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