Windows 11 / How to Show Hidden Files and Folders and Restore the Setting

To view hidden files and folders in Windows 11, open File Explorer → View → Show → Hidden items. To hide them again, simply uncheck the same item. This setting is an option to show hidden items in the list and does not remove the hidden attribute from individual files or recover deleted files.

Showing Hidden Items in File Explorer

  1. Press Windows + E to open File Explorer.
  2. Navigate to the actual folder containing the files you want to check. It is easier to open the folder directly than to go through the recent files list in Home.
  3. At the top, select View → Show, and then turn on Hidden items. Take note of whether this setting was initially on or off.
  4. Check if hidden items are additionally visible in the folder list. If there are no hidden items in that folder, the screen may barely change.

Microsoft's Windows File Explorer User Guide explains how to show hidden files and folders in Windows 11 by going to View → Show → Hidden items. The menu display may vary slightly depending on the display language or app version, but the view menu at the top of the explorer is used, not the file or folder properties window.

What is the difference between display options and a file's hidden attribute?

Hidden is an attribute attached to a file or folder. Microsoft’s File Attribute Definition explains that files and folders with the hidden attribute are not included in the standard directory listing. The hidden items option in Explorer is a setting that allows you to see these items in the list.

Task What changes?
Turning hidden items on or off in Explorer Changes whether hidden items are displayed in the list. This does not remove the hidden attribute itself from the file.
Select or deselect Hidden in file properties This changes the hidden attribute of the file. Since this is different from the display option, the two states should be checked separately when comparing settings.

Therefore, just because a file becomes visible does not mean it has been changed to a normal file. Conversely, just because a file is not visible when hidden items are turned off does not mean the file has been deleted.

Practice: Check with a test file and restore to original state

By using a new test file instead of actual documents or system files, you can confirm the difference between the two settings. The following practice is a procedure to compare the hidden attribute and list display, not the file's content.

  1. Create an empty folder for testing. Enter some short text in Notepad and select File → Save As to save it in that folder with the name hidden-demo.txt.
  2. Open the test folder in File Explorer, record the original state of the hidden items option, and then turn it on.
  3. Right-click the test file and open Properties. On the General tab, select Hidden, then click Apply and OK to close.
  4. Turn off Hidden items in Explorer's View → Show. Check if the test file disappears from the list.
  5. Turn Hidden items back on. Check if the same test file is visible again.

Now return to the original state. It is easier to find the item again if you first remove the hidden attribute while the file is visible.

  1. In the test file's Properties → General, uncheck Hidden and click Apply and OK.
  2. Return Explorer's Hidden items option to the original state recorded earlier.
  3. Check if the file's hidden attribute has been removed and if the test file is visible in the original view settings.

The expected result is that while the hidden attribute is on, the file's visibility changes according to the show/hide settings, and after removing the attribute, it appears like a normal file. If the test file is not visible, first check whether it was moved to another folder and the state of the view settings.

Hidden items, access permissions and encryption

The hidden attribute is not a password or access permission to protect a file. You should not assume that other users cannot access the file just because it is hidden from the list.

Simply turning on hidden items does not automatically allow you to open files for which you do not have permissions. Windows' explanation of file security and access permissions states that file access is determined according to separate security information and permissions. If a permission error appears, instead of repeatedly changing the display options, check the correct account and access permissions for the folder.

If the file is still missing after showing hidden items

  • If you are looking at the file open dialog of another app, open the File Explorer with Windows + E to check again. Different filters may be applied in an app's file selection dialog.
  • Check the actual folder path and the account currently logged in. Displaying hidden items does not retrieve files from a different account or storage location.
  • If the original file has been deleted or moved, it cannot be recovered simply by showing hidden items. First, distinguish the file's location and whether it has been moved or deleted.
  • For this exercise, use only the test file you created. Do not change the properties or contents of unfamiliar system files or app configuration files all at once. If settings are restricted on a managed PC, check with the organization's administrator.