PDF download Download Article
Protect your sensitive files in Windows, macOS, or with a third-party app
PDF download Download Article

If you're using macOS or Windows 10 or 11 Pro, Enterprise, or Education Edition, you can use your computer's built-in encryption program to password-protect folders and files. If you have Windows Home Edition, you'll need to install third-party software to protect folders with passwords. This wikiHow teaches you how to encrypt your files and folders.

Things You Should Know

  • On Windows Pro, right-click a folder and go to "Properties" > "Advanced" > "Encrypt contents to secure data" > "Ok," follow the prompts, then check "Password."
  • On Mac, use Disk Utility to create a password-protected disk image of the folder.
  • On Windows Home, use an app like Wise Folder Hider to password-protect a folder.
Method 1
Method 1 of 3:

Using Windows

PDF download Download Article
  1. You can do this in File Explorer or by right-clicking any folder on your desktop. [1]
    • Windows Pro, Enterprise, and Education Editions have their own built-in file encryption software called BitLocker. BitLocker can be used to encrypt an entire hard drive or individual folders and files.
    • BitLocker is not available on Windows Home Edition. If you are using Home Edition, you will need to use third-party software to encrypt your files and folders. [2]
  2. It's at the bottom of the Properties window next to "Attributes."
    Advertisement
  3. This starts the process of encrypting your folder. [3]
    • If you want to open a password-protected folder, follow the previous steps up to this point and uncheck this box. Then, enter your password.
  4. It's the second radio option in the "Confirm Attributes Changes" window. [4]
  5. You can also find this pop-up message in the Notifications window by clicking the icon that resembles a square-shaped speech box in the Taskbar.
  6. This will back up your encryption key to a flash drive. This will help prevent losing access to your files if you forget your password.
    • If you don't have a flash drive, click Back up Later to be reminded next time you log in, or Never back up .
    • Warning: If you don't back up your encryption key, you could lose access to your files if you forget your password.
  7. First, click Next at the bottom of the Certificate Export Wizard welcome window. Then click Next again to create a new password.
  8. This is the default option in the Certificate Export Wizard window. Then click Next in the lower-right corner.
  9. It's in the lower-right corner of the Certificate Export Window.
  10. Use the file browser to navigate to the location of your USB drive. This may be a temporary "D:" or "E:" drive.
  11. This saves the certificate as a ".pfx" file.
  12. This finishes the process of encrypting and password-protecting your folder. You can now eject the USB drive and put it in a safe location.
    • If you need to access your folder, follow steps 1 - 4. Then, uncheck the box that says "Encrypt contents to secure data." Then, enter your password to unencrypt the folder.
  13. Advertisement
Method 2
Method 2 of 3:

Using Wise Folder Hider

PDF download Download Article
  1. Wise Folder Hider is a program you can use to password-protect files and folders, hide files and folders, and create an encrypted drive. You can download the free version of Wise Folder Hider for Windows from https://www.wisecleaner.com/wise-folder-hider.html .
    • Use this method if you have Windows Home Edition.
    • Once downloaded, double-click the file and follow the on-screen instructions to install.
  2. Wise Folder Hider will usually open automatically after it is installed, but you'll find it in the Start menu if it doesn't. Once open, you'll be prompted to enter a password .
  3. Drag any files or folders you want to protect with passwords into the app. When you close the app, those files and folders will be locked and hidden inside Wise Folder Hider.
    • Additionally, you can set a separate password for each folder you add. To do so:
      • Click the drop-down menu across from a folder you added under the "Hide File" tab.
      • Click Set Password .
      • Enter the password you want to set for that folder twice and click Ok .
  4. To access a hidden folder, open Wise Folder Hider, enter the password you set, and click Open .
    • To remove a password-protected folder from Wise Folder Hider, click the drop-down menu across from a folder under the "Hide File" tab and select Unhide .
  5. In addition to locking and hiding folders behind a password-protected app, you can create an encrypted drive that you can use to password-protect your files and folders. If you want to do this, use the following steps to do so:
    • Click the Encrypt File tab.
    • Click Create in the lower-right corner.
    • Enter a name for the encrypted drive (or leave it as the default).
    • Click Browse and select a save location for the encrypted drive (or leave it as the default "Documents" folder).
    • Click Create .
  6. To do so, open Wise Folder Hider and enter your password. Click the Encrypted File tab. Click the drop-down menu across from the encrypted drive and click Set Password . Enter a password for the drive twice and click Ok .
  7. You must mount the drive to access it and add files and folders. To do so, open Wise Folder Hider and enter your password. Click the Encrypt File tab and click Mount across from the encrypted drive. Enter your password for the encrypted drive and click Ok .
  8. Once the encrypted drive is mounted in Wise Folder Hider, it will appear in your list of drives in File Explorer. Press the Windows key + E to open File Explorer. Right-click any files or folders you want to add to the encrypted drive and click Cut . Then open the encrypted drive, right-click, and click Paste .
  9. Once you have added all the files and folders you want to add to the encrypted drive, click Unmount across from the drive in Wise Folder Hider. This will hide the encrypted drive in File Explorer. You must mount it in Wise Folder Hider to display it in File Explorer again.
  10. Advertisement
Method 3
Method 3 of 3:

Using a Mac

PDF download Download Article
  1. You can do so quickly by typing disk utility into Spotlight and pressing Return .
  2. This will open a Finder window.
    • On some older Macs, this option may be labeled "Disk Image from Folder" instead.
  3. Click the box at the top of the pop-up window, click your folder's location (e.g., Desktop ), click your folder, and click Open .
  4. Do so in the "Save As" field.
  5. It's in the "Encryption" drop-down menu.
  6. This option will allow you to add and remove files to your encrypted folder later.
  7. This button is in the bottom-right corner of the window.
  8. Enter a password you want to set for your folder in the "Password" field and enter it again in the "Verify" field to confirm. Your passwords must match to continue.
  9. If you named your image the same thing as your original folder, click Replace when prompted to replace the folder. Once you click Done , your new password-protected folder will appear as a .dmg file.
    • You can delete the original folder you used to create the password-protected folder if you want. Your files are safe in the ".dmg" that was just created.
  10. To access files in your protected folder, double-click the newly created ".dmg" file, enter the password you set, and click OK . Your folder will open as a mounted virtual "drive" on the desktop. Once unlocked, this will open a window and display your files.
  11. When you are done, you can lock the folder again by "Ejecting" the drive that was opened in one of the following ways:
    • Click and drag the drive's icon to the trash.
    • Right-click on the icon and select Eject "[Your Folder Name]"
    • Click the eject button next to your folder's name in the Finder window on the left.
  12. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How can I unlock a folder?
    Community Answer
    Double click on the .bat file and type in the password you made for it when the command prompt menu opens up.
  • Question
    How do I change the name of the folder created by the .bat file?
    Community Answer
    Right click on the folder, then click "rename." Type the new folder name, then hit "enter."
Ask a Question
      Advertisement

      Video

      Tips

      • You should create an unprotected backup of any folder you plan on password-protecting. You can do this on an external hard drive or a cloud drive.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • If you forget your folder's password, you may permanently lose access to the respective files.


      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 1,321,638 times.

      Is this article up to date?

      Advertisement