4

I got an Hyper-v core box and I need to turn automatic restart on. How can I do that?

1 Answers1

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
newmanth
  • 3,953
Nobody
  • 15,510