Both MacOS and Windows 10 Pro, Enterprise, and Education Editions have their own encryption programs that you can use to encrypt and password-protect files and folders on your hard drive. Windows 10 Home Edition does not come with any encryption software, but you can still use third-party software to encrypt and password-protect your files and folders. This wikiHow teaches you how to encrypt your files and folders.

Things You Should Know

Method 1
Method 1 of 3:

Using Windows

  1. 1
    Press Win+E to open File Explorer . File Explorer has an icon that resembles a folder with a blue clip. Click the File Explorer icon in the taskbar, or press the Windows key + E to open File Explorer. 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 Windows: Home Edition, you will need to use third-party software to encrypt your files and folders.[1]
  2. 2
    Navigate to a folder you want to password protect, and right-click it. This displays a pop-up menu to the right of the folder.
    Advertisement
  3. 3
    Click Properties. It's at the bottom of the pop-up menu.
  4. 4
    Click Advanced. It's at the bottom of the Properties window next to "Attributes".
  5. 5
  6. 6
    Click Ok followed by Apply. This starts the process of encrypting your folder.
  7. 7
    Select "Apply changes to this folder, subfolders and files" and click Ok. It's the second radio option in the "Confirm Attributes Changes" window.
  8. 8
    Click the "Back up your file encryption key" in the pop-up message. 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.
  9. 9
    Insert a USB flash drive in a USB port and click Back up now (recommended). This will back up your encryption key to a flash drive. This will help prevent you from losing access to your files if you forget your password.
    • If you do not have a flash drive, you can click Back up Later to be reminded next time you log in, or click 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.
  10. 10
    Click Next two times. First, click Next at the bottom of the Certificate Export Wizard welcome window. Then click Next again to create a new password.
  11. 11
    Select "Personal Information Exchange - PKCS #12" and click Next. This is the default option in the Certificate Export Wizard window. Then click Next in the lower-right corner.
  12. 12
  13. 13
    Click Next. It's in the lower-right corner of the Certificate Export Window.
  14. 14
    Navigate to the USB drive. Use the file browser to navigate to the location of your USB drive. This may be a temporary "D:" or "E:" drive.
  15. 15
    Type a name for the certificate and click Save. This saves the certificate as a ".pfx" file.
  16. 16
    Click Next and then Finish. 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 un-encrypt the folder.
  17. Advertisement
Method 2
Method 2 of 3:

Using AxCrypt

  1. 1
    Download and install Axcrypt. Windows Home Edition does not come with BitLocker, which is the standard encryption software used on Windows. Instead, you will need to download and install a third-party encryption program. AxCrypt can encrypt and password-protect files and folders on your computer. The free version uses 128 Bit encryption and the premium version uses AES-256 Bit encryption. Both of which are international standards. Use the following steps to download and install AxCrypt:
    • Navigate to https://www.axcrypt.net/ in a web browser.
    • Click the green button that says Download.
    • Open the install file in your web browser or Downloads folder.
    • Click the checkbox to agree to the license terms and conditions.
    • Click Install.
    • Click Launch.
  2. 2
    Enter your email address and click Ok. Make sure you enter a valid email address. A verification code will be sent to your email address.
  3. 3
    Retrieve the verification code from your email. Open the email address you entered and look for an email from AxCrypt. It will contain your verification code.
    • It may be in your junk mail, or spam folder.
  4. 4
    Enter the verification code. After retrieving the verification code, enter it in the small box that says "Verification code" in the AxCrypt window.
  5. 5
    Enter your password twice and click Ok. Make sure you enter the exact same password in both password fields. This is the password you will use to encrypt and decrypt your folders.
    • You may want to write your password down and put it in a safe place. If you lose your password, you may not be able to access your files.
    • Once you log in to AxCrypt, you do not need to enter your password each time you enter your password. Don't be afraid to use a strong password.
  6. 6
    Enter your password and Ok. This will log you into AxCrypt.
  7. 7
    Click Start Trial or Not Now. If you want to start a free trial of Premium AxCrypt, click Start Trial. Otherwise, click Not Now.
  8. 8
  9. 9
    Navigate to a folder you want to password-protect and right-click it. This will display a pop-up menu next to the folder.
  10. 10
    Hover over AxCrypt and click Encrypt. After AxCrypt is installed and you are signed in, this option appears in the pop-up menu that appears when you right-click a file or folder in File Explorer. This will display a sub-menu. Click Encrypt in the sub-menu.
  11. 11
    Enter your password and click Ok. This converts the folder and all the files into encrypted ".axx" files.
    • To access the files again, right-click the folder in File Explorer and hover over AxCrypt. Click Decrypt. Enter your password and click Ok.
  12. Advertisement
Method 3
Method 3 of 3:

Using Mac

  1. 1
  2. 2
    Type disk utility then press Return. This will open the Disk Utility app.
  3. 3
    Click File. This menu item is in the top-left side of the Mac's screen.
  4. 4
    Select New Image, then click Image from Folder. This will open a finder window.
    • On some older Macs, this option may be labeled "Disk Image from Folder" instead.
  5. 5
    Select the folder you want to password protect and click Open. 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.
  6. 6
    Enter a name for your folder. Do so in the "Save As" field.
  7. 7
    Click the "Encryption" drop-down box and select 128-bit AES encryption. It's in the "Encryption" drop-down menu.
  8. 8
    Click the "Image Format" drop-down box.
  9. 9
    Click read/write. This option will allow you add and remove files to your encrypted folder later.
  10. 10
    Click Save. This button is in the bottom-right corner of the window.
  11. 11
    Create a password and click Choose. Enter a password you want to set for your folder in the "Password" field, and enter it again in the "Verify" field to confirm. Then click the "Choose" button to set the password.
    • Your passwords must match in order to continue.
  12. 12
    Click Save. It's a blue button at the bottom of the window. Doing so will create an encrypted copy of the original folder.
    • If you named your image the same thing as your original folder, click Replace when prompted to replace the folder.
  13. 13
    Click Done when prompted. Your password-protected folder has been created. Your new password protected folder will appear as a ".dmg" file.
    • You can delete the original folder that you used to create the password-protected folder if you want, your files are safe in the ".dmg" that was just created.
  14. 14
    Open the password-protected folder. Double-click the newly created ".dmg" file to open your password-protected folder. This will prompt you for a password.
  15. 15
    Enter the password you set earlier 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.
  16. 16
    Lock the folder. When you are done, you can lock the folder again by "Ejecting" the drive that was opened by 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.
  17. Advertisement

Community Q&A

  • Question
    How can I unlock a folder?
    Community Answer
    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
    Community Answer
    Right click on the folder, then click "rename." Type the new folder name, then hit "enter."
Advertisement

Warnings

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


Advertisement

About This Article

Travis Boylls
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Travis Boylls. Travis Boylls is a Technology Writer and Editor for wikiHow. Travis has experience writing technology-related articles, providing software customer service, and in graphic design. He specializes in Windows, macOS, Android, iOS, and Linux platforms. He studied graphic design at Pikes Peak Community College. This article has been viewed 1,209,946 times.
How helpful is this?
Co-authors: 31
Updated: October 25, 2022
Views: 1,209,946
Categories: File Manipulation
Article SummaryX

In the folder that contains the files you want to protect, create a new text file containing the script below, replacing “Your-Password-Here” (in the script) with your desired password. Save the file as FolderLocker.bat, then double-click FolderLocker.bat to create a folder called Locker. Copy files into the Locker folder, and then double-click FolderLocker.bat again to lock the files.

Did this summary help you?
Advertisement