How to Encrypt Files on Windows (2024)

Table of Contents
Before you start Sign up to get the BEST of Tom’s Guide direct to your inbox. How to encrypt files using Microsoft Office 1. Open a Microsoft Office program and click Open 2. Click Browse 3. Select a file you want to encrypt and click Open 4. Click the File tab at the top of the page, then scroll down and click 'Info' 5. Click 'Protect Document' on the left side 6. Select Encrypt with Password from the pop-up menu 7. Enter a password for the file How to delete temporary files 1. Click the Start button 2. Type 'Disk Cleanup' into the text field and select Disk Cleanup and click OK 3. Wait for the loading bar to complete 5. A new pop-up window will appear asking you to confirm the deletion 6. You'll see a new pop-up window (pictured below) with a loading bar running as your files are deleted How to Encrypt Files on Windows using Encrypting File System (EFS) 1. Right-click on the file or folder you wish to encrypt 2. Click 'Properties' selection at the bottom of the menu 3. Click Advanced under the General tab 4. Check 'Encrypt contents to secure data' 5. Click OK 6. Click Apply 7. Choose how extensive you want the encryption to be 8. Make sure to click the 'Back up your file encryption key' pop-up message before it disappears How to back up your encryption key 1. Click the option 'Back up now (recommended)' 2. Click Next 3. Click Next again 4. Check the box next to Password, enter your password twice and click Next 5. Click Browse 6. Navigate to a directory, such as a USB drive, name your encryption key and click save 7. Click Next 8. Click Finish 9. Click OK How good are Windows' encryption services? More Windows 10 tips FAQs

If you're looking for a simple way to keep files and folders private on your Windows computer, you have several options right in front of you.

Thanks to the Microsoft Office Suite, you can use a built-in encryption feature to password-protect Office files, such as Word documents or PowerPoint presentations.

  • Your router's security stinks: Here's how to fix it
  • The best password managers to protect your online accounts

Some Windows operating systems also come with Encrypting File System (EFS), which lets you encrypt any kind of file, as well as whole folders and subfolders.

Note, however, that EFS is only available for Windows 10 Pro, Windows 8 Pro or Windows 8 Enterprise. Users with a Home edition of Windows will need to use either Office Suite encryption or a third-party solution, such as VeraCrypt or 7-Zip.

Nor does either of these methods offer full-disk encryption, which encrypts your entire hard drive and its partitions. That can be done with Bitlocker, which again is only available to Pro and Enterprise accounts.

To set up your Windows file encryption, you'll want to follow these step-by-step instructions.

Before you start

Before you start altering your files, there are some tips you need to keep in mind.

Sign up to get the BEST of Tom’s Guide direct to your inbox.

Upgrade your life with a daily dose of the biggest tech news, lifestyle hacks and our curated analysis. Be the first to know about cutting-edge gadgets and the hottest deals.

  • Any file can be decrypted if you're targeted by a savvy enough, or well-financed foe. You might want to find a paid solution if your files are truly valuable.
  • Files encrypted using the below methods can still be deleted, so you might want to have a backup on a secondary location.
  • If you lose your encryption passwords, you've lost your encrypted files forever. So, again, keep an unencrypted backup of the file on a physical drive somewhere safe where it won't be found.

How to encrypt files using Microsoft Office

This process encrypts individual files compatible with Microsoft Office applications such as Word, PowerPoint or Excel. Once you encrypt a file this way, you'll need to reopen it in Microsoft Office. You won't be able to open it in Google Docs, Adobe Reader or LibreOffice.

These steps work for all up-to-date versions of Office, across Windows 8.1 and Windows 10.

1. Open a Microsoft Office program and click Open

How to Encrypt Files on Windows (1)

2. Click Browse

How to Encrypt Files on Windows (2)

3. Select a file you want to encrypt and click Open

How to Encrypt Files on Windows (3)

4. Click the File tab at the top of the page, then scroll down and click 'Info'

How to Encrypt Files on Windows (4)

5. Click 'Protect Document' on the left side

6. Select Encrypt with Password from the pop-up menu

How to Encrypt Files on Windows (6)

7. Enter a password for the file

You'll be prompted to re-enter the same password again, then click OK. After you exit this file, you'll have to enter the same password to reopen it. Be sure to store this password in a separate, safe place.

How to Encrypt Files on Windows (7)

How to delete temporary files

You're not quite done yet, though. One of the flaws with Microsoft Office's encryption is that unencrypted versions of recently opened files might still be stored in your computer's temporary memory. You'll want to go clear that out after you've encrypted a file.

1. Click the Start button

How to Encrypt Files on Windows (8)

2. Type 'Disk Cleanup' into the text field and select Disk Cleanup and click OK

How to Encrypt Files on Windows (9)

3. Wait for the loading bar to complete

It's calculating how many files it will be able to delete.

How to Encrypt Files on Windows (10)

How to Encrypt Files on Windows (11)

5. A new pop-up window will appear asking you to confirm the deletion

Click Delete Files.

How to Encrypt Files on Windows (12)

6. You'll see a new pop-up window (pictured below) with a loading bar running as your files are deleted

Once it's finished, the window will disappear and the temporary files are gone.

How to Encrypt Files on Windows (13)

How to Encrypt Files on Windows using Encrypting File System (EFS)

EFS works by letting you apply encryption to already-existing files or folders in your file system. You can still edit or modify these files or folders following the encryption process.

Once again, this is available only to Enterprise and Pro versions of Windows 8.1 and Windows 10. Users of the Home versions of those platforms won't be able to use EFS.

With EFS you won't notice any change in the way you access your files; all you have to do is log in to your Windows account at startup and the files will be accessible.

However, this means that you need to pick a strong, difficult-to-guess password for your Windows user account.

Note: Step 8 is time-sensitive, so make sure to click the "Back up your file encryption key" prompt after confirming attribute changes in step 7. Missing that prompt means you'll need to start over again.

1. Right-click on the file or folder you wish to encrypt

How to Encrypt Files on Windows (14)

2. Click 'Properties' selection at the bottom of the menu

How to Encrypt Files on Windows (15)

3. Click Advanced under the General tab

This will bring up a second pop-up window entitled Advanced Attributes.

How to Encrypt Files on Windows (16)

4. Check 'Encrypt contents to secure data'

If the line is grayed out, you may be using a Home version of Windows that doesn't support EFS.

How to Encrypt Files on Windows (17)

5. Click OK

How to Encrypt Files on Windows (18)

6. Click Apply

How to Encrypt Files on Windows (19)

7. Choose how extensive you want the encryption to be

You can choose to encrypt just that folder, or to encrypt all of the folder's subfolders and files. We recommend the latter. Whichever you choose, click that option and then press OK.

How to Encrypt Files on Windows (20)

8. Make sure to click the 'Back up your file encryption key' pop-up message before it disappears

If you miss the pop-up message, you'll need to restart your machine and try again.

How to Encrypt Files on Windows (21)

The computer creates an encryption key using an encryption certificate provided by Microsoft. Now that your file or folder is encrypted, you won't need a password to access it other than the password you use to sign into your Windows profile when you turn the computer on.

How to back up your encryption key

You should back up that encryption key to a separate device, because if that key is ever lost or damaged, you won't be able to access your encrypted files. The easiest method is with an external USB drive, so plug one into your PC before starting.

1. Click the option 'Back up now (recommended)'

How to Encrypt Files on Windows (22)

2. Click Next

How to Encrypt Files on Windows (23)

3. Click Next again

How to Encrypt Files on Windows (24)

4. Check the box next to Password, enter your password twice and click Next

How to Encrypt Files on Windows (25)

5. Click Browse

How to Encrypt Files on Windows (26)

6. Navigate to a directory, such as a USB drive, name your encryption key and click save

How to Encrypt Files on Windows (27)

7. Click Next

How to Encrypt Files on Windows (28)

8. Click Finish

How to Encrypt Files on Windows (29)

9. Click OK

Now eject your USB drive (or wherever you stored the file) and keep it somewhere safe where you'll remember it.

How to Encrypt Files on Windows (30)

How good are Windows' encryption services?

Windows' built-in encryption isn't a perfect solution. If you encrypt a single file, the computer stores an unencrypted version of that file in its temporary memory, so a savvy snoop can still access it.

It's fairly easy for an attacker to break Windows encryption using a brute-force attack, which is when an attacker uses a program that methodically guesses every possible combination of letters and numbers, starting with common passwords.

If you're very serious about security and privacy, you might not trust a Microsoft solution. The FBI and NSA can require U.S. companies to hand over data or encryption keys. For those reasons, we suggest using a free third-party service such as VeraCrypt or WinZip.

More Windows 10 tips

How to find your Windows 10 product key| How to turn on Bluetooth for Windows 10 | How to screenshot on Windows 10 | How to boot into Windows 10 safe mode | How to split the screen on Windows 10 | How to record a screen on Windows 10 | How to update drivers on Windows 10 | Mapping a network drive in Windows 10 | How to update Windows 10 | How to change the password on Windows 10 | How to factory reset on Windows 10 | How to reinstall Windows 10

How to Encrypt Files on Windows (2024)

FAQs

How to Encrypt Files on Windows? ›

Right-click (or press and hold) a file or folder and select Properties. Select the Advanced button and select the Encrypt contents to secure data check box. Select OK to close the Advanced Attributes window, select Apply, and then select OK.

How to password protect a file in Windows? ›

Protect a document with a password
  1. Go to File > Info > Protect Document > Encrypt with Password.
  2. Type a password, press OK, type it again and press OK to confirm it.
  3. Save the file to make sure the password takes effect.

Does Windows have built-in file encryption? ›

Windows' built-in encryption uses the Advanced Encryption Standard (AES) algorithm, which is a widely used and secure encryption algorithm. However, it is important to note that encryption is not foolproof and there are ways to break encryption.

Can I encrypt a folder in Windows 11? ›

Right-click on the icon for the file or folder you'd like to encrypt. Select Properties. Near the bottom of the Properties window, select Advanced. Check the box beside Encrypt contents to secure data.

Does Windows 10 automatically encrypt files? ›

Windows 10 automatically encrypts any file downloaded to the desktop or any other external drive (lock icon appears). I have to right-click the file(s), go to Properties > Advanced and uncheck "encrypt contents to secure data."

Can I put a password on a folder? ›

Use encryption to password protect a folder or a file
  • Navigate to the folder or file you want to encrypt.
  • Right-click the item, click Properties, then click Advanced.
  • Check Encrypt contents to secure data. ...
  • Windows then asks if you want to encrypt only the file or its parent folder and all the files within that as well.
Aug 12, 2023

Is it possible to lock a file in Windows? ›

Find the folder or file you want to encrypt in Windows File Explorer. Right-click on the item and select Properties. Click Advanced to open up the Advanced Attributes settings. Check the box for Encrypt contents to secure data.

How do I encrypt my files on my PC? ›

How to encrypt a file
  1. Right-click (or press and hold) a file or folder and select Properties.
  2. Select the Advanced button and select the Encrypt contents to secure data check box.
  3. Select OK to close the Advanced Attributes window, select Apply, and then select OK.

Does Windows have an encryption tool? ›

Select the Start button, then select Settings > Update & Security > Device encryption. If Device encryption doesn't appear, it isn't available. You may be able to use standard BitLocker encryption instead. Open Device encryption in Settings.

What happens if I encrypt a file? ›

File encryption transforms data into code that only intended recipients can decipher, preventing unauthorized users from being able to access, view, and understand sensitive information.

Does Windows 11 automatically encrypt? ›

"A clean installation of Windows 10 or Windows 11 may enable Bitlocker drive encryption automatically. The main system partition and all fixed drives will be encrypted..." "Problem is, since the encryption process happens automatically in this case, users may not be aware of it.

How do I put a password on a folder in Windows 11? ›

Please try the steps below:
  1. Right-click on the folder you want to keep safe, and a menu will pop up. ...
  2. Inside the Properties window, look for the "Advanced" option and click on it.
  3. You'll see a checkbox labeled "Encrypt contents to secure data." Tick that box, and then hit the "OK" button.
Mar 20, 2024

Why can't I encrypt my folder? ›

If the encrypt folder option is greyed out on your PC, it might be because you are using the Home version of Windows 10. You can fix the issue on the appropriate OS by enabling the Encrypting File System service. Another viable solution is to tweak some registry values and restart your PC afterward.

Does Windows have built-in encryption? ›

Windows. Device encryption is available on all editions of Windows 10, but BitLocker encryption is available only on Windows 10 Pro, Enterprise or Education versions. Windows 10 Home does not support BitLocker, but you can still use device encryption as long as your device meets the hardware requirements.

What is better than BitLocker? ›

Sophos. The Sophos Safegaurd is one of the best solution for data protection and disk security, its management console make administrator life easy to manage system across globe / enterprise.

Is BitLocker free? ›

Microsoft is one of the world's largest tech companies, offering a broad range of hardware and software products to consumers and businesses of all sizes. BitLocker is their free, built-in encryption solution designed for Windows operating systems.

How do I password protect a file for free? ›

How to password protect a PDF
  1. Click the Select a file button above or drag and drop a PDF into the drop zone.
  2. Enter a password, then retype it to confirm the password.
  3. Click Set password.
  4. Download the password-protected PDF document or sign in to share it.

How do I protect files from Windows security? ›

Go to Start > Settings > Update & Security > Windows Security > Virus & threat protection. Under Virus & threat protection settings, select Manage settings, and then under Exclusions, select Add or remove exclusions. Select Add an exclusion, and then select from files, folders, file types, or process.

How do you password protect a file in Drive? ›

Select 'File' > 'Info'. Click on the 'Protect Document' drop-down menu, and choose 'Encrypt with Password'. Upload Your Document to Google Docs: Upload your password-protected Word document to Google Docs or Drive as you would with any other file.

How to Encrypt a zip file with a password? ›

Encrypt a zip file with Windows
  1. Right-click or press and hold the zip file you want to encrypt. Select Properties.
  2. Click the Advanced… button and check the box next to Encrypt contents to secure data.
  3. Select OK to close the Advanced Attributes window and then select Apply.
  4. Click OK.
Sep 28, 2023

Top Articles
Latest Posts
Article information

Author: Lidia Grady

Last Updated:

Views: 5969

Rating: 4.4 / 5 (65 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Lidia Grady

Birthday: 1992-01-22

Address: Suite 493 356 Dale Fall, New Wanda, RI 52485

Phone: +29914464387516

Job: Customer Engineer

Hobby: Cryptography, Writing, Dowsing, Stand-up comedy, Calligraphy, Web surfing, Ghost hunting

Introduction: My name is Lidia Grady, I am a thankful, fine, glamorous, lucky, lively, pleasant, shiny person who loves writing and wants to share my knowledge and understanding with you.