Note:Windows XP Home edition does not come with EFS. To secure or protect data with encryption on Windows XP Home, you will need to use a 3rd-party encryption software of some sort.
Protecting Data With EFS
To encrypt a file or folder, follow these steps:
- Right-click the file or folder
- Select Properties
- Click the Advanced button under the Attributes section
- Check the box next to "Encrypt contents to secure data"
- Click OK
- Click OK again on the file / folder Properties box
- An Encryption Warning dialogue box will appear. The message will vary depending on whether you are trying to encrypt just a file or an entire folder:
- For a file, the message will provide two choices:
- Encrypt the file and the parent folder
- Encrypt the file only
- Note: There is also an option to check to Always encrypt only the file for all future file encryption actions. If you check this box, this message box will not appear for future file encryptions. Unless you are sure of that choice however, I recommend you leave this box unchecked
- For a folder, the message will provide two choices:
- Apply changes to this folder only
- Apply changes to this folder, subfolders and files
- For a file, the message will provide two choices:
- After making your selection, click OK and you are done.
If you later wish to unencrypt the file so that others may access and view it, you can do so by following the same first three steps from above and then uncheck the box next to "Encrypt contents to secure data".
Click OK to close the Advanced Attributes box and OK again to close the Properties box and the file will again be unencrypted.
Backing Up Your EFS Key
Once a file or folder is encrypted with EFS, only the private EFS key of the user account that encrypted it will be able to unencrypt it. If something happens to the computer system and the encryption certificate or key are lost, the data will be irrecoverable.
To ensure your continued access to your own encrypted files, you should perform the following steps to export the EFS certificate and private key and store it on a floppy disk, CD or DVD for future reference.
- Click Start
- Click Run
- Enter 'mmc.exe' and click OK
- Click File, then Add/Remove Snap-in
- Click Add
- Select Certificates and click Add
- Leave selection on 'My user account' and click Finish
- Click Close
- Click OK
- Select Certificates - Current User in the lefthand pane of the MMC console
- Select Personal
- Select Certificates. Your personal certificate information should appear in the righthand pane of the MMC console
- Right-click on your certificate and select All Tasks
- Click Export
- On the Welcome screen, click Next
- Select 'Yes, export the private key' and click Next
- Leave the defaults on the Export File Format screen and click Next
- Enter a strong password, then re-enter it in the Confirm Password box, then click Next
- Enter a name to save your EFS certificate export file and browse to choose a destination folder to save it in, then click Save
- Click Next
- Click Finish
Make sure you copy the export file to a floppy disk, CD or other removable media and store it in a safe place away from the computer system the encrypted files are on.