Microsoft KB Archive/937536

= Error message when client computers encrypt a file in a Windows Server 2003 domain: “Recovery policy configured for this system contains invalid recovery certificate” =

Article ID: 937536

Article Last Modified on 10/29/2007

-

APPLIES TO


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

-



SYMPTOMS
When a client computer uses the Encrypting File System (EFS) to encrypt a file that is stored on a remote computer in a Microsoft Windows Server 2003 domain, you may receive an error message on the computer that resembles the following:

Recovery policy configured for this system contains invalid recovery certificate.



CAUSE
This problem occurs if the EFS recovery policy that is implemented on the client computer contains one or more EFS recovery agent certificates that have expired. Client computers cannot encrypt any new documents until a valid recovery agent certificate is available.



RESOLUTION
To resolve this problem, follow these steps:  Log on to a domain controller by using the user account under which you want the EFS recovery agent to run. Use the Windows Server 2003 version of the Cipher tool together with the /r switch to create a new self-signed file recovery certificate and a private key. The Cipher tool generates a new public file recovery certificate (a .cer file) and a .pfx file. Make copies of these files, and then save them to a safe location. To generate the new file recovery certificate, follow these steps:  Click Start, click Run, type cmd, and then click OK. At the command prompt, type cipher /r:, and then press ENTER.

Note  represents the file name that you want to use. Use a file name that is meaningful to you. Do not add an extension to the file name. Make sure that the new .cer and .pfx files are created in the same folder. When you are prompted for a password to protect the .pfx file, type a password that you will easily remember.  Export the old EFS recovery agent certificate. To do this, follow these steps:  Log on to the domain controller by using an account that has Domain administrative credentials. Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.</li> Right-click  , and then click Properties.</li> Click the Group Policy tab, click the Default Domain Policy Group Policy object (GPO), and then click Edit.</li> Expand Computer Configuration, expand Windows Settings, Expand Security Settings, expand Public Key Policies, and then click Encrypting File System.</li> Right-click the current EFS recovery agent certificate, point to All Tasks, and then click Export.</li> Follow the instructions in the Certificate Export Wizard to export the old EFS recovery agent certificate.

Note Make sure that you export the old EFS recovery agent certificate together with the private key to a .cer file. Keep the new EFS recovery agent .pfx file and the old EFS recovery agent .pfx file in a safe location.</li></ol> </li> Right-click the old EFS recovery agent certificate, click Delete, and then click Yes.</li> Log on to the domain controller by using an account that has Domain administrative credentials, and then import the new EFS recovery agent certificate. To do this, follow these steps:  Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.</li> Right-click Domain_name, and then click Properties.</li> Click the Group Policy tab, click the Default Domain Policy GPO, and then click Edit.</li> Expand Computer Configuration, expand Windows Settings, expand Security Settings, expand Public Key Policies, and then click Encrypting File System.</li> Right-click the Encrypting File System folder, and then click Add.</li> <li>Click Next on the Add Recovery Agent Wizard, and then click Browse Folders.</li> <li>Import the new .cer file that you created in step 2b, and then click Open.</li></ol>

Note When you open the .cer file, you see USER_UNKNOWN in the Recovery Agents field. This message is expected. Also, you receive a warning message from the Add Recovery Agent Wizard that the certificate is not trusted.</li> <li>Import the new .cer file that you created in step 2b to the following folder:

Computer Configuration\Windows Settings\Security Settings\Public Key Policies\Trusted Root Certification Authorities

</li> <li>If you have multiple domain controllers, type gpupdate /force at a command prompt to update the Group Policy.</li> <li>Verify that client computers can successfully encrypt files.</li></ol>

Keywords: kberrmsg kbtshoot kbexpertiseadvanced kbprb KB937536

-

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

© Microsoft Corporation. All rights reserved.