Jump to content

Problem with starting GuiUnattended


Jaf

Recommended Posts

Ok I have the following problem, after windows (unattended) install is complete

Windows is starting up for the first time

then my (GuiUnattended) should come up

it does not start untill I restart windows

so what is wrong with the

winnt.sif (I think nothing since it's done)

netpc.cmd (witch starts with GuiUnattended)

please help me out here it drives me nuts :)

winnt.sif

;SetupMgrTag
[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"
   AutomaticUpdates = 1

[Unattended]
   UnattendMode=FullUnattended
   Filesystem=*
   OemSkipEula=Yes
   OemPreinstall=Yes
   UnattendSwitch="yes"
   WaitForReboot="No"
   OemPnPDriversPath="drivers\000_IntelINF;drivers\001_Lan;Drivers\Audio\ALC850"
   DriverSigningPolicy=Ignore
   TargetPath=\WINDOWS
   AutoActivate = Yes

[GuiUnattended]
   AdminPassword="password"
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=110
   OemSkipWelcome=1

[UserData]
   ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
   FullName="My Name"
   OrgName="orgname"
   ComputerName=Netpc

[Display]
   BitsPerPel=32
   Xresolution=1024
   YResolution=768
   Vrefresh=75

[RegionalSettings]
   LanguageGroup=1
   Language=00000409

[Identification]
   JoinWorkgroup=MSHOME

[Networking]
   InstallDefaultComponents=Yes

[Branding]
   BrandIEUsingUnattended=Yes

[URL]
   Home_Page = http://www.somesite.nl/
   Search_Page = http://www.google.com/

[Components]
   msmsgs=off
   msnexplr=off
   freecell=off
   hearts=off
   minesweeper=off
   pinball=off
   solitaire=off
   spider=off
   zonegames=off
   fax=off

[GuiRunOnce]
%systemdrive%\Install\netpc.cmd

Netpc.cmd

cmdow @ /HID
@Echo Off

rem PP=%SystemDrive%\Install\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Unattended Add-Ons Installation" /f

REG ADD %KEY%\000 /VE /D "ATI 9200SE Graphics Adapter" /f
REG ADD %KEY%\000 /V 1 /D "%SystemDrive%\Install\ati\setup.exe -K" /f

REG ADD %KEY%\001 /VE /D "Windows MediaPlayer 10" /f
REG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\wmp10\MP10Setup.exe /Q:A /R:N /C:\"setup_wm.exe /DisallowSystemRestore /Q:A /R:N\"" /f

REG ADD %KEY%\002 /VE /D "Explorer Favorites" /f
REG ADD %KEY%\002 /V 1 /D "%SystemDrive%\Install\Favnetpc.exe" /f

REG ADD %KEY%\003 /VE /D "WinRar 3.40 Corp" /f
REG ADD %KEY%\003 /V 1 /D "%SystemDrive%\Install\wrar340.exe /s" /f

REG ADD %KEY%\004 /VE /D "Cleaning Up Temp Files and Reboot" /f
REG ADD %KEY%\004 /V 1 /D "%SystemDrive%\Install\cleanup.cmd" /f

EXIT

if more info is needed let me know

Link to comment
Share on other sites


Hi Jaf,

I think that is what is supposed to happen, it installs only after another restart.

your best bet is to take the GuiRunOnce line out of your winnt.sif and add it to your cmdlines.txt in the $OEM$ folder. best is to put the Netpc.cmd in the $OEM$ folder too. call it up like this

cmdlines.txt

[COMMANDS]
"users.cmd"
"Netpc.cmd"

Link to comment
Share on other sites

@BritishBulldog

thanks let's say that works, then I will have another problem

I slipstreamed 1 xppro and I have 3 pc's that I like to install with it

and those pc's need different addons (like utils)

all I did now was call on a different GuiUnattended .cmd file.

and thought that should do the trick or is there another way to do that?

Link to comment
Share on other sites

@BritishBulldog

you are right about the cmdlines.txt and about that other workaround it does work to.

But it will not leave it unattended so I guess I have to try to make my own work around with some scripting.

Anyway it did gave me some ideas for creating something myself.

thanks again for your sharing.

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