Saturday, 21 June 2014

Create Password Protected Folders in Windows without using Software

We all have Personal Data in our Computers which we do not want others to peep in. Many a times guests or Friends get their hands on your Personal Computer and start exploring your Computer. They may even have access to your Personal data which you do not wish to share with anyone.So to Overcome this Problem there are many Softwares Available on Web to Password Protect Any folder easily.


But Today in this article we are going to Learn How to Password Protect any folder in windows without any Software. You will have full Control over your Folder, We will create a .bat file which will create a Folder where you can store all your personal data and Hide it that no one can find it even on Searching.

To unhide it you will have to enter your Chosen password which guarantees High Security.

Also Check : How to download whatsapp for Pc with & Without Bluestacks

Creating Password Protected folder in Windows


Below Mentioned are some easy steps to Perform this Amazing Trick in your Windows PC.

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

cls
@ECHO OFF
title Trickslove.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
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.
goto CONFIRM
:LOCK
ren MyFolder "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 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
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
: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.
If You Like This Post Please Mind to Share It.
Technorati Digg This Facebook Twitter Stumble Stumble

85 comments:

  1. just hide the folder.... other people also see the hide folder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

    ReplyDelete
  2. Replies
    1. Hi Biggy, you might be missing out on something..... its Lock.bat and not Lock bat.

      Please follow the above steps properly and report back how it goes with you.

      Delete
  3. Replies
    1. Good to see your Comment Dipanjan,

      Delete
    2. bro just right click it and press edit password is visible!!what if some others do this??

      Delete
  4. Really cool trick... I've been looking for a way to do this for a bit now. Thanks!

    ReplyDelete
    Replies
    1. Hi Jacob, Yes its really Cool how you can create your own Password protected Folder in Windows. You are welcome.

      Delete
  5. Replies
    1. Thank you for performing this and i am happy to know that it worked for you. Enjoy

      Delete
  6. pls.. its not working + u can read the password from the title


    ReplyDelete
    Replies
    1. Hi Murali, You might be missing some above step.. and in the title its not the password its the name of this blog. you can alsways change your password from trickslove to whatever you want to. i have explained above.

      Delete
    2. if u are talking about the trickslove.com in the title bar, u can just simply change it from the command in the notepad. or u can just change the password

      Delete
  7. what if i delete the lock.bat? how can i return my folder that i save on my folder?

    ReplyDelete
    Replies
    1. Just Don't Delete it, Keep it safe.

      Delete
  8. Hi, it works great... thank you for that. I would be thankful if you post something like this to open EML file.

    ReplyDelete
    Replies
    1. Welcome Prabir, I will try to write a post on it. thanks for your suggestion.

      Delete
  9. Nice!! Will give a try definitely

    ReplyDelete
    Replies
    1. Sure Hemand, Try it and let me know how it goes.

      Delete
  10. it creates the folder however it desnt lock the folder. i enter the password through cmd still the folder doesnt ask for any PW its shows the files straight away

    ReplyDelete
    Replies
    1. There is a Mistake you might be doing. Please follow all the steps mentioned above and you will be able to perform this trick like others.

      Delete
  11. while writing the password it show what you writing can convert into ****** this?

    ReplyDelete
  12. its not working .. when i press "Y" it just change the name of folder without hiding it .

    ReplyDelete
  13. Yes Its Work , but Not helpful Because if you search your file in windows search engine , it will shown whole path of that file & also i can modify that file after that....
    so do you have any trick that i can invisible my file with password protected.

    ReplyDelete
  14. Simply Rocks...!! amazing bro.

    ReplyDelete
  15. if one opens the folder named, Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}, they could still see all the information in the folder, then what is the use of all this

    ReplyDelete
  16. is it possible to view the content of hidden folder by any other method ... like i have save some document picture in that folder .. will it be visible in our recent item, last played if we access it recently and then lock it????

    ReplyDelete
  17. When i click on the bat file it gives a messege "goto was unexpected at that time" & it does not create a file

    ReplyDelete
  18. Lock the folder. Right click .bat file. Click edit. Password on your counter. Enjoy :)

    ReplyDelete
  19. This is a neat thing but if you go into the folder options and you select to unhide protected operating system files you will be able to see the file and open it and it will not be locked down. This is a good feature if you just want to hide the file, but not if you are looking to secure a folder.

    ReplyDelete
  20. HELLO NEED HELP IT DOES'T WORK ON MY LAPTOP HELP

    ReplyDelete
    Replies
    1. Hi Nirav, what is the error you are getting, will please mention here.

      Delete
  21. I changed lock.bat to lock.exe with converter app.

    ReplyDelete
  22. lock.bat file directly opens in notepad..... plz help

    ReplyDelete
    Replies
    1. Did you selected All files while saving the files ?

      Delete
  23. i replaced some under echo parts, and i found it cool, thank you for this trick.

    ReplyDelete
    Replies
    1. Thats Great Mau kyogi, you are welcome

      Delete
  24. for the 1st time it works . but right now m trying to open my files but my files are not displaying in dat folder... plz help...

    ReplyDelete
    Replies
    1. Hi sushant, Can you be more clear ?

      Delete
  25. hey it doesnot password protect the folder,it just hides it with folder name Control Panel.{21EC2020-3AEA-1069-A2DD- and if i had selected show hidden folder in folder option this the folder can be seen and accessed without password.anything worng??

    ReplyDelete
  26. lock.bat is awsome..nice one admin

    ReplyDelete
  27. can i get a video demo of this trick

    ReplyDelete
  28. can v delete tat "Lock.bat" file..?? if someone deleted tat file, hw 2 recover the data from "My Folder" ??

    ReplyDelete
    Replies
    1. I would really not recommend this but you can cut/copy lock.bat file in your pendrive which only you do have access too... when you need to unhide the folder.. just paste it again where it was earlier....

      Delete
  29. Replies
    1. Yes Santhosh, good to know that you performed all steps correctly and it actually worked will for you.

      Delete
  30. It didn't work for me .. I've followed the steps but no result

    ReplyDelete
  31. Very misleading. You're not locking a folder, you're hiding it from you. Change your folder view preferences and you can still access.

    ReplyDelete
  32. after entering my password in cmd; it shows MyFolder , but after opening my folder it display that the folder is empty.

    ReplyDelete
    Replies
    1. Are you sure you had your files in the folder before hiding it ?

      Delete
  33. What if lock.bat file deleted??? Is there any way to recover that hidden data?

    ReplyDelete
  34. if i open the folder named, Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}, i can still see all the information i kept in the folder. i dont get it! :(

    ReplyDelete
  35. Plz can I get a video demo clip?or mayb just upload it on youtube and send us the link so we can watch it step by step.plz I would love to hear your reply

    ReplyDelete
  36. Hi It's really work...
    But I want to change my password...
    Plzz Highlight the Proper way....

    ReplyDelete
  37. that was awesome ..... i love tricks

    ReplyDelete
  38. hey..... nyc work... !!!! keep posting like dis...!!

    ReplyDelete
  39. hey its cool trick..but if use the wrong password many time repeatedly..then is there any chance to lost our data....

    ReplyDelete
  40. if i forget my pwd how can i recover my data

    ReplyDelete
    Replies
    1. Make another bat file with following command into same folder whre my folder saved
      ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder

      Delete
  41. what if some body right clicks it and click edit!!! the password will be visible to every one..then what to do??

    ReplyDelete
  42. plz you can give this trick video.. sir

    ReplyDelete
  43. awesome trick its really works thanks ya

    ReplyDelete
  44. hided successfully but couldnt open it. i didnt changed the password

    ReplyDelete
  45. finally it worked when i changed the password!!

    ReplyDelete
  46. really super trick frnd good work..........

    ReplyDelete
  47. wow thats a very nice trick guys and very easy to do it ... that was very helpful thenx a lot :P

    ReplyDelete
  48. not that good.
    it just makes the folder systen protected nd can be easily seen fter unhiding.
    and password can be seen by editing.
    maintain your standard atleast.

    ReplyDelete
  49. This comment has been removed by the author.

    ReplyDelete
  50. it`s so easy to see what what password people use to unlock the folder.we just need to edit the notepad file and walla we will see the password that use to open the folder. this locker is still weak

    ReplyDelete
  51. Ken, Replace replace "trickslove" with your own password in the line ... if NOT %pass%== trickslove goto FAIL

    ReplyDelete
  52. Its not hiding the folder.. Instead, its renaming the folder as 'Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}'.. Plz help..!!

    ReplyDelete
  53. help me its not working Its not hiding the folder and

    ReplyDelete
  54. hi i followed above steps bt still i can c dat folder named as 'Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}' instead of hiding .. pls help..1

    ReplyDelete