Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Hide or Show Files and Folders in Windows 11

Use File Explorer or the attrib command to set the Hidden attribute, show hidden items, and make an item visible again.

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

  1. Right-click your file or folder and select Properties.
  2. Under General, check Hidden and select Apply.
  3. 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.

How to hide and show files in Windows 11 without software Picture 1

How to hide and show files in Windows 11 without software Picture 2

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.

How to hide and show files in Windows 11 without software Picture 3

How to hide and show files in Windows 11 without software Picture 4

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"

How to hide and show files in Windows 11 without software Picture 6

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.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.