GiliSoft File Lock Pro

GiliSoft File Lock Pro is a folder / file locker which protects user's privacy and important data from theft, loss or leaks.

  • Hide Files/Folders/Drives
  • Deny Reading and Writing Files/Folders/Drives
  • Monitor Folder Changing and Write Log
GiliSoft File Lock Pro

How to Password Protect a Folder Without Software in Windows 11/10

G GiliSoft updated on Jul 24, 2026 | Home>How-tos>Folder Password

Password protection is very important for you today. No matter whether you share your PC with someone else or not, password protecting your files and folders is important to preserve your privacy. Do you want to password protect a folder in Windows 10 for extra security? Yes, but you don't want to password protect a folder using third-party software. Then, that's not at all a problem.

Windows 10 offers an amazing three options to password protect your files or folders without software. Excited to find out how to password protect a folder on Windows 10 without the software? Let's walk through this guide.

Before you begin: back up important files. For EFS and BitLocker, save the recovery certificate or recovery key somewhere separate from the protected PC.

Method 1. Password Protect a Folder Without Software via a .bat File

A Batch file or .bat file is a DOS file that allows users to execute commands with the Windows Command Prompt (cmd.exe). This file contains several line commands in plain text to perform numerous operations such as running maintenance utilities or launching a program.

These files are used by Windows users to make it easy to run repetitive tasks. So, here you can create BAT files with a Notepad or Wordpad to add series commands to password protect your files without software.

Right now, it might sound like a daunting task. So, let's check out simple steps to password protect folders via .bat files on Windows 10:

Step 1. First of all, open a plain text editor on your computer. We are going to use Notepad for this tutorial.

Step 2. Now, all you have to do is copy the below-mentioned command lines and paste them into Notepad. Just one thing, type your password where it says YOUR PASSWORD HERE:

cls @ECHO OFF title Folder Locker if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST Locker goto MDLOCKER :CONFIRM echo Are you sure u want to Lock the folder(Y/N) set/p "cho=>" if %cho%==Y goto LOCK if %cho%==y goto LOCK if %cho%==n goto END if %cho%==N goto END echo Invalid choice. pause goto CONFIRM :LOCK ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" echo Folder locked goto End :UNLOCK echo Enter password to Unlock folder set/p "pass=>" if NOT %pass%==YOUR PASSWORD HERE goto FAIL attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker echo Folder Unlocked successfully goto End :FAIL echo Invalid password pause goto end :MDLOCKER md Locker echo Locker created successfully pause goto End :End

Step 3. Next, you have to save the document as a .bat file and save it to the location where you want to keep the Folder Locker.

password protect a folder without software via .bat files

Step 4. Go to the Folder Locker and open it. This will open a Notepad file for you again. You simply have to define the path to the folder you want to password protect and press Y to confirm. That's it.

run the batch file to lock the folder

Method 2. How to Enable Password Protection from Properties

If creating .bat files sounds confusing, Windows 10 has a built-in feature called Encrypting File System (EFS) to password protect folders without passwords. It is a pretty simple way to password protect files as follows:

Step 1. Go to the folder you want to protect, right-click on it and select Properties.

password protect a folder without software via properties-1

Step 2. Click on the "General tab > Advanced > Check the Encrypt contents to secure data checkbox > OK".

password protect a folder without software via properties-2

Step 3. Press the Apply button and now select any option between - Apply changes to this folder only or Apply changes to this folder, subfolders, and files. Then click on the OK button.

password protect a folder without software via properties-3

Step 4. If you use EFS to protect the folder for the first time, a notification will pop up to back up the encryption certificate and password protection key. So, select the Backup now (recommended) option.

Step 5. Click on the Next button > Set a password to protect the private key of the protected folder > Next.

password protect a folder without software via properties-4

Step 6. Click on the Browser button to select the location to back up the file and give a name to the file you want to export.

Step 7. Click on the Next button and complete your certificate export process.

Availability: EFS is generally available on Windows Pro, Enterprise, and Education editions, not Windows Home. It unlocks with the Windows account and does not show a separate folder-password prompt.

Method 3. Password Protect a Folder Without Software with BitLocker

BitLocker Encryption Program is yet another built-in Windows 10 solution to password protect your files or folders without software. This feature is available for Professional and Enterprise Windows versions with TPM chip support.

To password protect folders on Windows 10 using BitLocker, you have to first create a VHD file container and then store the file you want to password-protect. This process works like this:

Step 1. Open Disk Management > Action > Create VHD.

password protect a folder without software via bitlocker-1

Step 2. In the Browse section, type the name for the BitLocker Volume and click on the Save button.

Step 3. After that, specify the size for the virtual disk or check the Dynamically expanding option to automatically increase the disk size and then click OK.

Step 4. Once the new disk is created, right-click on it and select Initialize Disk.

Step 5. Keep the default settings and click OK.

Step 6. Once the initialization process is complete, right-click on the unallocated space to create a New Simple Volume.

Step 7. Click Next to create a new volume and format the drive.

Step 8. Now, open BitLocker Drive Encryption from the Control Panel.

password protect a folder without software via bitlocker-3

Step 9. Click to Turn on BitLocker encryption on the new volume.

Step 10. Click on Use a password to unlock the drive option and set a strong password.

set a password to unlock the drive

Step 11. Select a location to save the recovery key and then click "Next".

save the BitLocker recovery key

Step 12. Just now click Start encrypting and wait for a few minutes to password protect files without software.

password protect a folder without software via bitlocker-4
Tradeoff: this offers stronger protection than a batch file, but setup and daily mounting are more involved. BitLocker availability depends on the Windows edition and device configuration.

Bonus Tip - How to Password Protect a Folder With Software

It is indeed possible to password protect files or folders on Windows 10 without software. But, as you have already checked, it is extremely technical to password protect files with BitLocker and .bat files. And EFS saves encryption certificates within your computer, which can be easily accessed.

Thus, if you want a strong and unbiased solution to protect your files or folders, you have to use a powerful software called GiliSoft File Lock Pro.

This is a dynamic tool to hide, lock and encrypt files or folders on your internal as well as external drives. GiliSoft File Lock Pro can also password-protect files on your local drive, LAN network, or USB drive.

Other GiliSoft File Lock Pro Features:

  • Hide your files, folders, and even the entire hard drive, even in Windows Safe Mode
  • It can password protect all types of folders or files
  • Make sure no one can modify your files without the password
  • Keep track of modifications made to your files, folders, or disk
  • Encrypt files or folders to GFL or EXE format that can't be accessed without the password
  • You can easily recover your password from the predefined email
  • Nobody can uninstall the software without the password
  • The program will automatically lock the file after five wrong password attempts

Importantly, it is super simple to password protect files on Windows 10 using GiliSoft File Lock Pro.

Step 1. Launch GiliSoft File Lock Pro, enter the valid email, and set password to register.

enter password

Step 2. Click Protecting File under the Local Disk. Select Protect File(s), Folder or Drive from the right panel.

protect file folder or drive

A. Add file(s) or folder from the specific location.

add files or folder to lock in GiliSoft File Lock Pro

B. Click on the Lock Drive to add drive you want to protect. Select drive and click OK.

Step 3. Check and confirm the files, folder, and drive that you want to protect.

Notes: If you want to unprotect the selected files, folder, or drive, tick the target data and click on the Unprotect button.

Compare the Built-in Windows Methods

MethodWhat it protectsPassword behaviorBest use
Batch fileFolder visibilityScript-based checkCasual privacy with non-sensitive files
EFSFolder and file contentsTied to Windows sign-inSeparate Windows accounts on one PC
BitLocker VHDEncrypted virtual drivePassword when mountingStronger local encryption for a group of folders

Sum Up

There you go! You can now password protect your files or folders on Windows 10/11 with or without software. Password protection without a password might be free, but it is complicated, less secure, and compatible. Plus, manual password protection is a tiresome task compared to simple and robust software like GiliSoft File Lock Pro.

Therefore, if you want to provide stronger password protection to your files or folders, do use GiliSoft File Lock Pro. To test the program, you can book the free demo today!

Password Protect a Folder Without Software FAQ

Does Windows have a built-in password button for folders?

No. Windows offers account permissions, EFS, and BitLocker, but an ordinary folder does not receive its own password prompt from one Properties setting.

Is the batch-file folder locker secure?

It can discourage casual browsing, but it is not strong security because the script and password logic can be inspected.

Why is Encrypt contents to secure data greyed out?

The drive may not use NTFS, the Windows edition may not support EFS, or a policy may have disabled it.

What is the easiest option for one folder?

For a direct lock or hide workflow, GiliSoft File Lock Pro is simpler than creating a VHD or maintaining a batch script.

Prefer a direct folder lock instead of a Windows workaround?

Use GiliSoft File Lock Pro to lock or hide selected folders, protect removable-drive files, and manage local access from one Windows interface.