Table of Contents
To hide a file or folder in Windows 11, open its Properties and select Hidden. To see hidden items, use View > Show > Hidden items in File Explorer. The Hidden attribute is a display preference. Use account permissions or encryption for files that need protection.
Hide an item in File Explorer
- Right-click your file or folder and select Properties.
- Under General, check Hidden and select Apply.
- For a folder, read the prompt before applying the attribute to its contents. Choose the folder-only option if you don’t want to change every child item.


See hidden items or restore normal visibility
Open View > Show > Hidden items. Hidden items can appear faded. To make one visible regardless of this view setting, reopen its properties, clear Hidden, and apply. Windows treats protected system files separately, so leave those settings alone unless you have a specific reason to change them.


Set or clear Hidden from Command Prompt
Use a path to a file you own. Replace the example with the full path and use double quotes, especially if it contains spaces. Ordinary files you have permission to change generally do not require an administrator prompt.
attrib +h "C:UsersAlexDocumentsExample.txt"
attrib -h "C:UsersAlexDocumentsExample.txt"
The first command hides the item and the second clears only the Hidden attribute. See Microsoft’s attrib reference and more examples of file attributes. To see the file type as well, follow the guide to showing file extensions.
Reader Comments 0
Sign in with email or Google to join the discussion.