mbouchard Posted September 30, 2004 Posted September 30, 2004 In one form or another I use the following to reboot PE from both HTA's and VBS'MikeDo'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 "~" LoopLoop Until Check = False
Jotnar Posted September 30, 2004 Posted September 30, 2004 You could also you pskill or something similar and kill the command window.Cheers
likuidkewl Posted September 30, 2004 Posted September 30, 2004 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.
genmud Posted October 1, 2004 Posted October 1, 2004 yea start /wait is the shiz! i love that... i think "start /wait", "if", and "set" are the most usefull commands(imo)
Metzen Posted October 4, 2004 Posted October 4, 2004 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.
crossgrid Posted October 4, 2004 Posted October 4, 2004 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 helpTIA
KMFM$ Posted October 22, 2004 Posted October 22, 2004 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 referenceWinnt.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=YesTIA
ribond Posted October 23, 2004 Posted October 23, 2004 It's prompting for what partition to install to because your Unattend file is telling it to. Change this:[Data] AutoPartition=0to this:[Data] AutoPartition=1And it will stop asking you questions.Hey Edge -- Why are you manually starting services for Diskpart?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now