Knowledge Center

How to disable Windows 8 Automatic Repair via a login script
Technical Articles ID:   KB76649
Last Modified:  11/7/2017


McAfee Drive Encryption (DE) 7.1
McAfee Endpoint Encryption for PC (EEPC) 7.0.x
Microsoft Windows 8


This article provides guidance on how the multiple Windows 8 recovery tools can impact the normal interaction of these tools with the operating system when McAfee EEPC or DE is installed.
This article will be updated as McAfee researches solutions or workarounds for potential issues arising with the usage of these tools.


The Windows 8 operating system contains a feature called Automatic Repair. If this feature is run on a system where the data on the hard-disk is encrypted, it will inadvertently destroy the encrypted operating system files and cause permanent boot problems.

NOTE: In previous releases of Windows, the user was asked whether they wanted to repair the system before starting the repair. However, on Windows 8 it will launch into Automatic Repair immediately when a problem is detected. It does not allow the user to cancel the action, leaving little scope to prevent destruction of encrypted data.


Administrators should use the following steps to disable this Windows 8 feature via a login script:

  1. From this article, detach disableautorecovery.zip.
  2. Extract from the above file disableautorecovery.ps1.
  3. Open Administrative Tools and select Group Policy Management.
  4. Select the Default Domain Policy (or a suitably customized policy you are using for your domain computers).
  5. Right-click and select Edit.
  6. Click Computer Configuration, Policies, Windows Settings, Scripts (Startup/Shutdown).
  7. Double-click Start-up and select PowerShell Scripts.
  8. Click Add and browse to the location where you saved disableautorecovery.ps1.
  9. The policy will be propagated to your computers within 90-120 minutes, as per the Windows default setting.


221Bytes • < 1 minute @ broadband


The content of this article originated in English. If there are differences between the English content and its translation, the English content is always the most accurate. Some of this content has been provided using Machine Translation translated by Microsoft.

Rate this document

Did this article resolve your issue?

Please provide any comments below

Beta Translate with

Select a desired language below to translate this page.

Glossary of Technical Terms

 Highlight Glossary Terms

Please take a moment to browse our Glossary of Technical Terms.