weedy171 Posted March 17, 2008 Posted March 17, 2008 Is their a way to reboot the PE Enviroment after I ghost a computer. I have the RB switch in ghost but I think it restarts the ghost windows and not PE. strTaskValue = Chr(34) & "%programfiles%\Ghost8\ghost32.exe" & Chr(34) & " -clone,mode=load,src=" & Chr(34) & Radio.Id & ".gho" & Chr(34) & ",dst=1,SZEF -fni -auto -sure -ntil -RB"
WreX Posted March 17, 2008 Posted March 17, 2008 You can even use WMI in VBScript if you want to over-complicate things. Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate,(Shutdown)}!\\.\root\cimv2")Set colWinVers = objWMIService.ExecQuery("Select * from Win32_OperatingSystem")For Each objWinVer in colWinVers objWinVer.Reboot()Next
lucas*z Posted April 8, 2008 Posted April 8, 2008 (edited) Is their a way to reboot the PE Enviroment after I ghost a computer. I have the RB switch in ghost but I think it restarts the ghost windows and not PE. strTaskValue = Chr(34) & "%programfiles%\Ghost8\ghost32.exe" & Chr(34) & " -clone,mode=load,src=" & Chr(34) & Radio.Id & ".gho" & Chr(34) & ",dst=1,SZEF -fni -auto -sure -ntil -RB"here, modify -RB to -FX. Edited April 8, 2008 by lucas*z
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now