How to lock a Folder without using any Software? People generally use folder lock software to hide or lock confidential data from others. But why use those softwares, however you can protect/lock those data without using any software. Here I am going to tell you two methods through which you can hide or lock folders in order to protect your confidential data from others. Follow the guidelines from bellow.
Lock Folder without using any Software (Method 1):
- Make a new Folder
- Inside Folder make a (TXT) file and copy the following code inside it
Quote: cls@ECHO OFFtitle Folder Privateif EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCKif NOT EXIST Private goto MDLOCKER:CONFIRMecho Are you sure you want to lock the 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 Private “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 folderset/p “pass=>”if NOT %pass%== password here goto FAILattrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Privateecho Folder Unlocked successfullygoto End:FAILecho Invalid passwordgoto end:MDLOCKERmd Privateecho Private created successfullygoto End
- Now go the line ( 23 ), You will find this word : password here (Change it with ) any password u like
- After that, Save the (TXT) file as (locker.bat)
- Now back to the folder and you will find a ( LOCKER ) commanding
- Now Click on it
- After clicking on it you will see a new folder (Private )
- Now copy the files, which you want to hide or protect
- After that again go to ( LOCKER ) and click on it
- It will open and ask you want lock your folder? Y/N ?
- Type ‘Y’
- And that is it, you have simply done
- Now to view or unlock it again, Click on ( LOCKER ) and type your password
Lock Folder without using any Software (Method 2):
Note: For this you should have folder in NTFS drive
- Open run
- Type cmd
- Now type – cacls e:\(name of the folder in drive e) /d everyone For Locking Folder
- For unlocking type – cacls e:\(name of the folder in drive e) /g everyone:f
Once you have locked the Folder, whenever someone wants to open it, it will show a message ‘access is denied‘
Well, This is how you can lock or protect your valuable data from others without using any software or programs. Stay tuned with us for more updates like this.
0 comments:
Post a Comment