
- How to password lock a folder windows 7 how to#
- How to password lock a folder windows 7 professional#
How to password lock a folder windows 7 how to#
If someone knows how to edit batch files they would be able to find your password without much effort. It also protects against anyone who would go to folder properties to view hidden files and folders. In Microsoft Office 2010 and beyond, click on the File tab, then click on Info, click on Protect Document and click on encrypt with Password. Also change "PASSWORDHERE" to whatever you would like your password to be. goto CONFIRM :LOCK ren Private "HTG Locker" attrib +h +s "HTG Locker" echo Folder locked goto End :UNLOCK echo Enter password to unlock folder set/p "pass=>" if NOT %pass%= PASSWORDHERE goto FAIL attrib -h -s "HTG Locker" ren "HTG Locker" NAMEOFHIDDENFOLDER echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDLOCKER md Private echo Private created successfully goto End :EndĬhange the name "NAME OF HIDDEN FOLDER" with whatever you would like the folder to be called.
How to password lock a folder windows 7 professional#
Tips: This way is effective only for Windows Professional or higher edition. You will see a list of users or groups of users that have access to that folder. This will open up a window with several tabs. Out of the several options visible in the drop down menu, select the ‘Properties’ option.

To unlock the folder, launch the application, and click UnLock a Folder. Right click on the folder which you want to protect from access. This will immediately password protect the folder and hide it from source location. Now, click Lock a Folder, enter the master password, select the folder (s) you want to lock, and then click Lock it. And then check the box for the ' Encrypt contents to secure data ' option, and then click OK. Just enter the password to open main interface. Select the file or folder, Right-click the file or folder and select Properties.

You can create a batch file and paste in this textĬls OFF title Folder Private if EXIST "HTG Locker" 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. Method 2: Encrypt Contents to Secure Data.
