Tips Tricks of Internet and PC - How to Create a Password Protected Folder Without Software and How to Hack it!
Welcome, Guest! Registration RSS

PC Tips & Tricks

Monday, 23/01/2017

Securing Confidential Data is a basic requirement of everyone. This can also be done through available Softwares on Internet. Now i will share a method to Lock folders Without using any Software. This Trick will work in windows XP, Vista and Windows 7.


Why to Use this Method?
  • If you are afraid of getting Viruses through Softwares(This Technique is completely Safe).
  • If you are using PC of someone else and want to do some prank and not having enough time to download and install Softwares.
  • If for some reason you are not able to Install Softwares on PC.

How to do it?

  • Open Notepad( Start->Run->Notepad)

  • Copy the Code below and Paste it into 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%==mixworld 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

  • Password for the above batch file is set to mixworld. You can change it to anything by editing mixworld to your choice in following line:
if NOT %pass%==mixworld goto FAIL

  • Now Save this file with a name anyname.bat(here .bat is the extension). I am choosing mixworld.bat as my file name in this tutorial.


  • Now a Bat file is created.

  • Now double click on bat file and it will ask you for password and Enter Password(for the above code it is mixworld).

  • Now you will see a folder named LOCKER in the same location where you saved anyname.bat(mixworld.bat here) file.

  • Open it and fill it with the data you wanna hide.

  • When you are done with the above press Y in the bat file and hit Enter.
  • Now Close this Bat file window and locker folder will hide itself.

  • Again to Edit Locker Folder double click mixworld.bat file and enter password.
You can do it as many times as you want. :)


How to Hack it if you Forget the Password?

Note:This is only for legal purposes. I don't take any responsibility if you hacked someone's Data and get caught. So don't do it for Illegal Purposes.

  • For this you need to open bat file with Notepad Again BUT You CANNOT open it directly in Notepad by Right clicking it and open it with  notepad.


  • Now Right click on mixworld.bat and Go to Sendto option and then choose Notepad.
  •  The Code which we used to Create it will come and the

if NOT %pass%==mixworld goto FAIL

password will be the content bold above(here mixworld).
Now you know the password thus you successfully Hacked into the Password Protected Folder.

Enjoy guys :)