How to Hide Files and Folders on Windows 10

Written by | Categories: Computers - Tips & Tricks - Computers - Windows 10

Do you have secret files that you want to keep away from prying eyes?

Do you want to hide your files in a super way that nobody can find them?

There are always specific reasons to hide certain files & folders on your computer. The very basic reason is to prevent other users from deleting your content.

Making your files & folders hidden is easy but there is a better way to protect and hide your files, using the Command Prompt.

In this easy tutorial you will learn how to hide any file & folder using the Explorer and CMD.

You can also try to make a folder invisible. It’s different, but can be useful for extra layer of security.

Let’s dive in!

1. Hide Your Files & Folders Using the Explorer

In this first method we will be using the Explorer (Windows+E) to hide our secret folder.

Navigate to the location of the folder or file you want to hide, right-click on it and choose “Properties“”.

Check “Hidden” under Attributes, click “OK“.

If there are any files or subfolders under your folder you will have to apply changes to subfolders and files too. Click “OK“.

To view your hidden files/folders you need to go to “View” in the Explorer and tick “Hidden items” under Show/hide ribbon.

2. Hide Your Files & Folders Using the Command Prompt (CMD)

The command to hide your folder in the Command Prompt is as easy as this:

attrib +h Secrets

After you hide your folder you need to hide the subfolders and files inside, use this command after you cd into your folder:

attrib +h /s /d

To make your folder visible again use this command:

attrib -h Secrets

The same applies for files/subfolders inside:

attrib -h /s /d

Make Your Files/Folders Super Hidden

You can make your files/folders hidden further by adding the +s attribute, this will make your secret folder a system folder that cannot be deleted.

attrib +h +s Secrets

cd Secrets

attrib +h +s /s /d

In order to view the super-hidden system folder go to Control Panel, click on “File Explorer Options“.

On “View” uncheck the setting “Hide Protected operating system files (Recommended)“.

There you go!

You just learned how to hide your secret data in Windows 10 ;)

Thanks for sharing.



The author:

Soufiane is a young computer scientist and specialist in web design, knows a lot of things in the computer world. This enthusiast enjoys helping people innovate and learn more about the IT world...

Write a comment:

xD oO ^_^ =] =) ;-( ;) :| :woot: :whistle: :sleep: :sick: :police: :p :o :ninja: :mm: :love: :lol: :kiss: :hmm: :evil: :bandit: :angel: :alien: :D :) :( 8)