How to Create a Secured and Locked Folder in Windows XP

UPDATE: Since some people were having issues with this method of hiding a folder in XP (folder being renamed incorrectly, visible via the command prompt, etc), I am adding to the bottom another way to permanently hide a folder using a program called Free Hide Folder. Please scroll down to read about it.

If you’ve come across this page looking for a way to create a password protected, secure, hidden or locked folder in Windows XP for free, you’ve come to the right place. Unfortunately, Windows XP does not have any user-friendly built-in tools to create secure folders on computers with multiple users. Of course, you can encrypt data on your hard disk, but this only helps if your computer is stolen.

In a previous post, I wrote about how you can hide a folder in Windows XP using a rudimentary built-in feature. This method is useful if you want to hide a folder or file and you’re pretty sure that anyone who is using the computer will have no idea how to un-hide the data. If you’re dealing with someone a little more computer savvy, there is another way to create a secure locked folder without having to buy any 3rd party software. This only works on Windows XP, not in Windows 7 or Windows 8.

It basically involves using a script to morph the folder into something completely different so that it’s still visible, but nothing inside the folder is accessible. In order to view the data, you have to run another script to morph it back. Anyone who clicks on the folder will be brought to the Control Panel and simply think it is a shortcut. The other neat thing about this little trick is that any of the files or folders inside the hidden folder will not show up when you perform a search in Explorer.

Note: Before you try this on some really important sensitive data, you should make sure you create a test folder with some fake test data to ensure you get it working properly. Since we’re messing with the internals of the folder, it could cause data loss if not done properly. 

Here are the steps to create the protected folder in Windows XP:

  • First create a folder that you will use to store your confidential data. For example, I have created a folder called Fonts at the root of my D drive. Since the hidden folder will bring you to the Control Panel, it’s best to name the folder as one of the programs inside there.

folder to hide

  • In the same location where you created the new folder, create a new file in Notepad, copy the following below into it, replace Fonts with the name of your folder and save it as lock.bat.

ren Fonts Fonts.{21EC2020-3AEA-1069-A2DD-08002B30309D}

  • To save the file as a .bat file in Notepad, just put the whole thing in quotes, like “lock.bat” and then click Save.

lock folder

  • Now you should have a bat file named lock in the same directory as your Fonts folder, not inside the Fonts folder.

hide folder

  • Create another NotePad file and type in the following listed below and save it as key.bat.

ren Fonts.{21EC2020-3AEA-1069-A2DD-08002B30309D} Fonts

  • Now you’ll have lock.bat and key.bat along with your folder. Go ahead and double-click on lock.bat and your folder will turn into the Control Panel and nothing inside can be viewed. Clicking on it will simply bring you to the Control Panel. You’ll notice the icon should have changed also.

lock key folder

  • To view the data inside your folder again, click on key.bat and your folder will return to normal! Pretty simple!

Of course, keeping the key.bat file in the same folder will defeat the purpose of securing the folder, so it’s best to move the key.bat file somewhere else, or even better, put it on a USB stick or CD that only you can access.

Most people will be probably look at the folder and simply ignore it since it has the control panel icon and it links directly there. Of course, if someone knows this trick also, they can create their own key.bat file, etc and open it back up. However, if you’re dealing with someone who can do all of that, it’s best you check out more advanced 3rd party software to lock down a folder.

ALTERNATIVE METHOD:

If you’re having trouble with the above-mentioned method (from what I can see from the comments, a good number of people are), then here’s another quick and free way to create a secure folder in Windows XP. There is a very nice program called Free Hide Folder from Cleanersoft that allows you to easily hide your private folders.

Your folders are completely hidden and you must supply a password to open the program to unhide the folders. The personal edition is free, just click the Skip Registration button unless you’re using it for commercial purposes.

free hide folder

I’ve tried this program myself and I cannot access the hidden folder via Windows Explorer nor the command prompt. So if the above method is not working, give this a shot! Any questions, post a comment. Enjoy!

More posts from the Computer Tips Category

USB 2.0 vs. USB 3.0 vs. eSATA vs. Thunderbolt vs. Firewire vs. Ethernet Speed

5 Ways to Secure Your Data and Information

What Type of Data Do Websites Collect About You

How to Batch Change File Extensions for Windows Files

Popular Posts This Month

digital-photo-recovery.png

5 Photo Recovery Tools Tested and Reviewed

Wireless Tips – Does Your Wireless Router Keep Disconnecting or Dropping the Connection?

How to Create a Secured and Locked Folder in Windows XP

taskbar.png

How to Detect Computer & Email Monitoring or Spying Software

  1. Green Star says:

    i tried on one of my folder called CPanel, it works fine but when i locked it is renamed to CPanel.{21EC2020-3AEA-1069-A2DD-08002B30309D}. I can rename it back to CPanel by right clicking it. after renaming i can access folder contents. so i do not need to run key.bat,

  2. Keehun Nam says:

    That's ingenious!

  3. akishore says:

    Green Star, try it again because when you click on loc.bat it should simply be named CPanel, not CPanel.XXX. Something is wrong with your code, make sure you copy it directly from my site and change only the name. First try it with the name Fonts and see if it works, then change it carefully.

    Thanks!

  4. Green Star says:

    Thanks akishore, i tried with Fonts also, same results. as long as some one is not renaming it(by right clicking), them my data is hidden. but if some one renamed it, then they can see all my data.

    I directly copied code from your site, check the file name from my previous post. it is same like what you had in the site commend.

  5. Daniel says:

    I'm having the same experience as Green Star. Running loc.bat renames the folder as xx.{21EC2020-3AEA-1069-A2DD-08002B30309D}.

  6. akishore says:

    I'm curious as to what operating system you guys are running (Daniel, Green Star) because I am not having this problem on my computer, which is running Windows XP.

    Thanks

  7. Daniel says:

    Windows XP Pro Version 2002 Service Pack 2.

  8. Michael says:

    Same here as Daniel and Green Star, names the file Fonts.{21EC2020-3AEA-1069-A2DD-08002B30309D}.

    Running Windows XP Pro SP2

  9. Brendan says:

    What happened to the good old "Encrypted" attribute on folders? This seems like a rather overly complex way to protect a folder

  10. akishore says:

    Hi Brendan,

    Thanks for visiting my site! That’s a great question that you have. The problem with the “Encrypted” attribute is that it does not prevent someone from accessing that folder if the person can simply log onto your computer under your name. This type of hiding is meant for people who have kids or someone else in the house that they can’t “restrict”, but they still want to hide something from! Does that make sense? Using Windows encryption only helps prevent someone from stealing your data if they take your computer and can’t log onto your account.

    Aseem

  11. i_am_the_maharishi says:

    why not use an free open source on the fly encryption utility like TrueCrypt (http://www.truecrypt.org/) to create secure containers which can be loaded as a virtual drives… this is much more simple and very very very secure….

  12. Me says:

    Hi, this tip is only effective if 'Hide Protected System files' is set in Tools -> View within Windows Explorer.

    So hit-and-miss whether it would work for any particular PC and even then not very reliable- first thing I do on a new PC is turn all those Explorer 'Hide' settings off.

    Cheers.

  13. JeremyDuffy says:

    Note, if you move the batch files, you will have to adjust the code to compensate. For example, if your folder is in c:temp (e.g., c:tempFonts), and you put the batch files in c:, you will now have to code them like this:

    ren c:tempFonts c:tempFonts.{21EC2020-3AEA-1069-A2DD-08002B30309D}

    and

    ren c:tempFonts.{21EC2020-3AEA-1069-A2DD-08002B30309D} c:tempFonts

  14. xylph says:

    That's an ingenious tip, a nice way to utilise Windows itself instead of using a third-party software.

    I'm not very tech savvy, but I'm interested to know more about how renaming a folder can redirect you to another folder. Perhaps you can give me a link? Thanks!

  15. Evan says:

    I never thought of using clsid folders to hide contents. What this basically does is use the .{—–} as an extension }or class}. You can lookup clsids for most of the system folders. I have recently compiled a list of all of them because I'm planning to create a new control panel using html.

    You could do a my documents folder with a secret my documents folder hidden behind it.

    Note: This works for everything communicating through the windows API. If you connect through telnet, ftp, etc… the filename will be viewed as a filename (and wont hide the extension}. If you download it and you're running windoze it should still work as a link since the clsid is basically a memory space assigned to be a direct shortcut to the specified folder.

  16. Richard FDisk says:

    I use a two or three step method for "Sensitive Documents"

    1) use the "E" encrypted folders on external (NTFS formatted) hard drives / USB (NTFS formatted) chips, so if some one boosts my drive / chip they can't access the files in the folder (unless they plug it into my pc) and

    2) then within that "E" encrypted folder, I use a password protected zipped folder created with WinZip,

    so now if someone boosts the drive they not only have to connect it to my PC, they also have to contend with cracking the password of the encrypted WinZip Archive.

    step three is only for apps that offer it.

    3) any time an application offers the use of passwords for a document, spreadsheet etc. use it. then do step 1 & 2

    (the one exception is; if that "someone" can create a pc with the same: "computer name, user name(s), domain / workgroup name etc." then the "E" encryted folder is effectively bypassed and accessible, but "they" still have to contend with the password protection on the files in the "Zipped" folder and then, for apps that offer passwords, any file that is individually password protected by the app. it was created with.)

    Cheers

    RfD

    (no I'm not hyper paranoid, but these steps I use to protect customer information in files).

  17. Decoy says:

    by the simply commandshell like FAR Manager or TotalCommander you can easy enter into "Fonts.{21EC2020-3AEA-1069-A2DD-08002B30309D}" and have to see all inside, also you can delete or rename this folder.

    so this metod works with lasy users who uses WinExplorer

  18. Gladkov Oleg says:

    loc.bat:

    @echo [.ShellClassInfo]>.Fontsdesktop.ini

    @echo CLSID={21EC2020-3AEA-1069-A2DD-08002B30309D}>>.Fontsdesktop.ini

    key.bat:

    del .Fontsdesktop.ini

  19. Dark says:

    You can see and access to hidden folder from de windows console:

    cd font*

  20. hofshi says:

    I encountered the same issue like GreenDay. The folder is renamed to :
    Fonts.{21EC2020-3AEA-1069-A2DD-08002B30309D}
    instead of to
    Fonts

    So it is fairly easy to access the "locked" folder.

    Running Win XP Pro SP2

  21. Theodorik O'Bro says:

    Hi,

    Just tried this and I see how well it works… from Windows Explorer! NOT the CMD prompt though.

    Is there any way to make this a proper "full" secure and locked folder in XP?

    Otherwise, I'll have to find another solution.

    Cheers,

    db

  22. hort says:

    Thanks akishore, i tried to protect folder like you recommand but it have problem like Green Star that when i run loc.bat is renames the folder as xx.{21EC2020-3AEA-1069-A2DD-08002B30309D}. so i can't lock folder because it can rename and open it. i use windows xp sp2

  23. akishore says:

    Ok, I just updated this post with another method for creating a private hidden folder, so check that out at the bottom if you're still having trouble!

    Thanks!

  24. Sex Pistol says:

    Very cool technique – However, I can still search for files. How can we prevent the files from showing up in the search? Thanks.

  25. rajesh says:

    Dear All,

    I have system with OS(Windows XP), This is useing many people, But I have created folders which is having confidential things, In this case those folder need to make security for that how i can set the setting like password to open folder.

    King expecing the right response to solve this.

    With Regards

    Rajesh

  26. Chakri says:

    Hey I think it doesn’t work for the folder having spaces in between the folder name. As i've tried to and it failed.

    Is there any solution for this??

  27. anil says:

    best way to hide the folder is,

    go to command prompt.

    go to location(drive) using "cd" command where you want to create secret folder.

    make folder using "md" command".For example, I have created a folder called Fonts.

    to hide type:ren Fonts Fonts.{21EC2020-3AEA-1069-A2DD-08002B30309D}

    your folder will turn into the Control Panel and nothing inside can be viewed. Clicking on it will simply bring you to the Control Panel. You’ll notice the icon should have changed also.

    To view the data inside your folder again,

    type:ren Fonts.{21EC2020-3AEA-1069-A2DD-08002B30309D} Fonts

    your folder will return to normal! Pretty simple!

  28. lloyd says:

    heres the solution for those who have .{21EC2020-3AEA-1069-A2DD-08002B30309D} after the folder name:

    go to windows explorer then Tools > Folder Options

    go to the View tab and the check the box next to 'hide extensions for known file types'

    then go to the 'file types' tab and click 'new'

    paste {21EC2020-3AEA-1069-A2DD-08002B30309D} into the file extension box and click ok

    the file extension after the folder should be gone now.

  29. zeiss says:

    remember to test "locking" and "hiding" software on folders that do not contain critical information.

  30. Bj says:

    I would like to lock a file I keep on my desktop but keep the 'loc' and 'key' in a folder elsewhere. Can I do this?

  31. Sandeep Shonik says:

    Hi,

    This is a very good article. I want to know if there is a way by which any other user can unlock the locked folder on a workgroup. I have seven systems's on a network and I want only one of the users to have the access to the locked folder. So is there a way by which only one user, out of the seven can access the folder by unlocking it.

    Thank You.

  32. John Smith says:

    Very neat, but you are still able to get to the folder at a command prompt by referencing the DOS 8.3 name as given by the dir /x. Still cool none the less.

  33. TJ says:

    MY folder is locked! How to open it? Not able to do so.

  34. Nazgul-Killer says:

    Thanks a lot man, it helps much. I share this computer with many people, including my parents, and as you might've figured, I really don't want my parents to see this certain folder, and I don't want anyone else to see the other one, excuse me if I will not specify why, but you get the picture.

    Question: Does putting the loc/key files, or the locked folder under "hidden" mode in the settings, disrupt anything? Does it even matter? I really didn't see any problems YET, so better safe than sorry. Please do reply, and thanks again.

  35. santosh says:

    I have created a lock file and key file, but when I click key.bat file the folder which I have created is not opening.

  36. Ochao says:

    I used the following code for locking my personal folder in note pad and saved as mylock.bat, and the code was:

    Quote:

    cls

    @ECHO OFF

    title Folder Private

    if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK

    if NOT EXIST Private goto MDLOCKER

    :CONFIRM

    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

    :LOCK

    ren Private "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%== password here goto FAIL

    attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

    ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private

    echo Folder Unlocked successfully

    goto End

    :FAIL

    echo Invalid password

    goto end

    :MDLOCKER

    md Private

    echo Private created successfully

    goto End

    :End

    it was working smoothly. today i made another lock in the same drive. after making another lock i found that my previous locking system i.e. mylock.bat not working. i tried to open mylock.bat by typing my password. after sometime i found that a "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" file near mylock.bat. i opened this file but it's showing the control panel list. i tried to open this file with winzip and it's showing all files but i could not opened any file. now i want to know how to restore all the files in normal folder.

    Please help me

  37. Alex James says:

    Great tip.. however, XP, being a multi user system, is quite capable of locking folders BUT only IF you use it as a multi-user system and not 1 account for 7 members of the family. Create 7 accounts and specify what users can access what folders. Simply right click on a folder, choose Properties and choose Security tab. You can then add/remove users there and their privileges.

  38. Techbuzzard says:

    I would like to add one note about Free Hide Folder utility. Its a nice program, but if you ever need to format your drive and reinstall the operating system again, first unlock the folder you have locked through Free Hide and then reinstall the OS. What happens is that if you dont unlock the folder, and after a fresh install, you will not be able to see the folder which you have locked via Free Hide. But there is a work around which I will tell later. My personal favourite for hiding and locking folders is Lockbox and this is free.

  39. Voxzra Syet says:

    My Friend played around with this and improved it.

    First he made a folder called "bin" in your windows user home directory (ie. "C:Documents and SettingsYour_User"). Then instead of the original code he replaced it with…

    lock.bat:

    @echo off

    if not "%1"=="" ren "%1" "%1".{21EC2020-3AEA-1069-A2DD-08002B30309D}

    unlock.bat:

    @echo off

    if not "%1"=="" ren "%1".{21EC2020-3AEA-1069-A2DD-08002B30309D} "%1"

    This enables you to open command prompt, go to any directory, and type "lock folder_in_directory" or "unlock folder_in_directory" (minus the "") and viola you've just locked or unlocked a folder

  40. BBJ says:

    " Unfortunately, Windows XP does not have any user-friendly built-in tools to create secure folders on computers with multiple users "

    Oh really ? Why simply not use NTFS access control so that ONLY specific admin group can access to the folder and the other "users or guests to your pc " would not be able to ….

  41. Larry says:

    I am a consultant (not computer) and received an Excel password protected workbook from a client.

    I opened and closed the workbook all day at his office using the password he gave – a date in this format 06222008.

    I left his office to go home with the xl file on my laptop. Once I got home the password wouldn't work. He asked me to email the file back to him. He couldn't open it either.

    Anyone have any thoughts, suggestions, or solutions for me?

  42. ankur says:

    good article, i just needed simple security and it just helped once again thanks

  43. Navstar says:

    Is there any way that you can create shotcut to any other "ordinary" folder, other than the ones in Control Panel, by this method…??

    Anyways liked this one, was really cool…

  44. Abduullah says:

    Hey guys there is no need to create two bat file to get ur folder locked. they only thing u want to do is to create a folder . Now rename this folder and Write this after its name like

    1. create folder
    2. RightClick->Rename
    3. "Write name" just after this name write
    Dot(.){21EC2020-3AEA-1069-A2DD-08002B30309D}
    4. Example " Fonts.{21EC2020-3AEA-1069-A2DD-08002B30309D} "

  45. Praneeth says:

    Thanks for the share dude!!. The first technique to lock a folder manually was amazing.

    I also have an other question and I am not sure If you could help me out with it. I have a 500 gigs external Seagate HD and I use to store some important data in it. Here is the problem, When I connect the hard disk with the USB cable, I can see the pop-up that a new device is connected but the drive doesn't show up in the windows explorer. I have plugged the same device to my friends PC and the problem is still the same so, by this I believe that it is a problem with my HD and NOT with my PC or USB cable. I have also checked under disk management and the drive is found. When, I check the properties of the disk, it shows as Unallocated space. Please let me know, If it is possible to retrieve the data without using any recovery softwares. I want my data back!!

  46. raghav says:

    YOU ARE SIMPLY AMAZING !! SERIOUSLY….I JUST LOVE THIS !!

    THANKS A LOT FOR THIS TIP.

  47. dinesh says:

    wo0o0ooo0 hhhho0o0o0o

    it works, dude!!

    thanksssss

  48. [...] Create secure and locked folder [...]

  49. jobin says:

    think it's good but the folder can be deleted , any tricks for that ?

  50. Ahmed says:

    I tried it but the notepad files were saved with loc.bat and key.bat respectively and not as "loc.bat" and "key.bat". Also, I was not able to access my folder even when I click on key.bat file. Pls what's the problem?

  51. Deaner says:

    Amazing! thank you so much!

  52. Ash Smith says:

    I tried it on my "actual" folder, and the lock worked fine, cant unlock it tho………..and all the data in there is no unaccessible…….even for me !! HELP NEEDED URGENTLY

  53. david316 says:

    In reference Lloyd's Reply #39:

    "Here's the solution for those who have .{21EC2020-3AEA-1069-A2DD-08002B30309D} after the folder name:

    1) go to windows explorer then Tools > Folder Options

    2) go to the View tab and the check the box next to ‘hide extensions for known file types’

    3) then go to the ‘file types’ tab and click ‘new’

    4) paste {21EC2020-3AEA-1069-A2DD-08002B30309D} into the file extension box and click ok

    the file extension after the folder should be gone now.

    There is one further step (or procedure to add) to make the file extension not be visible for either the folder icon or the Control Panel icon views of the hidden (or re-directed) file and it is as follows:

    When doing step #4 above, after pasting in the long numeric file extension in the text-box, when the 'Create New Extension' dialog box opens, you will need to also click the advanced button (to the right), and then associate this extension with a known file type, by clicking the drop-down arrow in the drop-down box below and be sure to select the "Control Panel Extension" as the associated file type. Having done this last step, the file extensions will disappear from either viewable folder. The Control Panel version will then not be able to be renamed as well.

    Also, to those having trouble with their .bat files, #65 and #67, you very likely have mis-spelled something in the text of the .bat file (you should paste in the information from this website rather than typing it in!)

    You can compare and correct the contents of either .bat file (depending on your problem) by right-clicking the file and then choosing "EDIT" from the options menu from where you can compare the text in both files and make your corrections as needed.

    Thanks very much to "akishore" and Lloyd for their great solutions!!

  54. ZTB says:

    I need the work around for the Free Hide Folder. My HDD would not boot and I had to reinstall OS on another HDD. I can see everything on the original drive but can not access any of the files and folders I hid in Free Hide Folder. I would appreciate any advise. Norton 360 sees these files as I have scanned the drive and see the names flashing past.

  55. welcome says:

    Free Hide Folder hides folder in Windows. May be DOS can't find it (I didn't give a try, honestly admitting). Total Commander, however, clearly shows the folder and the contents as well. One can, via Total Commander, open the folder and its files with no problems.

    If one doesn't know what is a Total Commander, and if one thinks no one would work on one's PC with Total Commander, one may cotinue to use the Free Hide Folder!

  56. Archiver says:

    The method above will surely trick common users; It's also hard to create a key.bat from scratch for them. Alternative file managers/file explorers can get through though with only one click.

  57. Vistro says:

    Another good way to secure files is to place them in a secured (passworded) RAR file.

  58. Asep Sutisna says:

    It does not work in Vista!

  59. Janmejay Pati says:

    Sir, thanks a lot….I appreciate your tips. Do you have any suggestions on how can I protect my hard drives (C:, D:, etc)?

  60. YSV HALU says:

    I am using 'Free Hide Folder from Cleanersoft' and kept some important files in it. Unfortunately, I removed the software from my system. Please suggest me how to retrieve the data again!

    YSV

  61. sudhagaran says:

    thanks for the info, it was useful.. i tried both methods, with batch file and FHF software, but couldn't find my file after locking with FHF, how to unlock that..?

  62. [...] are times when we want our files and folders hidden from others – especially when someone borrows our computer or uses it.  A tool from WinMend called Folder [...]

  63. DOCTOR_C says:

    To protect sensitive data, you can use the built-in ZIP feature/compression agent of WINXP. Just place all your sensitives files inside and protect it with a long and complex password. ZIP files will give you better protection PLUS it saves disk space. using CLSID method is…forgive me for saying this…is lame.

  64. Justin says:

    It works great thanks so much!!

    I tweaked the code a bit and it works like a charm :D

    Cheers

  65. Masum says:

    Hi and HELPPPP!! I've hidden a folder, and now I've forgotten the master password, the one to access the actual program itself. What an idiot!

    - is there any way to get access to FHF again?

    - i sort of remember the password, but I'm thinking I forgotten the sequence of caps and smalls. Is there any way of automating the process of trying all possible combinations of caps/smalls in each place? I'm thinking a windows script/.bat file for example?

    Any help greatly appreciated!

  66. Joe says:

    When I click on Loc.bat file, the folder changed and the folder locks. When I click on Key.bat file it will not unlock. What's wrong?

  67. Elaine says:

    thanks! i learned something new! =) I liked creating secure folders!

  68. David Locke says:

    Nothing entered on or resident on a PC is secure. If you are trying to keep your peers out of your content fine, but never think that it is really secured.

    Oddly enough, using a police forensic application, I can pull your passwords for your online accounts off of your PC, this even if your browser did not save your passwords, and open your online accounts. Nothing is going to secure you from that application. Anything on silicon and magnetic media can be recovered. If it is on a PC, cell phone, or GPS device, it is not secured, except from your peers, which might be enough.

    Further, current commercial encryption sold by U.S. companies have their bit length limited to 256 bits. Yes, 256-bit DES is being replaced by 256-bit AES, but the bit length isn't getting longer, so brute force attacks can find the key in 2.5 months. There is no such thing as strategic encryption.

    Yes, there are encryption packages available that have longer key lengths, but you won't find those online, and you will pay a premium price. The vendors selling that stuff know that they are subject to export control laws. Putting that on your laptop means that your laptop won't leave the country.

  69. Aman says:

    Thanks man.. It was very useful and worked fine for me. Now I have a nicely hidden folder on my PC!

  70. Umar says:

    Hai, The Suggestion is worth but the the locked file can be deleted when we use the Loc.bat and Key.bat..

    So any suggestion for the files to be locked but cannot be accessed/deleted/movable other than the person who has locked the file..

  71. chaps says:

    Thank you for this great tips. I am just wondering, what if someone deleted the secure "Fonts" folder? Is the file still there? I tried deleting the folder and the folder was deleted. Thanks again.

  72. Archie says:

    Well, any File Manager, for example FAR manager, can view these folders, it's not secure. I recommend to try "Protect Folder" from Everstrike Software.

    Create a secure folder with your password, copy your files into this folder and they will be encrypted on-the-fly. You can click on this folder and you will be asked for your password – very handy.

  73. Gaurav says:

    its a cool and fantastic way to hide your stuff, but when you perform a search in windows xp, the hidden stuff shows up!

  74. Sun Wu Kong says:

    "Posted on August 20, 2007 at 1:27 pm

    There is a very nice program called Free Hide Folder from Cleanersoft that allows you to easily hide your private folders.Your folders are completely hidden and you must supply a password to open the program to unhide the folders."

    Note!!!! Your folders are not completely hidden and it can be accessed with command prompt. The program renames your folder, so you can't remember your folder. Folder name may be something like that….."XXXXXXXÿÿ". If you use the "cd" command, you can access the folder.

  75. Denis says:

    Another great and absolutely free tool for hiding of secret folder is BDV SecretFolder 2010: http://www.bdvnotepad.com/secretfolder_en.htm

  76. Raj says:

    Dude who ever is the author of the article, I bow myself to him . Great work and could you tell me what computer course I can take to learn how to hide folders of files in Windows?

  77. fadil says:

    hmm .. but i think it's too easy to open the folder . just use the command prompt to unlock it. hmm but this is a nice tutorial :)

    thank's for ur share^^

  78. teefa says:

    This was really helpful….I had some confidential files that I needed to protect on my computer.

  79. Kaeyur says:

    It does nothing when I run on Windows. If i go to command prompt and run it, I get "system cannot find the specified file"!!

  80. vijay says:

    Its working..I now have a secure and locked folder! Thank you so much!

  81. Priya says:

    Its working well. Thank u so much…

  82. Pankaj says:

    Folder locked is showing Recycle Bin icon.

    how can i unlock ?

  83. Deiva says:

    It's working great…nice and secure folder… Kudos to you

  84. Manu says:

    Hi,

    I have tried using the hide folder. After hiding the folder and when I searched for the folder where I hid my data, i was shown the folder where i hid the data even without entering the password.

    Then whats the use of using this tool, when every one can access my data.

    Please advise me.

  85. Sella says:

    Hey, when i save it as loc.bat, its not working! plzz help, it very urgent :S

  86. Ashish says:

    Thanks dude, ur batch file trick worked with me, thank you, I appreciate your skill and knowledge. Thanks and regards.

  87. Pysala says:

    Can you explain in more detail how to lock the folder? Thanks.

  88. Shanaka says:

    Wow………man that's COOL! This is a great way to hide folders! No one will figure it out. Thanks….:)

  89. Kumar says:

    I have tried both methods, the loc and key bat files and Free Hide Folder. The latter is definitely easier for most people and is more secure.

  90. Lane says:

    Simple yet effective way to hide files and folders in XP. A freeware program could be easier, but here you don't have to install anything.

  91. Amy says:

    Is there an easy way to password protect a folder? Basically when someone clicks on it, they have to type in a correct password, then can view the contents?

  92. Don says:

    I think it's best to use TrueCrypt to create a truly secure folder. Just my 2 cents.

  93. matthew says:

    How can I create a password for a folder in Windows?

  94. Nagaraj says:

    Hi,

    I have used to hide folder contents using Key.bat and Loc.bat method.. Using this method its creating a Control Panel icon on that same location. After creating it, I hide this folder. Now I am not able to view this folder again even I tried "Show hidden files and folder" option.

    Please anyone to help me to get my contents.

    Thanks in advance.

    Nagarajan

  95. reen says:

    thank you so much…this has helped me a lot.

  96. sun_hues says:

    if the folder is renamed it gets locked and doesnt seem to open at all…..well in that case even i cannot have access to my files even if someone else fiddles with it! any suggestions as to what can be done?

  97. yasin says:

    This is not a really secure way to create a hidden folder in Windows. I would suggest a third party utility rather than relying on Windows.

  98. Alyssa says:

    Quick question.

    "Of course, keeping the key.bat file in the same folder will defeat the purpose of securing the folder, so it’s best to move the key.bat file somewhere else, or even better, put it on a USB stick or CD that only you can access."

    Okay, I got the whole thing to work. I took the key.bat file and put it in a different folder to test it out real quick – and it doesn't unlock the folder unless it's in the same folder! Thus… ya know… defeating the purpose.

    What am I doing wrong?

  99. Raza says:

    Hi

    I want to know one thing…I will download free hide folder, but if I don't register it, will it expire in 10 or 15 days? I don't want to lose all my hidden data because of that. Thanks.

  100. kirti says:

    How do I create a password protected file or folder in Windows without installing lots of junk?

  101. Alauddin says:

    You are genious but there is a problem of renaming. After renaming it doesn't work. Please check it.Thanks

  102. yash says:

    hi i have locked my files in cleanersoft free hide locker than my pc was formated so this software was uninstalled, now how to retrive my locked files? can any body help?

  103. J says:

    Just tried this it works. You are a genius I love people like you it's pure simplicity is genius. Thanks!

  104. Ramanand says:

    Please suggest a better way to lock and hide a folder in Windows. Thank you

  105. Dave says:

    I use Folder Password Expert to lock folders in Windows.

    folder-password-expert.com

  106. asad says:

    Awesome work! Another great tip from your blog!

  107. alex says:

    if i use folder lock software and i have used it on d drive and protected a folder… and if i loose my system file for any reason and i need to format c drive and reinstall xp2..then will i get back my protecteed folder..how can i access it..

    help me please

  108. umair says:

    I locked a folder with this method called "paint" and now when I try to open it, it opens the Control Panel. How can I open the folder now?

  109. Lux says:

    Very interesting method :P Thanks! An intruder may not even suspect that there's something hidden within.

    He made you create .bat instead of renaming directly from command prompt to save you time each time you lock and unlock it. For those who haven't been able to unlock your own folder using your key.bat, make you sure you haven't hidden the private folder already (right click > properties > uncheck hidden). It didn't seem to recognize hidden folders.

    If you prefer to keep the .bat files in the same folder, you can also rename them to .exe for an extra advantage. They'll stop working until you rename them to .bat again. Chances of others suspecting that it's a renamed .bat file = almost nil

  110. Shankar says:

    Hey friend, nice work. It really helped me in locking my private data.

  111. chand says:

    That's a good technique….Have you any other techniques for creating locked folders in Windows?? Thanks

  112. Ayan says:

    How can you lock an entire drive in Windows? Please tell me…

  113. vikram says:

    yes its really works. I really like if u send me some tricks on my mail id also.

    great job. keep it up

  114. shishir Jha says:

    what is the procedure to restrict the desktop to create file and folder as well as not able to save any file or folder to the desktop of any user.

  115. sekhar says:

    Thanks for the tip. It is very helpful for me. Once again, thanks for posting this tip.

  116. Someone says:

    The whole premise of this article is completely wrong – XP does allow you to easily protect and hide folders!

    Just set NTFS permissions on the folders.

    The solution proposed in this article is not really secure, whereas using NTFS permissions is.

  117. Bruce says:

    Hi, I tried the Free Hide Folder program and, though it hides the folder, I can still access it using windows explorer or command prompt. Is it because I'm using Windows 7?

    If I use WinRAR to view my hard disk, the hidden folder is shown right there, and I can just open any file in it without the password. Is this how the program works? Or am I missing something?

    Thanks for the great article!

  118. Kumar says:

    Is it possible to create the file with password protected..? The password has to be stored as encrypted file attribute, so that users can open the file by giving the password.

    What I am looking is :
    When we right click and select create the file /folder option, it should prompt for the password to be set for the first time. Hence forth it should allow us to open the file / folder using the password.

  119. curiousgeorge says:

    If I was to use this method to hide a file named say "file" inside a secured folder, would it show up if I searched it using windows explorer?

    Would it be possible to hide a program in a folder using this method?

  120. Sas says:

    good post! Security in Windows is important, especially protecting sensitive data. Thanks.

  121. Shekhar Bhagat says:

    Its great, thanx a lot…..Its very simple to protect the folder which are very secret.

  122. joelson says:

    hi,
    I did what you said, but i named the folder C program..i made both the .bat files n my data completely disappeared and when i double click on the key.bat file, nothing happens at all…i want to get my data back

    PLEASE HELP!!!

    mail me your reply
    just in case, my id is
    joelsonfilipe@hotmail.com

Leave a Reply