Breaking

Monday 5 February 2018

How to password a folder on your computer in Windows

Are you a computer gig who has a lot of files which you want to prevent from unauthorized users from your PC, then setting a password to your folder to prevent such access could be one of the best option to apply in order to save your data from been paraded by an unauthorized user. In this article am going to lead you on the step to step approach on how to password or lock a folder on your computer to give a restrictions to your files on your PC.




Read Also:-How to Permanently Remove/Delete Windows.old Folder After Windows Updates

 Procedures on how to lock a folder on your PC

1. Simply open notepad or any plain text editor on your PC
2. Proceed by copying the below code to the text editor you just open in the previous step.

cls@ECHO OFFtitle ketreal.blogspot.comif EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCKif NOT EXIST MyFolder goto MDMyFolder:CONFIRMecho Are you sure to lock this folder? (Y/N)set/p "cho=>"if %cho%==Y goto LOCKif %cho%==y goto LOCKif %cho%==n goto ENDif %cho%==N goto ENDecho Invalid choice.goto CONFIRM:LOCKren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"echo Folder lockedgoto End:UNLOCKecho Enter password to Unlock Your Secure Folderset/p "pass=>"if NOT %pass%== Dbencotech goto FAILattrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolderecho Folder Unlocked successfullygoto End:FAILecho Invalid passwordgoto end:MDMyFoldermd MyFolderecho MyFolder created successfullygoto End:End

3. Next, continue by saving the code in the plain text editor with lock.bat
Note:- Do not hesitate to save it with .bat extension
4.  After saving the file, simply double click on it (lock.bat) which will be found in the document folder or pending to the location it was saved in your drive, a new file would be created with the name my folder 
5.  Just move all the files you want to give restriction action to the new folder
6.  Immediately the lock.bat icon is double clicked, a command prompt will pop-up simply enter y and press enter.
7.  After all this procedure my folder would be protected from unauthorized user and to access the folder back as the administrator simply double click on the lock.bat file.
8.  Which will require your password to access the locked folder.
      Note:  For security purpose simply replace the password Dbencotech   in the code above with your preferred password.
9.  After the previous step simply enter your password and proceed by clicking on enter or simply hit enter.


Check Out:-How to Access Whatsapp Images and Videos Folder Location Directly on PC using Bluestacks

Search Terms:-how to put password on folder windows 7,how to put a password on a folder windows 10,folder password software,how to password protect a folder mac,how to set password for folder in windows 7 without any software,what does encrypting a folder do,password protect folder software,how to password protect a folder in windows 8 without software.
   

Get our updates delivered to your inbox



No comments:

Post a Comment

Want to get all latest updates from DbencoPlanet.com?

Subscribe to DbencoPlanet to get all the latest updates free!