Disable Windows Error Recovery

Sometimes I find that one of my Windows VMs isn’t pinging the morning after I have released security updates. I have a look at the console of the VM and it looks like this:
System Recovery Options

What causes Windows to boot into the Recovery Environment? It happens if the previous boot failed. You actually get a boot menu before this, which looks like the following:
Windows Error Recovery countdown

As you can see, the Launch Startup Repair option is the default, and thus you end up with the server (or PC) not booting properly. If you follow through the repair process Windows can do a rollback to a system recovery point prior to when the machine was joined to your domain, which is fun. That’s less likely on servers than PCs, but it’s annoying that the server sits at the recovery screen. Invariably when I click Cancel and reboot the server it boots up fine, thus I am going to disable this functionality by issuing the following command on all my servers (and possibly go on to do all the PCs too):

reagentc /disable

Now they’ll just complain that they failed to boot but retry a normal boot:
Windows Error Recovery Start Windows Normally

Note that the reagent.exe utility is only available on Windows Server 2008 R2 and higher.

This entry was posted in Windows and tagged , , , , , , . Bookmark the permalink.

One Response to Disable Windows Error Recovery

  1. Grateful Reader says:

    Thank you very much for taking the time to post this information. Your page comes up #9 when Googling ‘remove windows 2008 boot menu “launch startup repair”‘. Your page was exactly what I was looking for. Your explanation and screenshots were a real bonus.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.