Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums

Go Back   Vista Forums > Vista Forums > Tutorials

Encrypt or Decrypt a Folder or File

Poll: Did this Tutorial help and work for you?
Poll Options
Did this Tutorial help and work for you?

Comment
 
Tutorial Tools Display Modes
<!-- google_ad_section_start -->Encrypt or Decrypt a Folder or File<!-- google_ad_section_end -->
Encrypt or Decrypt a Folder or File
How to Encrypt or Decrypt a Folder or File in Vista
Published by Brink
10-18-2007

How to Encrypt or Decrypt a Folder or File in Vista

INFO: Encrypting folders and files is a way to protect them from unwanted access. Encrypting File System (EFS) is a feature of Windows that allows you 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. This is only for the Vista Business, Ultimate, and Enterprise versions.

NOTE: This will also prevent other user accounts from being able to open the file or folder. Even another Administrator account. If you create a shortcut from the encrypted file, it will not be encrypted by default. The shortcut will still not be able to be read by any other user account or computer since it is linked to a encrypted file.

WARNING: If you add a encrypted file to a compressed (zipped) folder, the file will be unencrypted (decrypted) when extracted. This might result in unintentional disclosure of personal or sensitive information. For that reason, you should avoid compressing and extracting encrypted files unless you lost your EFS Certificate.
See: How to Backup the Encrypted File System (EFS) Certificate in Vista

LOST the EFS CERTIFICATE: You can use the 30 day free trial program Advanced EFS Data Recovery to decrypt the files.
See: ELCOMSOFT: Advanced EFS Data Recovery

SP1 NEWS ABOUT EFS BACKUP:
See: Technet.com: What’s new with backup and Restore on Vista SP1

RELATED LINKS:
1. How to Restore the Encrypted File System (EFS) Certificate in Vista

2. How to Backup the Encrypted File System (EFS) Certificate in Vista

3. How to Add Encrypt and Decrypt to the Context Menu in Vista

4. How to Disable or Enable Encryption in Vista

5. How to Compress and Decompress a Folder or File with NTFS Compression in Vista


EXAMPLE: Folder Not Encrypted (Decrypted) and Folder Encrypted
NOTE: Notice that the text is now green to show it is encrypted.

Not_Encrypted.jpgEncrypted.jpg


Here's How:
1. Right click the folder or file you want to encrypt or decrypt, and then click Properties.
2. Under the General tab, click the Advanced button. (See screenshot below)

Properties.jpg

3. To Encrypt a File or Folder -
A) Check Encrypt contents to secure data and click OK.
(See screenshot below)
NOTE: You will only be able to choose to Encrypt or Compress contents, not both at the same time.

4. To Decrypt a File or Folder -
A) Uncheck Encrypt contents to secure data and click OK.

Advanced_Attributes.jpg

5. Click OK in Properties. (See screenshot in step 2)

6. For a Folder -
A) Select if you want to apply changes only to this folder, or to this folder and all subfolders.
(See sceenshot below)
B) Click OK.
NOTE: It may take a second to encrypt or decrypt the folder and close Properties.

Confirm_Attribute_Changes.jpg

7. For a File -
A) Select if you want to encrypt just this file in the folder, or encrypt this file and it's parent folder. (See screenshot below)
NOTE: You will not see this if the folder this file is in is already encrypted. It is always best to have the folder the file is in encrypted to for better protection.
B) Click OK.
NOTE: It may take a second to encrypt or decrypt the file and close Properties.

Encryption_Warning.jpg

C) Once a file is encrypted, the Details button will now be active in step 4 above.

To Change User Access to this File - Go back to step 4 above and click the Details button.
(See screenshot below)

User_Access.jpg

1) Add - This will allow you to add a username account that can have access to this file.
2) Remove - This will allow you to remove a username account from having access to this file.
3) Back up keys - Takes you to step 6 here:
How to Backup the Encrypted File System (EFS) Certificate in Vista

8. The first time you encrypt a folder or file, you will get a notification. (See screenshot below)
NOTE: You will not see this again after the first time you encrypt.

9. Click on the notification icon in the notification area.

Notification.jpg

10. Choose which option you want to do. (See screeshot below)
WARNING: You should back up your encryption certificate. If your certificate and key are lost or damaged and you do not have a backup, you won't be able to use the files that you have encrypted. See step 6 here: How to Backup the Encrypted File System (EFS) Certificate in Vista

Backup.jpg

11. The file or folder is now Encrypted or Decrypted.


That's it,
Shawn
Published by
Brink's Avatar
Administrator
Join Date: Apr 2007
Location: Texas, USA
Posts: 12,941
Rep Power: 200
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
Business,Enterprise,Ultimate
64 Bit & 32 Bit

Rating
Skill Level
20%20%20%
1

Page copy protected against web site content infringement by Copyscape

Comment

Tags
file, folder, decrypt, encrypt

Tutorial Tools
Display Modes









Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48