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


The configuration is held in the following registry key:


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
  • 4
    I 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 3 '11 at 16:35
  • I need to move guest OSes from a distance. Then I'll take care about BSOD. – Nime Cloud Nov 3 '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 3 '11 at 21:26
  • It's "Always ON" & tested. Thanks. – Nime Cloud Nov 4 '11 at 7:15
  • @newmanth - Good catch, thanks. That was a Google job! – Dan Nov 19 '11 at 20:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.