How to Lock folder without any software with password

Now you can lock folder without any software or application to be installed. You can keep all your data, photos, videos, etc. in the secure password-protected folder. Whenever anyone tries to open that secure folder, it will ask for the password to verify it. This trick will save your memory space as it does not require any software. But this trick will work only in Windows operating system. If you want to change the folder color in windows, you can check that blog in the Windows category.

Steps to Lock Folder without any Software with Password:-

(1) Open Notepad or Notepad++ in windows and create a new file.

(2) Copy the below code and paste it in that file.

@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Important goto MDImportant
:CONFIRM
echo Are you sure to lock this 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 Important "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== crazytechgo goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Important
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto End
:MDImportant
md Important
echo Important created successfully
goto End
:End

Also Read: How to block Ads on Computer 2020

(3) Now save the File name with .bat extension in any folder you want (example setup.bat).

lock folder without any software

(4) Now double click on the batch (setup.bat) file. After double-clicking on that file, you will see a new Folder with Name Important is created. To Add your Private Files, Photos, Videos in that Folder.

Also Read: Duckduckgo Search Engine Features

(7) Now again double click on setup.bat file, and a window will pop up asking you “Are you Sure to lock this Folder” Type ‘y‘ and hit Enter. After that, you will see the folder ( Important Folder ) is hidden.

how to lock folder without any software

Note that your folder is now locked and hidden.

(8) To access your hidden folder, you need to double click on that batch file (i.e. setup.bat file) and enter the default password ( crazytechgo ) and hit enter.how to lock folder without any software

Also Read: How to Use Wifi and Hotspot together in Andriod

(9) To re-lock (and hide) the folder, just double click the batch file and again a window will pop up and press Y and hit enter.

(10) If you want to Edit Folder Name & Password, you need to make some changes in the batch file. The default folder name is “Important“, and the default password is “hello.” Where ever you see Important Word replace with the new name of the folder you want and to change password replace with the word hello with anything.

More Tricks on Android:- Hide Your Photos and Videos in Google Search

Leave a Reply

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