Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to hide all my important folders. Fortunately I did that, but the biggest loophole here is anyone can find my files using their names in search. So if my folder is not visible, anyone can simply type its name in Windows 7 search and he will get it.

So what is the use of hiding it?

Is there any way through which I can disable Windows 7 searching for hidden files and folders?

share|improve this question
add comment

5 Answers 5

If you've already set the 'Don't show hidden files' setting in Explorer then hidden files should not be shown in the index, if they are then you might need to re-build your index.

I should say that marking a file as hidden is really only meant to stop accidental modification not as a way to secure sensitive files. For that you need use the file/folders ACL (ie security settings) to restrict access to specified users.

share|improve this answer
add comment

Step-by-step instructions can be found in How To Hide Hidden Files and Folders in Windows 7 .

share|improve this answer
add comment

If you use different users and those you don't wan't to see your folders don't have admin rights then do as snowdude suggests, make sure only you have the rights to view the given files/folders. Open command prompt and type:

cacls "C:\Path\To\Folder" /G YourUserName:F

You can also make two simple batch scripts to hide and unhide your folders from search

Hide.bat
cacls "C:\Path\To\Folder" /G SYSTEM:F

Unhide.bat
cacls "C:\Path\To\Folder" /G YourUserName:F

You need to run the unhide before you can access the folder yourself.

Edit: cacls is actually deprecated in favor of icacls, but cacls removes all access rights but the one you assign, so no need to remove other users' rights.

share|improve this answer
add comment

As an alternative you can use Secret Disk. It can create additional disk(s) on your PC, which can be invisible and locked with a password. You can make your files and folders invisible and protected. Secret Disk does not encrypt any files. Secret Disk only limits access to your files.

It is available in both Free & Pro versions.

share|improve this answer
add comment

You should hide all of your files, not just the folder containing the files.

Put all the files you want to hide into a folder and then hide this folder and hide the files in the folder.

After that the search will not find the hidden files.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.