How do I password protect my files and folders in Windows 7?

Arbham Sisodiya December 11, 2012

I am using Windows 7. I want to password protect some private folders, how can I do that?

  1. Aditya Roy
    December 18, 2012 at 6:40 pm

    I use Protected Folder,and its the best!

  2. Arun Vishnu
    December 14, 2012 at 9:31 am

    iobit folder password protection may be the best choise.checkout from;

  3. Vishal Srivastava
    December 13, 2012 at 3:19 pm

    Note, that tip is old. However, most software that work on Vista should work fine on Windows 7.

  4. Joseph Darwin Co
    December 12, 2012 at 6:02 pm

    download 7-zip and compress them with a password

  5. Ahamed Yaseen
    December 12, 2012 at 1:22 pm

    There are many ways to protect your folder.
    1) First option is making a rar file. You can make a rar file and can easily add a password in that...

    2) Use private software... some softwares are....

    i) IObit Protected folder see here :

    ii) Hide Folder 2009 and 2012 ( can make hide , lock, read only, protect option)
    for more refer the link...

  6. Duy Nguyen Minh
    December 12, 2012 at 7:26 am

    use file and foder protection with password.

  7. prashanth singh rathore
    December 12, 2012 at 6:10 am

    u can directly lock the drive by using bitlocker
    or u can use an winzip software encrypt the data
    or use folder lock software

    if u want to protect without using any softwares the follow these steps

    Step 1. Copy and paste the following codes in a notepad file.

    title Folder Confidential
    if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
    if NOT EXIST Confidential goto MDLOCKER
    echo Are you sure you 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
    ren Confidential "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    echo Folder locked
    goto End
    echo Enter the Password to unlock folder
    set/p "pass=>"
    if NOT %pass%== Replace this Red portion with your password goto FAIL
    attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Confidential
    echo Folder Unlocked successfully
    goto End
    echo Invalid password
    goto end
    md confidential
    echo Confidential created successfully
    goto End

    Step 2 : Save the file as “Key.bat”. You are done. When you’ll double-click on the Key.bat file for first time, a folder “Confidential” will be automatically created. You can move all your confidential data in that folder.

    Step 3:

    Now to lock the folder just double-click on the file “Key”. You will get a confirmation message in Command Prompt. Type “y” to confirm. Now the folder “Confidential” will be locked and hidden.

    If you want to get access to the contents of the folder then again double-click on the batch file, you have created. Immediately you will be prompted to enter your password. After that you can get access to the folder “Confidential”.

    By this process you can password protect the folder and no body can get access to the folder without the password.

  8. Yiz Borol
    December 11, 2012 at 9:55 pm

    There is no easy way to do this: you'll need to download and install an extra program that will password protect folders or directories, the best way to keep files or folders hidden is to create an account and choose don't share info.

  9. Abba Jee
    December 11, 2012 at 7:21 pm

    Right Click on the folder select Properties, Go to Security Tab, Click on Edit, A new window will open, Change the permission from Allow to Deny, it's secured if no one use your computer under your username... There are so many commercial & free software to provide more advanced level security to your folders & files

  10. Joel Jacob
    December 11, 2012 at 3:32 pm

    Check out this link -

  11. pp potana
    December 11, 2012 at 2:09 pm

    If you can spend some bucks go for Iorbit one mentioned else go for these mentioned in this article

  12. Ahmed Musani
    December 11, 2012 at 8:44 am

    A simple solution is to use IObit locker.
    free and easy to use software.
    other methods might get complicated.

  13. Alan Wade
    December 11, 2012 at 8:00 am

    Here is an excellant MUO article on hiding and protectiong folders.


    • Alan Wade
      December 12, 2012 at 7:25 am

      No problem!

  14. Ramón García
    December 11, 2012 at 7:24 am

    iobit protected folder is a good option if you don't have 7 ultimate or enterprise

  15. luis donis
    December 11, 2012 at 6:32 am

    iobit protected folder is best for my simple and nice

  16. josemon maliakal
    December 11, 2012 at 4:10 am
  17. Anonymous
    December 11, 2012 at 4:10 am

    If you have windows 7 ultimate then use bit locker which comes with windows. other third party softwares are also available like Lock A Folder , folder lock and others. or alternatively you can lock a folder using notepad as well in this link you can see details.

  18. Kamil Ko
    December 11, 2012 at 3:52 am

    I would use Winrar (or 7-zip) to password protect the file(s). Also, remember someone could delete that folder.

  19. Jim Chambers
    December 11, 2012 at 3:00 am

    Use a program such as IOBit Protected Folder that is free from MUO for 400 points.

    • Douglas Mutay
      December 11, 2012 at 8:32 am

      Good option if he has these point or if he is willing to exchange them... :-)

    • Vishal Srivastava
      December 11, 2012 at 5:45 pm

      Good option!! Its worth exchanging 400 points for that software...

  20. Paul Girardin
    December 11, 2012 at 2:25 am

    This answer was found on

    How To Lock And Password Protect A Folder In Windows 7 by Nakodari on November 29, 2008

    Do you want to lock and password protect your important folders in Windows 7?

    If you are an administrator and have multiple accounts set up in Windows 7, then you can block few important folders so that they can not be accessed by other users. Every time the blocked folder will be accessed, it will ask for administrator password. Therefore the folder will be locked permanently unless you don’t remove the lock yourself.

    To lock a folder, right-click on that folder and select Properties. Now navigate to Security tab, and click Edit.

    A new window will pop-up, now under “Group and User Names”, select the user from the list whom you want to deny access to a specific folder, now under “Permissions for Users” check the Deny checkbox next to Modify (all other checkbox will get ticked automatically).

    Click OK and then click Yes when a Windows Security window will pop-up.

    Now click OK again and you are done.

    Now the specific user that you selected from the list will be denied access to this folder.

    If you find it hard to change file access permission for specific users each time you want to password protect a folder, have a look at LocK A FoldeR ( ), an application for Windows that lets you password protect folders with a click.

    For the first time usage, it asks you to enter the master password to prevent others from accessing the application.

    Just enter the password to open main interface. Now, click Lock a Folder, enter the master password, select the folder(s) you want to lock, and then click Lock it!.

    This will immediately password protect the folder and hide it from source location. To unlock the folder, launch the application, and click UnLock a Folder. It will ask you to enter master password, and then show all the locked folders.  Just select the folder you want to unlock, and then click Unlock It!. It’s that simple!

    LocK A FoldeR works on Windows XP, and Windows 7.

    Get the full article (with screenshots) here: ( Don't worry, even if the title of the link says Vista, the article itself is for 7).

    • pp potana
      December 11, 2012 at 2:09 pm

      Nice one..

    • Roomy Naqvy
      December 11, 2012 at 4:07 pm

      This is really quite helpful and impressive. Thanks a lot.

    • Vishal Srivastava
      December 11, 2012 at 5:45 pm

      Really nice tip!!

    • Saurabh Kumar
      December 16, 2012 at 10:18 am

      its really helpful, thanks.......

    • Saurabh Kumar
      December 16, 2012 at 10:19 am

      I have used IObit protected folder and its was nice and also very simple to use, u should give it a try.......

Ads by Google