How to create a secured and locked folder in Windows 7
Recently I looked around on the internet on "How to create a secured folder for windows 7", but that only lead to programs and software, That you'll have to end up downloading and installing, and after 30 days are so, you'll have to end up buying the software\program for future use. So i spent some time recoding the "Windows XP Folder Lock Hack" and came out with "Windows 7 Folder Lock Hack With Backup". As i was coding the bat file I remember seeing on a certain site a comment saying, "please help me..after locking the folder and unlocking it, i cannot view the whole folder anymore..please..please..please…they are all important files!!!" so i added a backup solution.
Step 1
Open Notepad and type the below code into it.
Save the file to the desktop as All files Windows_7_Lock.bat
remember *.bat is a important role in making Windows_7_Lock.bat
cls
@ECHO OFF
title Windows 7 Private Folder
if EXIST "H4x0r4Life" goto UNLOCK
if NOT EXIST Personal goto MDLOCKER
set/p "cho="
if %cho%==YES goto LOCK
if %cho%==yes goto LOCK
if %cho%==no goto END
if %cho%==NO goto END
echo Invalid choice.
goto CONFIRM
attrib +h +s "H4x0r4Life"
echo Folder locked
cls
echo Do you want to backup your files?(YES/NO)
set/p "cho="
if %cho%==YES goto BACKUP
if %cho%==yes goto BACKUP
if %cho%==no goto END
if %cho%==NO goto END
echo Invalid choice.
goto End
echo Please enter your password...
set /p "pass="
if NOT %pass%==elitehacker goto FAIL
attrib -h -s "H4x0r4Life"
ren "H4x0r4Life" Personal
echo Folder unlocked successfully
goto End
goto UNLOCK2
goto end
echo Folder created successfully
goto End
robocopy c:\Users\TheEmoLab\Desktop\H4x0r4Life C:\backup /e /eta
cls
echo Files have been backup successfully!
pause
goto END
@ECHO OFF
title Windows 7 Private Folder
if EXIST "H4x0r4Life" goto UNLOCK
if NOT EXIST Personal goto MDLOCKER
:CONFIRM
echo Are you sure u want to lock the folder(YES/NO)set/p "cho="
if %cho%==YES goto LOCK
if %cho%==yes goto LOCK
if %cho%==no goto END
if %cho%==NO goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Personal "H4x0r4Life"attrib +h +s "H4x0r4Life"
echo Folder locked
cls
echo Do you want to backup your files?(YES/NO)
set/p "cho="
if %cho%==YES goto BACKUP
if %cho%==yes goto BACKUP
if %cho%==no goto END
if %cho%==NO goto END
echo Invalid choice.
goto End
:UNLOCK
echo Welcome Hacker...echo Please enter your password...
set /p "pass="
if NOT %pass%==elitehacker goto FAIL
attrib -h -s "H4x0r4Life"
ren "H4x0r4Life" Personal
echo Folder unlocked successfully
goto End
:FAIL
echo Invalid passwordgoto UNLOCK2
:FAIL2
echo Invalid passwordgoto end
:MDLOCKER
md Personalecho Folder created successfully
goto End
:BACKUP
clsrobocopy c:\Users\TheEmoLab\Desktop\H4x0r4Life C:\backup /e /eta
cls
echo Files have been backup successfully!
pause
goto END
:End
elitehacker is the password you could change this to fit your needs.
TheEmoLab is the user name in which is the name of your windows 7 account.
robocopy is the backup code in which we assume C:\ is were your windows system is installed.
robocopy C:\Users\TheEmoLab\Desktop\H4x0r4Life C:\backup /e /eta
Desktop is the folder in which we assume you are starting this project on the desktop.H4x0r4Life is the hidden folder which hosts your important information.
Note: Don't create this folder if it's not there all ready...
Step 2
[You should get a file on your desktop with a tool looking icon]
Double click Windows 7 Lock.bat
[Once doubled clicked you should get a folder on your desktop called Personal]
Step 3
[Put all of your personal information into this folder]
Step 4
[double click Windows 7 Lock.bat]
To Lock And Save You Folder
Step 5
[When you want to retrieve your file Double click Windows 7 Lock.bat]
And type in the password as was set. elitehacker
Step 6
[Also remember that your backup files are located C:\backup]
When you goto C:\ drive you will not see the backup folder
Simply goto the address bar and type C:\backup
Subscribe To Our News Letter with your Email




0 Comments
DID YOU LIKE THIS BLOG.