I got an Hyper-v core box and I need to turn automatic restart on. How can I do that?
Asked
Active
Viewed 2,691 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
-
4I would add to this that if you're having crashes often enough that you want to turn this on you have **more serious problems** than the fact that your system isn't rebooting itself after a crash. Find and fix the problem that is causing your crash! – voretaq7 Nov 03 '11 at 16:35
-
I need to move guest OSes from a distance. Then I'll take care about BSOD. – Nime Cloud Nov 03 '11 at 17:19
-
Look in the BIOS settings as well - your server needs to know to turn on after a power failure. – dunxd Nov 03 '11 at 21:26
-
It's "Always ON" & tested. Thanks. – Nime Cloud Nov 04 '11 at 07:15
-
@newmanth - Good catch, thanks. That was a Google job! – Dan Nov 19 '11 at 20:03