Jump to content

How to use WinPe for Network Unattend Install?


Recommended Posts

Posted

In one form or another I use the following to reboot PE from both HTA's and VBS'

Mike

Do'Reboot PC.  Close Up to 5 open CMD windows
 Do While Counter < 5
Counter = Counter + 1
If Counter = 6 Then
  Check = False
Exit Do
End If
WshShell.AppActivate "cmd"
WshShell.sendkeys "exit"
WshShell.sendkeys "~"
  Loop
Loop Until Check = False


Posted

Another option to this is PEShutdown.exe, use google to find it, then write a script that will call it. It also has a reboot switch to which is useful, for example when I install windows, I do it from a script with the "START /wait" command, then the next line in the batch will not execute until the preceeding line is complete. Just a suggestion.

Posted
yea start /wait is the shiz! i love that... i think "start /wait", "if", and "set" are the most usefull commands(imo)

I use an AutoIt Script that terminates all *.cmd windows, this forces a reboot.

Posted

Hi,

Been following this thread and i have mine reboot but then it goes into windows XP profession Setup window. I thought it should just go through with the setup but its asking me what partition to install and then it errors out with setup was unable to verify drive c:.

Your computer may not have enough memory to examine the drives, or your windows xp cd may contain some corrupted files.

why is this happening?

please help

TIA

  • 3 weeks later...
Posted

I am suffering from the same problem as crossgrid stated above. I am assuming that having the partition selected in the text setup is a winnt.sif thing. I am just wondering if the error message is in result of VMWare settings, or if the install is corrupt.

Just for reference

Winnt.sif

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

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   TargetPath=\WINDOWS
   UnattendSwitch="Yes"
   WaitForReboot="No"
   FileSystem=*
   OemPnPDriversPath="Drivers\L\R\1;Drivers\S\C;Drivers\U\V2_0;Drivers\M\763;Drivers\G\9500"
   DriverSigningPolicy=Ignore
   NonDriverSigningPolicy=Ignore
   ProgramFilesDir="D:"
   CommonProgramFilesDir="D:\Common"

[SystemFileProtection]
   SFCQuota = 0

[GuiUnattended]
   AdminPassword="**********"
   EncryptedAdminPassword=NO
   AutoLogon=Yes
   AutoLogonCount=1
   OEMSkipRegional=1
   TimeZone=35
   OemSkipWelcome=1
   ProfilesDir="E:"
   
[UserData]
   ProductID=***************************
   FullName="Samus Aran"
   OrgName="Organization"
   ComputerName=MINERVA

[Display]
   BitsPerPel=32
   Xresolution=1280
   YResolution=1024
   Vrefresh=60
   AutoConfirm=1
   ConfigureAtLogon=1

[Branding]
   BrandIEUsingUnattended=Yes

[Proxy]
   Proxy_Enable=0
   Use_Same_Proxy=1

[GuiRunOnce]

[Identification]
   JoinWorkgroup=HIVE001

[Networking]
   InstallDefaultComponents=Yes

TIA

:D

Posted

It's prompting for what partition to install to because your Unattend file is telling it to. :)

Change this:

[Data]
  AutoPartition=0

to this:

[Data]
  AutoPartition=1

And it will stop asking you questions.

Hey Edge -- Why are you manually starting services for Diskpart?

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