weedy171 Posted March 17, 2008 Share 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" Link to comment Share on other sites More sharing options...
killerb255 Posted March 17, 2008 Share Posted March 17, 2008 The command exit. Link to comment Share on other sites More sharing options...
zorphnog Posted March 17, 2008 Share Posted March 17, 2008 wpeutil reboot Link to comment Share on other sites More sharing options...
WreX Posted March 17, 2008 Share 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 Link to comment Share on other sites More sharing options...
lucas*z Posted April 8, 2008 Share 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 Link to comment Share on other sites More sharing options...
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