:: How To Create A Password Protected Folder In Windows 7 ::
Steps To : How To Create A Password Protected Folder In Windows 7
-Create a folder and give it any name you wish. Double click on the folder and then right click and select “New” > “Text Document” Now rename this file to password.bat and make sure the file extension is .bat and not .bat.txt. Now open the file and copy the below text and then paste it in to the file.
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%== ENTER YOUR PASSWORD HERE 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 |
-Now double click on the password.bat file and this will create a Private folder. Now copy and paste the files you wish to keep private in to this private folder.
-When you have finished copying the files go back to the password.bat file and double click on it again. You will get prompted. “Are You Sure You Want To Lock The Folder Y/N” Type Y and hit enter. The folder will now disappear. I recommend moving the Password.bat file to someone else on your computer.
-If you want your folder to re-appear move the Password.bat file back in to the folder you created the folder in and double click on the Password.bat file, enter your password and hit enter, your folder will now re-apear.
Warning : How To Create A Password Protected Folder In Windows 7
This script is a very basic script to work out how it works and how to get around it. I would say 80% of IT trained staff will be able to hack this password protected folder, This is why I recommended to move the password.bat file after you have secured your folder.