How to hide files and folders on Windows 10

The content on our personal computers belong to us, and we prefer to keep some things private. That is why some files or even folder on the hard drive should remain hidden. For example, important documents, videos, or maybe many inexperienced users have access to your PC, and you just want to neutralize even the slightest chance of them deleting certain items. What your reasons are, you should know how to make files and folders invisible in Windows 10. Today we will review two easy and quick methods that involve using File Explorer and Command Prompt.

We created this structured guide to keep it simple. So, all you need to do is just follow the step below and hide what you need from prying eyes. Also, will learn how to access the items you hid.

How to hide files/folders with the help of File Explorer

We find this way to be the easiest, so we will start with it.

  1. Start File Explorer.
  2. Go to the directory where the file you want to hide. Or to the directory with the whole folder.
  3. Right-click the object and select Properties from the menu.

You will see multiple tabs, but now you only need the General tab. In the Attributes section, there will be the Hidden option. Activate it and click Apply.

When you are concealing a folder that has multiple objects or even subfolders, you may want to hide them too – to do that don’t forget to choose “Apply changes to this folder, subfolders, and files.” Then click OK.

Click OK one more time to finish the task.

When all steps above are completed, no one will be able to see the files and folder you have concealed (even you) due to the default Windows 10 settings. The operating system is not showing hidden files. How can you access hidden object then? You can type the path to the folder (or file) you hid in File Explorer. For example, C:\Users\Mr.President\Documents\Files\Budget.txt and hit Enter.

Another way is to open File Explorer and go to the View tab where you need to check the option called Hidden items. After checking this option, you will be able to see all hidden object and use it normally.

If you decide that hidden files no longer need this kind of protection, you can make them visible again. Just redo your actions and uncheck the Hidden option in the file’s (folder’s) properties.

How to hide files/folders with Command Prompt

Here is another alternative method to do the same. It may seem more complicated than the first one, but if you follow our instructions carefully, it will be just as easy.

Go to the Start Menu and use the search bar to find Command Prompt.

Start it and use the following command to pinpoint the objects you want to hide and hit Enter: cd C:\Users\Mr.President\Desktop\DefenseFiles

Note: the command above is just an example, so you will need to replace that path. Type the path to your files or folder instead.

To hide a file/folder you selected, you will need to enter this command: attrib +h “DefenseFiles”

Note: instead of “DefenseFiles” go with the name of the folder/file you want to hide. Quotation marks are not required if the name of your folder/file has no spaces.

If you are concealing a folder with multiple subfolders and files in them, and want to keep them under the radar as well, then you’ll have to do a few steps more.

When you are in the Command Prompt menu, use this command to navigate within the hidden: cd “DefenseFiles.”

Note: don’t forget to replace “DefenseFiles” with the actual name of the hidden folder. Press Enter.

To hide everything in the hidden folder (all files and subfolders), use the command and press Enter: attrib +h /s /d

When you are done, all objects that had the hidden attribute added to them will disappear from File Explorer.

How to make hidden files/folders visible again?

Changed your mind about hiding specific files? No problem, here are steps you need to follow in order to disable the hidden attribute.

Open the Start menu.

Use search and run Command Prompt.

Enter this command to pinpoint the location of the hidden objects and hit Enter: cd C:\Users\Mr.President\Desktop\DefenseFiles

Note: In this command, you need to use the actual path to your files/folders after “cd.”

To make the hidden objects visible type – attrib -h “DefenseFiles” – and hit Enter.

“DefenseFiles” must be replaced with the name of your hidden folders/files. Don’t use quotation marks if the names of your objects don’t have spaces.

If you have added the hidden attribute for files/subfolders within a hidden folder, you will need to remove the attribute for them as well.

In Command Prompt you must navigate with the command – cd “DefenseFiles” – and press Enter.

Don’t forget to replace “DefenseFiles” in the command – use the actual name of the hidden folder.

The hidden attribute can be removed (for all files and folders) with the following command: attrib -h /s /d

These are the most efficient and quick methods to hide files in your Windows 10. Use them to keep your information private!