To stop the dagent from restart a machine in a WinPE PXE 2.1 environment when trying to manually run the rdeploy imaging engine.
· Create a WinPE 2.1 PXE boot environment
· Add the two Windows executables
o Shutdown.exe
o Taskkill.exe
· Add the extra script command to the “startup.bat”
o Call a custom script to map extra drives if required
o Stop the dagent.exe
o Stop the dagentui.exe
o Call the Rdeploy.exe imaging engine
o Add the reboot machine command to run after rdeploy.exe has finished
example
use :-
REM run a password vbs script to continue here (if its required)
net use v: \\\server1\share
x:\taskkill /F /IM dagent.exe
x:\taskkill ?f /IM dagentui.exe
x:\start /wait v:\rdeploy.exe
x:\shutdown /r /f /t /0
That should stop the reboot and run up rdeploy ( or whatever menu system you want), and after you finished - it reboots.
Thanks to all who helped.
Regards
John