Microsoft KB Archive/276239

= Unable to Recover Encrypted Files After the Domain Controller Is Demoted =

Article ID: 276239

Article Last Modified on 3/1/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Advanced Server, Limited Edition
 * Microsoft Windows 2000 Datacenter Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Server

-



This article was previously published under Q276239



SYMPTOMS
When a Windows-based computer that is a domain controller is demoted to a member server by using the Active Directory Installation wizard (Dcpromo.exe), you are unable to recover Encrypting File System (EFS)-encrypted documents.



CAUSE
This issue can occur because the private key for the recovery agent for the local EFS-encrypted documents is lost during the demotion when the Security Accounts Manager (SAM) is recreated on that computer. You are unable to recover encrypted documents on this computer unless the recovery agent is changed to an existing domain account before encryption.



RESOLUTION
To resolve this issue, use either of the following methods:
 * If you have previously exported the recovery agent's certificate, including the private key, reimport it.

-or-
 * Follow these steps:


 * Decrypt all documents on the local computer. If there are files that were encrypted by a different user account, they can only be decrypted when you log on as that user.
 * Log on as an administrator.
 * Start the Certificates snap-in, and then request a new personal certificate that is suitable to use with EFS.
 * Start the Local Security Policy snap-in, remove the administrator, and then reassign it as the system recovery agent.
 * Reencrypt all of the documents.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: encrypting file system ca authority dc

Keywords: kbbug kbdcpromo kbefs kbnofix KB276239

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.