• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Made Stuff Easy

  • How To
  • iOS / Mac
  • Windows
  • Android
  • Internet
You are here: Home / How To / How to Password Protect a Folder in Windows 10

How to Password Protect a Folder in Windows 10

by Nitesh Sharma

Last updated on February 17th, 2021 at 07:56 am

Everyone can access your files, folders on your Windows 10 PC if it is not locked or password protected.

We may have important files or some private files which we always prefer to keep them in the private section where no one can access those files.

It is necessary to use a good password protection software that secures your stuff. In our list, we found Iobit works well to lock any folder and it is very easy too.

How to Password Protect a Folder on Windows 10

If you are not willing to go for a paid password protection software then there are some other manual methods by which you can hide the stuff.

Here you will see all the possible methods that work well to lock your files, folders, and other such things.

  • Related: How to create Hidden files in Windows PC?
  • How to sync your PC automatically using Google Drive and Google Photos?

What are Different ways to Lock Your Files?

You can manually create a FolderLocker folder where you can transfer your files to make them password protected. This method is long but the best thing is it is free of cost.

Paid software definitely has advantages such as easy access, instant lock, more safety, and much more. Let us check both methods.

How to Password Protect a Folder on Windows 10?

1: Free Method

Here we will create a specific folder which will remain password protected and you can transfer the files/folders into this folder. Follow some simple steps.

  • Open the location where you want to place the secure lock folder. You can also create it on your desktop.
  • Right-click on the free space and click on New> Text Document and click Enter.
create folder
  • Now open that text document by double-click on that.
  • Paste the below text on that text document.

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.

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 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

goto end

:MDLOCKER

md Locker

echo Locker created successfully

goto End

:End

Check the text Your Password above and type your new password there.

  • Save the text by navigating File> Save As. Here next to Save as type, choose All files from the drop-down list.
save docs
  • You also need to change the folder name to “FolderLocker.bat” and click on SAVE button.
save file protect

Here you will see your password protected folder has been created but yet to lock. Now move the folders to “FolderLocker.bat” you want to lock on your PC.

Its time to lock your folder to do this follows some more steps.

  • Double click on “FolderLocker.bat”
  • Type “Y” to confirm to lock the folder. After this, the folder will disappear.
lock command

Anytime you can unlock that folder to get back that file.

How to unlock the password protected folder?

  • Double-click on the folder, it will ask for your password that you have entered.
  • Now the folders will appear.

I hope you found no difficulty while following above steps. This method is a bit lengthy but the easiest we find is using a good software. In our list, Iobit Protected Folder remains best.

Related: How to unlock password protected PDF file?

Protect a Folder on Windows 10 Using Iobit Protected Folder

  • Launch Iobit Protected Folder once you purchased from the official website.
  • After successful installation, go to the folder you wish to make it password protected. Right-click on the folder and hit Lock by Protected folder.
lock by protected folder
  • Now Enter your password and then click Login.
iobit enter password

By following these steps you can easily lock your folder. This method is more secure and safe and recommended by experts.

You may also like:

  • How to find duplicate files and remove them from PC?
  • Best ways to delete temporary files from Windows PC
  • How to factory reset Windows 10 PC without disc installation?

I hope you find the information about How to Password Protect a Folder in Windows 10 useful and successfully lock your folder.

For more tech tutorial, latest deals, online security tutorial follow us on Facebook, Twitter.

Primary Sidebar

New Year Sale

Affiliate Disclosure

We use Affiliate links on our website, which offers you a discount and some commission to us when you purchase our referrals. In order to run this website free to our readers, we earn money from the affiliate links. For complete disclosure click here.

Recent Posts

  • How to Improve Your Productivity Using a Macbook?
  • How to Connect AirPods to Find my iPhone
  • 5 Ways to Convert a Microsoft Word Document to PDF Format
  • Movavi vs Filmora: The Best Comparison in 2021
  • How to Free Up Space in Gmail

Search Made Stuff Easy

Popular Posts

4 Ways to Increase Internet Speed Using CMD

Easy Fix: No Internet Secured Message

Best Way to Remove Junk Files From PC

How to Use SHAREit on PC to Transfer File To/From PC

How to Download Your Facebook Account Data

Top VPN Deals

49% Off ExpressVPN (3 Months Free)

78% Off NordVPN

(59% + 10% Extra) VirtualShield

46% Off IPVanish

Top Anti-Virus Deals

55% Off Panda Dome

70% Off BullGuard

20% Off Sophos Home Premium

Emsisoft Anti Malware

Photography Software Deals

$108 Off Luminar AI

35% Off Aurora HDR

15% Off Photomatix Pro 6

Other Software Deals

Parallel Desktop 16

50% Off Nitro Pro

92% Off MacKeeper

Nitro Productivity Suite

© 2021 · madestuffeasy.com · Privacy Policy · Disclaimer · Sitemap · About · Contact