Microsoft KB Archive/243035

= How To Disable/Enable EFS on a Stand-Alone Windows 2000-Based Computer =

Article ID: 243035

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q243035





IN THIS TASK
SUMMARY
 * Backing Up the Recovery Agent's Certificate
 * Disabling EFS
 * Enabling EFS After Disabling It



SUMMARY
This article describes how to disable and enable the Encrypting File System (EFS) on Windows 2000-based computers that are not members of a Windows 2000-based domain. EFS is designed to work only when a recovery agent is available before a file can be encrypted. By default, the local Administrator account is used as the designated recovery agent for stand-alone Windows 2000-based computers.

NOTE: You must repeat the steps to disable EFS if you install or reinstall Windows 2000 on a computer. WARNING: Microsoft strongly recommends that you decrypt any encrypted files on your computer before following this procedure. If you do not first decrypt the files, you are unable to recover them after performing this procedure. If you do not first back up the recovery agent's certificate (using the following steps), you must reinstall Windows 2000 if you want to re-enable EFS in the future.

back to the top

Backing Up the Recovery Agent's Certificate

 * 1) Log on to your computer using the local Administrator account.

NOTE: You must use the built-in Administrator account, not just an account with administrator privileges.
 * 1) Click Start, click Run, type secpol.msc, and then click OK.
 * 2) Click the plus sign (+) next to Public Key Policies to expand it.
 * 3) Click the Encrypted Data Recovery Agents category.
 * 4) In the right pane, a certificate that is issued to "Administrator" with an intended purpose of "file recovery" is displayed. Right-click this item, and then click All tasks > export.
 * 5) Click Next.
 * 6) Make sure that the No, do not export the private key option is selected, and then click Next.
 * 7) In the Export File Format box, make sure that the DER Encoded Binary X.509 (.CER) option is selected.
 * 8) Click Next.
 * 9) When you are prompted to save the certificate to a file, back up the file to a disk or removable media device, and then store the backup in a location where physical security of the backup is ensured. Type an appropriate file name, and then click Next.
 * 10) When the Completing the Certificate Export Wizard dialog box is displayed, verify the options that you selected, and then click Finish.
 * 11) When the The export was successful dialog box is displayed, click OK.

back to the top

Disabling EFS

 * 1) Log on to your computer using the local Administrator account.

NOTE: You must use the built-in Administrator account, not just an account with administrator privileges.
 * 1) Click Start, click Run, type secpol.msc, and then click OK.
 * 2) Click the plus sign (+) next to Public Key Policies to expand it.
 * 3) Click the Encrypted Data Recovery Agents category.
 * 4) In the right pane, a certificate that is issued to "Administrator" with an intended purpose of "file recovery" is displayed. Right-click this item, and then click Delete.
 * 5) At the Permanently delete the selected certificate? prompt, click Yes.
 * 6) Close the Microsoft Management Console (MMC) window.
 * 7) Restart your computer for the change to take effect.

back to the top

Enabling EFS After Disabling It

 * 1) Log on to your computer using the local Administrator account.

NOTE: You must use the built-in Administrator account, not just an account with administrator privileges. If you did not previously back up the certificate using the steps in this article, you must reinstall Windows 2000 to re-enable EFS.
 * 1) Click Start, click Run, type secpol.msc, and then click OK.
 * 2) Click the plus sign (+) next to Public Key Policies to expand it.
 * 3) Right-click the Encrypted Data Recovery Agents category, and then click Add.
 * 4) In the Welcome to the Add Recovery Agent Wizard dialog box, click Next.
 * 5) Click Browse Folders.
 * 6) In the Open dialog box, locate and click the certificate you previously exported, and then click Open.

NOTE: At this point the certificate is imported, but is displayed as "USER_UNKNOWN" for the user. The Certificates value displays "OU= EFS File Encryption..."
 * 1) Click Next, and then click Finish. When you receive the "The certificate cannot be validated" message, click OK to continue. Note that the Administrator account is now the recovery agent. EFS is now re-enabled on your computer.

back to the top

Keywords: kbefs kbenv kbhowtomaster KB243035

-

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

© Microsoft Corporation. All rights reserved.