HackGh Community Forum

Log in

I forgot my password

Who Is Online?
Guests : 0
Hidden : 0
Registered : 0
Users Online :
Refresh View the whole list

Latest topics
» [FBT] Proxy testing October 2017
Thu Nov 23, 2017 2:14 pm by willspanner

» Getting a PayPal Account in Ghana
Sat Nov 11, 2017 1:34 pm by saudseidu

» How To Unlock All Alcatel Modems and Phones For Free
Thu Oct 26, 2017 11:34 pm by paah11

» Build your bitcoin wealth with Btccashin matrix revolution 100% legit
Sun Oct 22, 2017 7:46 am by rootboy24

» What does the "secret code" *#9900# really do to your Android device?
Tue Oct 10, 2017 1:28 pm by chinesta10

Tue Sep 26, 2017 1:01 pm by kbasante

» Airtel Sika kokoo promo
Wed Sep 20, 2017 4:07 pm by Dagobert

» Glo Proxy Cheat 2016 Fbt/Cheats By HackGhTeaM
Sat Sep 02, 2017 6:31 am by chinesta10

Tue Aug 15, 2017 1:20 pm by akokono

» Instagram Account hacked
Sun Aug 06, 2017 7:17 pm by saudseidu

Top posting users this month

Free counters!
Staff Online
Staff Online
Most Online179
Newest Member
BBC alternative

You are not connected. Please login or register

 » Computer Tricks And Technology Tips » Pc ( Windows ) Tips & Downloads » 

Creating Password Protected folder in Windows

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Creating Password Protected folder in Windows on Sun Aug 17, 2014 10:25 pm


Active Newbie
Step 1: Open Notepad and Paste the Below Code in it.

title Trickslove.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
echo Are you sure to lock this 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 MyFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== trickslove goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md MyFolder
echo MyFolder created successfully
goto End

Note: the Default password is trickslove so if you want to change the password, simply replace trickslove in the above code with your own chosen password that you can remember.

Step 2: Now save the Notepad file, name it "Lock.bat" and Choose "All Files" in Save type as.

Step 3: Remember the Location where you save the file, now Double click on your Created file which will create a Folder there with the name "My Folder"
Step 4: Now Copy paste all your important data and paste it in that Folder. Next Simply you have to Double click on the lock.bat file which we created. a CMD window will pop up just like below picture.

Step 5: Press "Y" and hit enter to lock the folder. You will see the My folder is now hidden and cant be seen.

To Unhide the folder, again double click on Lock.bat file, this time it will ask you the password so if you have not altered the above code then write "trickslove" and hit enter to unhide the folder.

If you Replaced trickslove with your own password then you will be needed to enter that password in the CMD to unlock the folder.

That it, we just created a password protected folder in windows by your own which will be helpful to you whenever you wish to hide your personal data from others.

Now here is a Small tip: Once you Hide the Folder, Simply Cut paste the lock.bat file in your pendrive or any other location. Whenever you want to unhide the folder again simply Paste the Lock.bat file in your pc, double click and enter the password..

Bonus Friendly Tip: Please do not Cut paste your Important data in to the folder and then hide it when you are trying this trick for the 1st time. If you do not perform this trick correctly then may be you will not be able to unhide the folder and end up loosing your data.

I hope this tuturoal prove to be useful and you will like it. if you have any trouble then feel free to speak your mind in the Comment box below. i would love to hear from you.

View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum