Password Protect a Windows Folder




About: "May the good belong to all the people in the world. May the rulers go by the path of justice. May the best of men and their source always prove to be a blessing. May all the world rejoice in happiness. ...

Many times we want to give a password to protect contents of a windows folder (for various reasons).

There are applications like lockbox available where you can store data. However, someone can always delete lockbox and u could lose the data even though the other person cannot access it....

in such a case, use the following steps to password protect a windows folder from others accessing it....

Step 1: Steps to Protect a Windows Folder

Suppose the folder is in c drive and is named abc: so its c:\abc in DOS

1. Now, go to run and type cmd there
2. do this - type
ren c:\abc (space) c:\abc{Hold Alt key here and type 456 or a few digits of your choice}
release the alt key
3. you should see a funny symbol in the dos window immediately after abc

4. This symbol is dos based, windows does not recognize it.

5. now go to windows explorer and click on abc folder, it will not open. Moreover, it will look like abc_

(windows cannot display that funny symbol and so replaces it with an underscore '_'

If dos and windows are installed correctly, no one except you can access this folder now.

6. To add data, go back to dos and rename it to normal abc, then add the data and rename it mixed (dos + windows).

7. to better hide your folder, make a new folder in program files or windows folder and name it like a system folder name.. ;-D

Deviating slightly,

Use common sense and make this world a better place ---- Vedic blessing

"May the good belong to all the people in the world.
May the rulers go by the path of justice.
May the best of men and their source always prove to be a blessing.
May all the world rejoice in happiness.
May rain come in time and plentifulness be on Earth.
May this world be free from suffering and the noble ones be free from fears"



    • Woodworking Contest

      Woodworking Contest
    • Classroom Science Contest

      Classroom Science Contest
    • Arduino Contest 2019

      Arduino Contest 2019

    9 Discussions

     your just renaming it? simple, but not really all that effective since a lot of people know command prompt (unless they don't think about using command prompt, but then they don't know what the "_" is so... hmm, it should work)


    3 years ago

    I found the tutorial a bit complicated as it took me a few minutes to read through the steps. Why not recommend an easy one? With iMoresoft Folder Locker, you can add a password in two steps. One is to choose the destination folder, then type your password, all is done in two minutes.

    Tutorial: How to add a password to windows folder in 2 minutes

    1 reply

    Reply 3 years ago

    Thanks! This i'ble was made seven years ago, for windows 95 & xp, when applications were not widely available!


    9 years ago on Introduction

    This isn't working on my Windows 7 notebook.


    10 years ago on Introduction

    Umm, that's not password protecting the folder. Sorry, but all it does is give the folder a character as a name. If I was trying to get into the folder, all I would is double click on it, or copy the character into command and to cd ╚ or what ever the character was. Good try though!

    1 reply

    Reply 10 years ago on Introduction

    cd ╚ - This symbol does not show in Windows - it only shows "_". You only see it in DOS. when you exit dos after renaming it and double click on the windows folder, it will not open. A person using windows will never see your dos symbol character. reg ketan


    10 years ago

    Hello, and welcome to the Instructables community! It's great that you've decided to tell the world about something you've made by publishing an Instructable. We just wanted to let you know that your project still needs a little more work if you want it to be well received on Instructables. Projects that don't include certain basic elements tend not to get the attention that they deserve, and so we'd love for you to check out the list below of what makes a successful Instructable. Successful projects on Instructables include: - clearly written details of a finished project with instruction - as many steps as are necessary to explain your project - clear images that you took of your project for most, if not all of your steps - an intro image - proper spelling and grammar - appropriate cautions or safety considerations I'll give you another opportunity to make any final changes to your project before we publish it. Once you're all set to go, please republish your project and send me a quick comment letting me know that you've made some changes. I'll give it a quick final check to make sure you're on the right path, and then remove this note. Thanks for your submission and we hope to see your project published soon!


    10 years ago

    Hey, this is a great instructable and is very informative. Just one thing is missing... pictures! It really helps a lot when trying to follow directions so you should consider taking some photographs. Once you do that and leave me a message when you have so that we can publish your work. Thanks! Thanks for the cool instructable and we hope to publish this soon!