| Tasks |
Detailed Steps
|
|---|
- Log on to the network as Administrator with a password of password.
|
- Log on to the network by using the following credentials:
- Log on to: domain (where domain is the NetBIOS name of your domain)
|
- Open an MMC console with the Certificates console focused on the current user account.
|
- On the Start menu, click Run, type mmc and then click OK.
- On the Console menu, click Add/Remove Snap-in.
- In the Add/Remove Snap-in dialog box, click Add.
- In the Add Standalone Snap-in dialog box, click Certificates, and then click Add.
- In the Certificates snap-in dialog box, click My user account, and then click Finish.
- Click Close.
- Click OK.
|
- Navigate to the Personal Certificates for the Administrator account.
|
- In the console tree, expand Certificates - Current User.
- In the console tree, expand Personal.
- In the console tree, select Certificates.
In the details pane, you should see all certificates that have been assigned to the Administrator account.
|
 |
Why does the Administrator account at only one domain controller have File Recovery certificates?
Answer The Administrator account on the first domain controller installed in a domain is the initial EFS recovery agent for the domain. Only the Administrator account at the initial domain controller installed in a domain holds the private key for the EFS recovery agent. |
|
| Tasks |
Detailed Steps |
Which domain controller was the first to be installed in your domain?
Answer The computer name of the domain controller that holds the File Recovery certificates. |
 | Important: The following procedure must be performed at the initial domain controller installed in your domain. |
|
- Export the file recovery key with the three-year life span. Ensure that strong protection is enabled.
|
- In the details pane, select the File Recovery certificate with an expiration date three years in the future.
- Right-click the File Recovery key, point to All Tasks, and then click Export.
- In the Certificate Export wizard, click Next.
- On the Export Private key page, click Yes, export the private key, and then click Next.
- On the Export File Format page, ensure that the Enable the strong protection (requires IE 5.0, NT 4.0 SP4 or above) check box is selected, and then click Next.
- On the Password page, type password in both the Password and Confirm password boxes, and then click Next.
- On the File to Export page, type c:\export.pfx in the File name box, and then click Next.
- Click Finish to complete the wizard.
- Click OK to confirm the export.
- Close all open windows without saving changes and log off the network.
|
 | Important: The following procedure must be performed at the second domain controller installed in your domain. |
|
| Tasks |
Detailed Steps
|
|---|
- Import the file recovery key into your Personal certificate store. Use password as the password for the private key.
|
- In the console tree, right-click Personal, point to All Tasks, and then click Import.
- In the Certificate Import wizard, click Next.
- On the File to Import page, type \\partner\c$\export.pfx (where partner is the NetBIOS name of your partner's computer), and then click Next.
- On the Password page, in the Password box, type password, select the Mark the private key as exportable check box, and then click Next.
- On the Certificate Store page, ensure that the option is set to Place all certificates in the following store and that the Certificate Store box indicates the Personal store, and then click Next.
- Click Finish.
- In the Certificate Import Wizard message box, click OK.
The File Recovery certificate will now appear in the Personal certificate listing.
- Close all open windows without saving changes and log off the network.
|
| Tasks |
Detailed Steps
|
|---|
 | Important: The following procedure must be performed on both partner computers. |
|
- Log on to the network as EFScomputer (where computer is the NetBIOS name of your computer) with a password of password.
|
- Log on to the network by using the following credentials:
- User name: EFScomputer (where computer is the NetBIOS name your computer)
- Password: password
- Log on to: domain (where domain is the NetBIOS name of your domain)
|
- Enable the Encrypting Files System on the EFS folder and all contents.
|
- Change the current folder to c:\.
- Right-click the EFS folder, and then click Properties.
- In the EFS Properties dialog box, click Advanced.
- In the Advanced Attributes dialog box, click Encrypt contents to secure data, and then click OK.
- Click OK.
|
- In the folder named c:\efs, create a WordPad document named Secret. Include the text This is a secret!! in the document.
|
- Open the Efs folder.
- Right-click in the EFS window, point to New, and then click WordPad Document.
- In the document name box, type Secret
- Double-click Secret.
- In the document, type This is a secret!!
- Close the file and save any changes.
|
 | Is the Secret file encrypted? Why or why not?
| Answer Yes. Because the Secret file is created in a folder that has encryption enabled, the Secret file is encrypted by default. |
|
- (continued)
|
- Close the EFS window.
- Close all open windows and log off the network.
|
| Tasks |
Detailed Steps
|
|---|
- Log on to the network as the Administrator of your domain with a password of password.
|
- Log on to the network by using the following credentials:
- User name: Administrator
- Password: password
- Log on to: domain (where domain is the NetBIOS name of your domain)
|
- Delete the user account EFScomputer (where computer is the NetBIOS name of your computer) in the EFS OU.
|
- Start Active Directory Users and Computers in the Administrative Tools menu.
- In the console tree, expand domain.nwtraders.msft (where domain is the NetBIOS name of your domain).
- In the console tree, select EFS.
- In the details pane, right-click EFScomputer, (where computer is the NetBIOS name of your computer), and then click Delete.
- In the Active Directory message box, click Yes.
- Close Active Directory Users and Computers.
|
| Tasks |
Detailed Steps
|
|---|
 | Important: The following procedure must be performed on both partner computers. |
|
- Attempt to open the c:\Efs\Secret file by using the Administrator credentials.
|
- On the desktop, double-click My Computer.
- In the My Computer window, double-click Local Disk (C:)
- In the Local Disk (C:) window, double-click Efs.
- Double-click Secret.
- Close all windows without saving changes.
|
 | Can you open the Secret file?
| Answer Yes. Both Administrator profiles have the EFS file recovery certificate in their personal stores. |
|
 | What security risk exists in having the Administrator account as the default recovery agent?
| Answer Anyone logged on with the Administrator account would be able to read any encrypted files in the domain. The best practice would be to export the recovery certificate and only attach it to an account when it is required for use. |
|
| Tasks |
Detailed Steps
|
|---|
 | Important: The following procedure must be performed on both partner computers. |
|
- Open an MMC console with the Certificates console focused on the current user account.
|
- On the Start menu, click Run, type mmc and then click OK.
- On the Console menu, click Add/Remove Snap-in.
- In the Add/Remove Snap-in dialog box, click Add.
- In the Add Standalone Snap-in dialog box, select Certificates, and then click Add.
- In the Certificates Snap-in dialog box, click My user account, and then click Finish.
- Click Close.
- Click OK.
|
- Navigate to the Personal Certificates for the Administrator account.
|
- In the console tree, expand Certificates - Current User.
- In the console tree, expand Personal.
- In the console tree, select Certificates.
In the details pane, you should see all certificates that have been assigned to the Administrator account.
|
 | Note: Although the EFS recovery key was already exported on the first domain controller in the domain, the private key for the EFS recovery key was not deleted from the Administrator store. This process will export and remove the EFS private recovery key. |
|
| Tasks |
Detailed Steps
|
|---|
- Export the file recovery key. Ensure that strong protection is enabled and that the private key is deleted if the export is successful.
|
- In the details pane, select the File Recovery certificate with an expiration date three years in the future.
- Right-click the File Recovery key, point to All Tasks, and then click Export.
- In the Certificate Export wizard, click Next.
- On the Export Private key page, click Yes, export the private key, and then click Next.
- On the Export File Format page, select the Enable the strong protection (requires IE 5.0, NT 4.0 SP4 or above) check box and the Delete the private key if the export is successful check box, and then click Next.
- On the Password page, type password in both the Password and Confirm password boxes, and then click Next.
- On the File to Export page, type c:\recovery.pfx in the File name box, and then click Next.
- Click Finish to complete the wizard.
- Click OK to confirm the successful export.
|
 | For increased security, what would you normally do with the file containing the exported recovery key?
| Answer For the best security, the recovery key would be saved to a floppy disk (or multiple floppy disks) and stored in a limited access safe on-site. |
|
 | If the file containing the exported recovery key is lost, can you recover EFS-encrypted files?
| Answer Only by using the user account that was originally used to encrypt the file. The export process removes the private key from the Administrator's Personal certificate store and therefore the private key can no longer be exported. |
|
- Close the MMC console without saving changes.
|
- Close the MMC console.
- In the Microsoft Management Console dialog box, click No to not save changes.
|
| Tasks |
Detailed Steps
|
|---|
- Create a new user account named Recoverycomputer (where computer is the NetBIOS name of your computer) with a password of password.
|
- Open Active Directory Users and Computers in Administrative Tools.
- In the console tree, right-click Users, point to New, and then click User.
- In the First name box, type Recoverycomputer (where computer is the NetBIOS name of your computer).
- In the User logon name box, type Recoverycomputer (where computer is the NetBIOS name of your computer), and then click Next.
- In the Password and Confirm password boxes, type password and then click Next.
- Click Finish.
- Close Active Directory Users and Computers.
|
- Log on to the network by using the Recoverycomputer account with a password of password.
|
- From the Start menu, click Shut Down.
- From the Shut Down Windows dialog box, select Log off Administrator, and then click OK.
- Log on by using the following credentials:
- User name: Recoverycomputer (where computer is the NetBIOS name of your computer)
- Password: password
- Log on to: domain (where domain is the NetBIOS name of your domain)
|
- Attempt to open the c:\Efs\Secret file by using the Recoverycomputer credentials.
|
- On the desktop, double-click My Computer.
- In the My Computer window, double-click Local Disk (C:)
- In the Local Disk (C:) window, double-click Efs.
- Double-click Secret.
|
| Tasks |
Detailed Steps
|
|---|
 | Can you open the Secret file?
| Answer No. Currently, the Recoverycomputer account is not configured as a recovery agent for EFS-encrypted files. |
|
- (continued)
|
- Click OK to close the Access is denied message.
- Minimize the EFS window.
|
- Open an MMC console with the Certificates console focused on the current user account.
|
- From the Start menu, click Run, type mmc and then click OK.
- From the Console menu, click Add/Remove Snap-in.
- In the Add/Remove Snap-in dialog box, click Add.
- In the Add Standalone Snap-in dialog box, select Certificates, and then click Add.
- Click Close.
- Click OK.
|
- Navigate to the Personal Certificates for the Recoverycomputer account.
|
- In the console tree, expand Certificates - Current User.
- In the console tree, select Personal.
In the details pane, you should see that no certificates have yet been assigned to the Recoverycomputer account.
|
- Import the c:\recovery.pfx key into the Personal Certificates store.
|
- In the console tree, right-click Personal, point to All Tasks, and then click Import.
- In the Certificate Import wizard, click Next.
- On the Files to Import page, in the File name box, type c:\recovery.pfx and then click Next.
- On the Password page, in the Password box, type password, select the Mark the private key as exportable check box, and then click Next.
- On the Certificate Store page, ensure that the option is set to Place all certificates in the following store and that the Certificate Store box indicates the Personal store, and then click Next.
- Click Finish.
- In the Certificate Import Wizard message box, click OK.
- Close Console1 without saving changes.
|
- Reattempt to open the c:\Efs\Secret file.
|
- On the taskbar, click Efs to restore the EFS window.
- Double-click Secret.
|
| Tasks |
Detailed Steps
|
|---|
 | Can you view the contents of the Secret file?
| Answer Yes. The Recoverycomputer account is now configured as a recovery agent for the domain because it has the file recovery agent key in its private certificate store. |
|
 | What would be the next step in recovering the encrypted files?
| Answer It is recommended that all encrypted files have the encrypted attribute cleared so that other users can access the data. If encryption is required again, the designated user can then encrypt the file. |
|
 | Could the files be encrypted to allow a group of users to access the file?
| Answer No. Encryption keys are based on individual user accounts, not group accounts, in the current version of Windows 2000. |
|
 | What would be the final step in the recovery of the encrypted files?
| Answer The account used to recover the encrypted files should be deleted and the private key (.pfx) file should be returned to its secure location until it is required again. |
|
- (continued)
|
- Close all open windows and log off the network.
|