Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista - Encrypt or Decrypt a Folder or File

Comment
 

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
Information
  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 from the ZIP file. This might result in unintentional disclosure of personal or sensitive information.
Tip
  If you lost your EFS certificate or did not make a backup (step 10 below), then you can use the 30 day free trial program Advanced EFS Data Recovery to decrypt the files.
RELATED LINKS:EXAMPLE: Folder Not Encrypted (Decrypted) and Folder Encrypted
NOTE: Notice that the text is now green to show it is encrypted.
Name:  Not_Encrypted.jpg
Views: 22999
Size:  2.7 KBName:  Encrypted.jpg
Views: 22992
Size:  2.8 KB


Here's How:
1. Right click on the folder or file you want to encrypt or decrypt, and then click on Properties.

2. Under the General tab, click on the Advanced button. (See screenshot below)
properties.jpg
3. To Encrypt a File or Folder -
A) Check the Encrypt contents to secure data box and click on OK. (See screenshot below step 4)
NOTE: You will only be able to choose to Encrypt or Compress contents, not both at the same time. If Encrypt contents to secure data is grayed out, then see this link to enable it: How to Disable or Enable Encryption in Vista

B) Go to step 5.
4. To Decrypt a File or Folder -
A) Uncheck the Encrypt contents to secure data box and click on OK.
Name:  Advanced_Attributes.jpg
Views: 23076
Size:  71.3 KB
5. Click on OK. (See screenshot below step 2)

6. For a Folder -
NOTE: If the folder is empty, then you will not see the screenshot below. The folder will still be encrypted though, and any file you move into it will become encrypted automatically also.
A) Select (dot) if you want to Apply changes to this folder only, or Apply changes to this folder, subfolders and files. (See sceenshot below)

B) Click on OK.
NOTE: It may take a second to encrypt or decrypt the folder and close Properties.
confirm_attribute_changes.jpg
C) Go to step 9.
7. For a File -
A) Select (dot) if you want to Encrypt the file only, or Encrypt the 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) Leave the Always encrypt only the file box unchecked to always have these options.

C) Click on OK.
NOTE: It may take a second to encrypt or decrypt the file and close Properties.
Name:  Encryption_Warning.jpg
Views: 22986
Size:  66.2 KB
D) Once a file is encrypted, the Details button will now be active. (See screenshot below step 4)
NOTE: For more about the Details option see step 8 below.

E) Go to step 9.
8. To Change User Access for a Encrypted File -
A) Go steps 1 and 2 again.

B) Click on the Details button. (See screenshot below step 4)

C) Click on the User you want to change access with to select it. (See screenshot below table)

D) Select the option (see table below) you want to do.
Option Description
Add This will allow you to add a username account that can have access to this file.
Remove This will allow you to remove a username account from having access to this file.
Back up keys Takes you to step 6 here: How to Backup the Encrypted File System (EFS) Certificate in Vista
user_access.jpg
9. The first time you encrypt a folder or file, you will get a notification. (See screenshot below step 10)
NOTE: You will not see this again after the first time you encrypt.

10. Click in the notification message or on the notification icon in the notification area on the taskbar.
notification.jpg
11. 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, then you will not be able to have access and use the files that you have encrypted. For how, see step 6 here: How to Backup the Encrypted File System (EFS) Certificate in Vista
backup.jpg
That's it,
Shawn

Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 25,924
Rep Power: 150
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

Comment

Tutorial Tools


Similar Threads
Tutorial Category
Re:simple text encrypt / decrypt VB Script
Please help me encrypt a file folder General Discussion
Encrypt File / Decrypt File / Open/Close PSD Vista General
We cannot encrypt & decrypt messages in messenger with our dll fil Live Messenger
Context Menu - Add Encrypt and Decrypt Tutorials


Vista Forums 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 Ltd
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