I need to reboot a VM started in the recovery site.
So in this VM i've insetreted a POST POWER ON STEP, type COMMAND ON RECOVERED VM and the content is:
shutdown /r /t 5 /f
The syntax of the command is correct, I've tested it! But when I run the test of the recovery plan I get:
Error - The command 'shutdown /r /t 5 /f ' returned a non-zero value: 21.
Any idea?
Hello vmb01,
this should work:
C:\Windows\System32\shutdown.exe /r /t 5 /f || exit 0
Regards,
P.
Hi
Welcome to communities.
Could you please update little more error from event log after execution of the command. .
Hello vmb01,
this should work:
C:\Windows\System32\shutdown.exe /r /t 5 /f || exit 0
Regards,
P.