I got an Hyper-v core box and I need to turn automatic restart on. How can I do that?
Asked
Active
Viewed 2,808 times
1 Answers
6
The configuration is held in the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl\AutoReboot
With a setting of either 1 (AutoReboot on) or 0 (AutoReboot off)
The following command should enable it:
reg add HKLM\System\CurrentControlSet\Control\CrashControl\ /v AutoReboot /t REG_DWORD /d 1