Applies to these editions of Windows 7:

Compare editions

Encrypt or decrypt a folder or file

Encrypting folders and files is a way to protect them from unwanted access. Encrypting File System (EFS) is a feature of Windows that you can use to store information on your hard disk in an encrypted format. Encryption is the strongest protection that Windows provides to help you keep your information secure.

Watch this video to learn how to encrypt a folder or file (0:54)

To encrypt a folder or file

  1. Right-click the folder or file you want to encrypt, and then click Properties.

  2. Click the General tab, and then click Advanced.

  3. Select the Encrypt contents to secure data check box, click OK, and then click OK again.

Note

Note

The first time you encrypt a folder or file, an encryption certificate is automatically created. You should back up your encryption certificate. If your certificate and key are lost or damaged and you don't have a backup, you won't be able to use the files that you have encrypted. For more information, see Back up Encrypting File System (EFS) certificate.

To decrypt a folder or file

  1. Right-click the folder or file you want to decrypt, and then click Properties.

  2. Click the General tab, and then click Advanced.

  3. Clear the Encrypt contents to secure data check box, click OK, and then click OK again.

Was this helpful?What's this?
Thank you.
Do you want to add anything else?
Thank you. Your feedback helps us to continually improve our content.
1200 400 How can we make this more helpful for you? Submit Skip this Do you want to add anything else? Submit No thanks