Saturday, October 27, 2012

How to Lock Folder Without Any Software : pC data Security Without Any Software


There are lot of ways to lock folders on computer,But in this post we sharing, How to hide folder / Lock Folder

without any software. Just go through this post to know about that.This trick works in windows xp,vista and windows 7.

How to Lock Folder using notepad

1.    Open Notepad [Start-->Run-->Notepad  OR Open Notpad].

2.    Copy the below code and Paste it in notepad.

cls 
:End 
@ECHO OFF 
title Folder Locker 
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK 
if NOT EXIST Locker goto MDLOCKER 
:CONFIRM 
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. 
goto CONFIRM 
:LOCK 
ren Locker "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%==12345678 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 
:FAIL 
echo Invalid password 
goto end 
:MDLOCKER 
md Locker 
echo Locker created successfully 
goto End  



Default Password Is
In the above batch code we added password is 12345678, and you can change that password.

3.    Now save the notepad file as locker.bat

Note : 1st Click on the bat file and lock to yes and then Unlock and your Folder is created where you save your data

4.    Now a batch file will created in where you saved location.

5.    Double Click on locker.bat file and you will see a Locker Folder at the same location where your      
       locker.bat file is saved.

6.    Double click on that Locker folder and store your personal data in it.
How to Lock Folder Without Any Software : pC data Security Without Any Software working all operating system without window 8

7.    After storing all your data in that folder again double click on locker.bat file and press Y there to Lock the folder and press Enter.

8.  The folder will be locked.

9.    To open this folder just double click the .bat file, the system will ask to enter the password. Just enter your password and Press Enter. The folder will be unlocked.

So this is very simple trick to hide or lock the files in window XP or window 7. Just you have to be careful that nobody can access the .bat file generated and can know your password.

0 comments:

Post a Comment