Skip to main content

How to Lock folder without any software with password


Step 1: Open Notepad
Step 2: Add Code to Document
            Now just copy the text below and paste it into your document.
@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 you 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 comes 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.


Comments

Popular posts from this blog

How To Reset The Trial Period Of Software To Use It Lifetime? 🖥

1. First, uninstall the software and follow the steps. 2. After uninstalling software, OpenRUN (Windows key + R) and type regedit and hit Enter. 3. Now Registry Editor Window will appear and here navigate to HKEY_LOCAL_MA CHINE \ SOFTWARE \ Your Software name from left a pane of this window. If you find any Key name with your software name then just Delete that Key. 4. Similarly, navigate to HKEY_CURRENT_ USER \ Software \ Your Software name and if you find any key with your software name then just Delete it and close the Registry Editor window. 5. Again go to RUN and type %temp% and hit Enter. 6. Now Delete all the things in that folder. Don’t worry these are the temporary files and not necessary for your operating system. 7. Now go to C:\Users\your username here\AppData. Under AppData open all three folders "Local", "Local Low" and "Roaming” and check. Under these three folders if you find any folder or anything with your Software's name, j...

Permanently delete a file from its hard drive

Do you know that when you  delete a file from the recycle bin,  it is not  permanently deleted?   Yes, it is still present on your  hard drive!   If you try to  delete sensitive data  from your hard drive, a (very) malicious person can recover your files using data recovery software or through the  Windows File History.   What to do then to  permanently erase a file from his hard drive? How are you going to  delete this file? You put the  file in the trash  from Windows Explorer, you open the trash then you  delete the file.   Faster, you can also select the file from the Windows Explorer and press the  Ctrl + Delete keys  to  delete it without going through the trash. Using this method, you have the impression that your file is  permanently deleted.   Still, it still exists physically on the hard drive.               ...

Remove Shortcut Virus From Your Pc And Pd

How To Remove Shortcut Virus From Your Pc and Pd ✅ Method 1. - Clean up and remove Shortcut Virus by CMD - 1. Click on  Start  and select  Run; 2. Type: CMD  and Hit Enter to open  Command Prompt; 3. Type the  drive letter  of your hard drive partition in PC or USB flash drive and hit Enter; (G for example.) 4. Type:  attrib g:. /d /s -h -r -s  and hit Enter. You’ll be able to see your files and data on Windows PC or USB flash drive now. ✅Method 2. -Cleanup Shortcut Virus with Shortcut Virus Remover or Anti-virus Software- If you need a double guarantee, you can download and install anti-virus software to clean up all shortcut viruses from Windows 10/8/7 computer and USB, etc external storage devices. Here below you’ll see a list of anti-virus software and tools and you can selectively choose one to try ➡Trojan Removal Tool; ➡Shortcut virus fix folder; ➡Malwarebytes Anti-Malware, etc. ✅Method 3. - Delete/Wip...