Contact Helpline
  • Home
  • Add Your Business
  • About US
  • Deals Of The Day
  • Best Gadgets
  • Contact us

How to Lock a Folder with a Password in Windows 10?

  • By Alex
  • Jul-26-2019
  • Knowledgebase
  • 5 Comments.
Spread the love

Many times we need to lock our folders which are having confidential files. But we don’t know how to do that. So we are providing you the process of locking folders as well as files in Windows 10.

  1. Right click where you want to create lock folder & select New ->Text Document
  1. Open this new created Text Document & paste below Texts in that file: –

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

:End

  • Find Your-Password-Here & replace your own password which you want to set on that folder
  • Click on File-> Save As
  1. In save as type select “All Files” & put file name as FolderLocker.bat
  1. Save this file

Now you see a file named FolderLocker.bat in your folder.

  1. Just run this FolderLocker.bat File. It will create a folder named “locker”
  1. All your files which you want to lock copy them in Locker folder.
  2. After that again run FolderLocker.bat. It will ask for your confirmation to lock. Just type Y and Enter. It will lock your folder.

Whenever you want to unlock your folder just run this FolderLocker.bat file. It will ask you for password. It will show you the folder once you enter your password

Share this:

  • Tweet
  • WhatsApp
  • Print

Comments

5 Responsesso far

  1. Adi Satria Pangestu says:
    February 6, 2020 at 5:15 am

    I really enjoyed this. can i share this ?

    Reply
  2. Chandil says:
    October 15, 2020 at 9:33 pm

    thanks for the knowledge

    Reply
  3. Mauliyani says:
    November 19, 2020 at 12:33 pm

    thanks information

    Reply
  4. Darmansyah says:
    February 8, 2021 at 10:21 pm

    thanks for the knowledge

    Reply
  5. artgrafter says:
    February 12, 2021 at 9:14 am

    thanks for this information. can i share this ?

    Reply

Leave a Reply Cancel reply

Login with your Social ID

Your email address will not be published. Required fields are marked *

← Previous Post Next Post →

Top Posts & Pages

  • Adsun LED TVs and Accessories Customer Care/ Service Center Details
  • AVITA India Customer Care/ Service Center Contact Details
  • Kodak LED TV Customer Care/ Service Center Details
  • IGO LED TV/Washing Machine/Microwave/Refrigerator/Bluetooth Speakers Customer Care Contact Details
  • CloudWalker TV Customer Care & Service Center Contact Details

Categories

Recent posts
  • Boat India Customer Care/ Service Centre Details March 29, 2021
  • Disha Eye Hospitals Kolkata Customer Care /Helpline Contact Details April 8, 2020
  • Adsun LED TVs and Accessories Customer Care/ Service Center Details November 2, 2019
  • How to Lock a Folder with a Password in Windows 10? July 26, 2019
  • Willet LED TV/ Set Top Box Customer Care / Service Center Contact Details May 22, 2019
Latest Posts
  • Boat India Customer Care/ Service Centre Details March 29, 2021
  • Disha Eye Hospitals Kolkata Customer Care /Helpline Contact Details April 8, 2020
  • Adsun LED TVs and Accessories Customer Care/ Service Center Details November 2, 2019
  • How to Lock a Folder with a Password in Windows 10? July 26, 2019
  • Willet LED TV/ Set Top Box Customer Care / Service Center Contact Details May 22, 2019
Popular Articles
  • Boat India Customer Care/ Service Centre Details March 29, 2021
  • Disha Eye Hospitals Kolkata Customer Care /Helpline Contact Details April 8, 2020
  • Adsun LED TVs and Accessories Customer Care/ Service Center Details November 2, 2019
  • How to Lock a Folder with a Password in Windows 10? July 26, 2019
  • Willet LED TV/ Set Top Box Customer Care / Service Center Contact Details May 22, 2019
  • facebook
  • twitter

Powered by WordPress  |  Business Directory by InkThemes.

Go to mobile version