Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

WinRE Installation fails if WinRE has been previously installed


View products that this article applies to.

Symptoms

When using the reagentc.exe tool to enable WinRE on a system which has previously had WinRE enabled, it fails with 0xc0000005 ACCESS_DENIED error. Normally, when you encounter this error you may run reagentc /disable to uninstall WinRE, however disable will also fail in some scenarios where the BCD store has been replaced or destroyed, or does not contain the original WinRE entries.

For example, this can occur in multi-disk configurations, or if the BCD store has been repaired. If reagentc.exe /disable succeeds, a subsequent enable command should also succeed.

↑ Back to the top


Cause

Reagentc.exe /enable encounters the error trying to replace the existing boot.sdi file from the previous install. 

Normally, you use the reagentc.exe /disable command to uninstall WinRE in this scenario. The reagentc.exe /disable command looks at the BCD store to determine where the boot.sdi file was installed to, and will remove it. However, in scenarios where the BCD store is no longer intact, the command cannot locate boot.sdi and will fail.

↑ Back to the top


Resolution

Depending on configuration, the winre recovery folder may be located on a different volume.

Delete the \recovery\winre\boot.sdi from the previous WinRE installation.

Reagentc.exe /enable command will now succeed. Please reference WinRE documentation for further information on reagentc.exe.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2759102
Revision : 1
Created on : 1/7/2017
Published on : 9/25/2012
Exists online : False
Views : 395