'Hiii everyone this blog is designed for all about things releated to computers..Computer tricks,computer security,earn money online,Blogging,Seo,internet tricks,Latest technology updates..Basically a blog dedicated to computer geeks...so stay in touch to get regular updates :)

Wednesday, 4 April 2012

Lock any folder on windows without installing any software!!!!!!!

Hi Guys , Back with a new working trick......

Here is a NEW trick using which you can lock any folder on windows without installing any software.

Copy the code provided below exactly and paste it into notepad (Start > Run > Notepad). Save as protect.bat and exit notepad. Double click on protect.bat and you will see a new folder on your desktop called “Locker”.

 Copy all the files you need to be hidden there. Double click on protect.bat again, and it will ask you if you want to hide the folders, type in y and press Enter. To un hide, double click protect.bat, type in your password and press enter. That’s it!
Following is the code you’ll need to this stuff,
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
echo Are you sure u 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.
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
echo Enter password to Unlock folder
set/p "pass:"
if NOT %pass%== thisIsMyPassword goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md Locker
echo Locker created successfully
goto End
In the above code, don’t forget to edit the line that have your password the above code.
if NOT %pass%== thisIsMyPassword goto FAIL
Also this video will help you all...........
Update - Check out the following video tutorial that illustrates this trick,

Important Security Note – This is not a good method to secure sensitive data. If you want to keep the data away from the reach of your kid sister, then this can be a good method but it does not provide any security against people with good knowledge of programming. So if you actually want to be sure that no one can ever access the data that you lock, then please use some good software for the purpose.ppLEASEE  FOLLOW  this blog and ADD COMMENT IF U HAV ANY PROBLEM                            PLEASEEEE SHARE  THIS BLOG ON FACEBOOK  / GOOGLE+        IF U LIKE IT     AADISH 


  1. Hmmee..
    I never notice that tricks...

  2. hey, i cant open locker.dat file. when i double click on it,nothing happening. can you please tell me what can i do for that!!

  3. There is a bug in this coding....The folder when searched as Locker, we cannot find it,but when we search the name of any subfolder, we can get into the locker folder with ease... can you tell me how to apply the hidden and read only attribute to the sub files and folders using the batch file?


Designed by BlogThietKe Cooperated with Duy Pham
Released under Creative Commons 3.0 CC BY-NC 3.0
Posts RSSComments RSS
Back to top
Animated Social Gadget - Blogger And Wordpress Tips