Steps: How to lock a folder in Windows 10 with password

folder lock 1

Steps: How to lock a folder in Windows 10 with password

We all have our own secret worlds, which we don’t want others to interrupt, especially when it comes to personal computers or Smartphones. We all need privacy and protection. But happy times always step into your life and fortunately we have diverse tools and features which permit us to save and protect the personal information. Windows 10 is considered to be user-friendly but that does not mean that there is no need to protect the data. Let’s see how you can protect or lock a folder in Windows 10 with password:

Lock Folder in Windows 10

1.Open the folder which you want to protect. That folder encompass files, subfolders, videos, photos, presentations, documents and any type of data that you want to secure.

2. Right click on the folder and click on “New” to open the sub-list. Hit on “Text Document” to generate a new text document.

lock the folder

3.Open the text document and paste the below-mentioned text as it is.

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

goto end

:MDLOCKER

md Locker

echo Locker created successfully

goto End

4. When the text is pasted, look for the document where it’s written “Your-Password-Here”. Change “Your-Password-Here” with the new password you want to set on that folder to lock.

pasting the text

5.Click on the File menu without any changes in the file and hit on “Save As” button.

save as

6. While saving the file don’t forget to choose “All types” by dropping down the menu.

folder locker

7.When your file is being saved, click on the file using Folder Locker file.

You will notice that a new folder with the name “Locker” is generated. This is the folder on which your lock has been applied.

folder lock

8.Open the file again (FolderLocker)

You will be asked “Do you want to lock the folder”. Type “Y” and press enter.

type Y

The folder including your private content will become extinct. No one will be able to see it.

Here is the list of top 10 best laptop workstation 2017

Share this on WhatsApp   Share this on WhatsApp