Widget by : IT Roshni
Powered by Jasper Roberts - Blog

How to Create a Password Protected Secret Folder in Win7 - Tutorials

How to Create a Password protected Secret Folder in Win7 - Tutorials


Create a secret folder in your computer, where you can hide and save your important data, files and documents. This will run on windows 7 only. Situation becomes more difficult if a laptop or computer is used by other peoples or friends. Don’t worry, after reading this informative article, you’ll able to create a secret hidden folder and also it’ll be a password protected folder, until unless user don't enter exact password. Your folder won't open. So, let’s see how to do this. Now follow the easy steps below.




Step 1
Create a Notepad file (Right mouse click >> New >> Click on Text Document)

























Step 2
Now Copy & Paste the code in notepad, the code given below:

Quote:
Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you 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 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 folder
set/p "pass=>"
if NOT %pass%== mycity goto 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
:MDLOCKER
md Private
echo Private created successfully
goto End
:End





Step 3
Save the file with the name of “lock.bat” (You must choose ANSI in encoding option)

























Step 4
After creating the bat file, Double click on ‘lock.bat’ file. It will automatically create a secret folder with the name of ‘Private’
























Step 5
Open the folder & place the whatever data, file, documents etc. You want to keep out of reach of other peoples and close the folder.




Step 6
Double click on ‘lock.bat’ file. It will open a window shown in the image. Type “Y” and press enter key. (After enter it will auto hide the folder. Now, anyone else won’t be able to see the folder in your computer)
























Step 7
When you want to see the folder again, double-click on ‘lock.bat’ again. It will open a window & ask you type the password to open the folder. Type the password and hit enter key. (The default password set is “mycity”). 

Your folder will be unhide, Open your folder and you can see your secret data in folder .




How to Change the Password ??


(You can change the password with this step)

Right-click on lock.bat file and click on edit option. Notepad editor will be open. 
Now, find the line 

if NOT %pass%== mycity goto FAIL

and replace the mycity to your new password words and save the file.



0 comments: