For any Discuss/Help, contact us or Join Channel 👉 Contact Us Join Now!
Posts

Lock folder without Software Secret Method

How to Lock folder without any software with password



A secure folder is a feature used to safeguard sensitive data saved on a computer or other electronic device. It offers an additional degree of security by restricting access to the targeted region through encryption or password protection. This guarantees that only authorized individuals may access and read the data stored in the safe folder. The goal of a secure folder is to prevent unauthorized access to private material, such as personal files, financial papers, and sensitive information. With a secure folder, users can be certain that their information is safeguarded from theft, loss, and exposure.

Method No 01

⭕️Step 1 : Open Notepad

Start by opening Notepad, either from search, the Start Menu, or simply right-click inside a folder, then choose New -> Text Document.

⭕️Step 2: Add Code to Document

🌀 Now just copy the text below and paste it into your document.

Double Click To Copy The Code.

@ECHO OFF

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK

if NOT EXIST Private goto MDPrivate

: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 Private "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%== wonderhowtogoto FAIL

attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private

echo Folder Unlocked successfully

goto End

:FAIL

echo Invalid password

goto end

:MDPrivate

md Private

echo Private created successfully

goto End

:End.

⭕️Step 3: Edit Folder Name & Password

With the text pasted in, you can adjust the locked folder's name, as well as the password used to unlock it. The default folder name is "Private" and the default password is "wonderhowto."

⭕️Step 4: Save Batch File

Now save the file as whatever name you'd like, but make sure the name ends in ".bat" and that you select "All files" in the drop-down box when saving. Also, if you opened Notepad directly rather than using the right-click, be sure to adjust your save location accordingly.

Once saved, your file should look like this in the folder you choose:


⭕️Step 5: Create Folder

Now double-click on the batch file you just created (or select and hit Enter). You'll notice a new folder come up.

At this point, you can start adding files to this folder. Don't worry, you can always add to remove files from it later.


⭕️Step 6: Lock the Folder

Once you're ready to lock the folder, simply double-click on the batch file (or select and hit Enter), then choose 'y' on the window that pops up and hit Enter.

You'll notice that your folder has now disappeared.


⭕️ Step 7: Access Your Hidden & Locked Folder

Now whenever you need access to your folder, just double-click on the batch file, input your password, and hit Enter.

To re-lock (and hide) the folder, just hit the batch file again. And remember, you can name the batch file and folder whatever you like, you feel free to make sure of this trick in multiple locations on your Windows machine.

Done

➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

Method No 02


How to Lock folder without any software with password

You can use the command prompt to create a password-protected folder without using any additional software. 

Here is a simple tutorial you can follow:

Step 01. Open the command prompt by searching for "cmd" in the start menu.

Step 02. Navigate to the location where you want to create the folder. You can use the cd command to change directories.
  • Type the following command and press Enter: md secretfolder
  • Type the following command to create a new text file in the folder: echo password > secretfolder\password.txt
  • Type the following command to create a batch file: echo @echo off> secretfolder\lock.bat
  • Type the following command to append a command to the batch file: echo cls>> secretfolder\lock.bat
  • Type the following command to append another command to the batch file: echo @echo Enter password to access folder>> secretfolder\lock.bat
  • Type the following command to append another command to the batch file: echo @set/p "pass=>">> secretfolder\lock.bat
  • Type the following command to append another command to the batch file: echo @if NOT "%pass%"=="password" goto FAIL>> secretfolder\lock.bat
  • Type the following command to append another command to the batch file: echo @echo Correct password>> secretfolder\lock.bat
  • Type the following command to append another command to the batch file: echo @goto END>> secretfolder\lock.bat
  • Type the following command to append another command to the batch file: echo :FAIL>> secretfolder\lock.bat
  • Type the following command to append another command to the batch file: echo @echo Incorrect password>> secretfolder\lock.bat
  • Type the following command to append another command to the batch file: echo @goto END>> secretfolder\lock.bat
  • Type the following command to append another command to the batch file: echo :END>> secretfolder\lock.bat

To lock the folder, double-click on the lock.bat file. To unlock the folder, enter the correct password.

Keep in mind that this method is not secure and is intended for simple protection against casual snooping. It would be easy for someone with even a basic understanding of computers to bypass this password protection. If you need to secure sensitive information, it is recommended to use a more robust solution such as encryption.

Share and support 🤟😉

Join Telegram Channels

❤️💕

@ZahidSoftPk  @TurnitinPk  @ProofPk   @QuillbotPk   @GetCrack 

 💐🌹 😘 

Post a Comment

If you have any doubt, Let me know. Thanks 🌷
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience. Thanks. 🌷
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again. Thanks 🌷
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin. Thanks 🌷
Site is Blocked
Sorry! This site is not available in your country.