ThisCalculator

Everyday

Show Hidden Files and Folders in Windows: Fix

Updated · Standard formula, shown below

Show Hidden Files and Folders in Windows: Fix

If you cannot see hidden files and folders in Windows, the setting is usually turned off in File Explorer, or a group policy or registry tweak is blocking it. This guide walks you through the standard fixes for Windows 10 and Windows 11, from the simple checkbox to the deeper registry edits.

Why Windows Hides Files by Default

Windows hides certain files and folders to protect them from accidental deletion or modification. These are usually system-critical files (like boot.ini, pagefile.sys, or the AppData folder) that, if changed or removed, could break the operating system or installed programs. Hiding them keeps the average user from messing with things they don’t understand.

There are two distinct types of hidden items:

  • Hidden files/folders – These have the “Hidden” attribute set in their properties. You can toggle this yourself on any file.
  • Protected operating system files – These are critical system files that are both hidden and marked as system files. Windows hides them even when you’ve enabled “Show hidden files” unless you also uncheck “Hide protected operating system files.”

Knowing the difference matters because the standard File Explorer option only reveals the first type. The second type requires an extra step.

How to Show Hidden Files in File Explorer

The most direct method is through File Explorer’s View menu. Here’s how it works in Windows 10 and 11:

  1. Open File Explorer (Win + E).
  2. Click the View button in the toolbar (Windows 11) or the View tab in the ribbon (Windows 10).
  3. In Windows 11, hover over Show and click Hidden items. In Windows 10, check the box next to Hidden items.
  4. To see protected system files, click Options (or Folder Options) on the View menu, go to the View tab, and uncheck Hide protected operating system files. Confirm the warning.

That’s the standard fix. If the checkbox is grayed out, or if toggling it does nothing, a group policy or registry setting is overriding your choice.

What to Do If the Option Is Grayed Out or Doesn’t Work

If the “Hidden items” checkbox is grayed out, or you check it and nothing changes, the most common cause is a Group Policy setting. This is especially common on work or school computers, but can also happen on a personal machine if a registry tweak was applied.

Here’s how to check and fix it:

  1. Press Win + R, type gpedit.msc, and press Enter. (This is only available in Windows Pro, Enterprise, or Education editions. If you have Windows Home, skip to the registry method below.)
  2. Navigate to User Configuration > Administrative Templates > Windows Components > File Explorer.
  3. Find the setting “Turn off the display of hidden files and folders”. Double-click it.
  4. Set it to Not Configured or Disabled. Click OK.
  5. Restart File Explorer (right-click the Start button and select Task Manager, find Windows Explorer, right-click and choose Restart).

If you’re on Windows Home, or the policy is already set correctly, the issue is likely in the registry. Open Registry Editor (Win + R, type regedit) and go to:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced

Look for a DWORD value named Hidden. Set it to 1 to show hidden files, or 2 to hide them. If it doesn’t exist, create a new DWORD (32-bit) named Hidden and set the value to 1. Also check ShowSuperHidden – set it to 1 to show protected system files. You’ll need to restart File Explorer after making these changes.

Why Files Are Still Not Showing Even After Enabling

Sometimes you enable the setting, but a specific file or folder still doesn’t appear. Here are the usual reasons:

  • The file is actually a system file – As mentioned, you need to uncheck “Hide protected operating system files” as well.
  • The folder is marked as “System” – Some folders, like AppData, are system folders. The same fix applies.
  • You’re looking in the wrong location – Hidden files are still in the same directory; they just don’t show. Use the address bar to navigate directly to the full path (e.g., C:\Users\YourName\AppData) and see if the folder exists.
  • Antivirus or third-party software is interfering – Some security programs can hide files or block changes to folder options. Temporarily disable your antivirus to test, but re-enable it afterward.
  • The file is actually deleted or moved – It’s possible the file is gone. Check the Recycle Bin or use a search tool like Everything to verify.

Using Command Prompt or PowerShell to Unhide

If you prefer the command line, you can change file attributes directly. Open Command Prompt (as administrator) or PowerShell and use the attrib command.

To show a hidden file or folder:

attrib -h "C:\path\to\file"

To show a system file (remove both hidden and system attributes):

attrib -h -s "C:\path\to\file"

To apply it to all files in a folder and subfolders, use the /s and /d switches:

attrib -h -s /s /d "C:\path\to\folder\*"

This is useful if you have many files to unhide at once. Be careful with system files – only unhide them if you know what you’re doing.

How to Hide Files Again (and Why You Might Want To)

Once you’ve finished your task, you might want to re-hide those files to keep the system clean. Simply reverse the steps: uncheck “Hidden items” in File Explorer, or set the registry values back to 2 (for Hidden) and 0 (for ShowSuperHidden).

Hiding files is not a security measure – anyone who knows how to show hidden files can do so. If you need to protect sensitive data, use encryption (like BitLocker on Windows Pro) or store it in a password-protected archive. Hiding is only for decluttering the view.

Frequently Asked Questions

Why can’t I see hidden files in Windows 11?

The steps are slightly different from Windows 10. In File Explorer, click the View button in the top toolbar, then hover over Show and select Hidden items. If that doesn’t work, check the Group Policy or registry settings as described above.

How do I show hidden files in Windows 10?

Open File Explorer, go to the View tab, and check the Hidden items box in the Show/hide section. To see system files, click Options > View tab, and uncheck Hide protected operating system files.

What is the difference between hidden files and protected system files?

Hidden files are simply files with the Hidden attribute. Protected system files are critical for Windows to run, and they have both Hidden and System attributes. Windows hides them even when you show hidden files, to prevent accidental deletion. You must uncheck “Hide protected operating system files” to see them.

Is it safe to show hidden files and folders?

Yes, showing them is safe. The risk is in modifying or deleting them. As long as you only view them and don’t change anything, you’re fine. If you need to edit a hidden file, make a backup first.

How do I unhide a specific file or folder?

Right-click the file or folder, select Properties, and uncheck Hidden in the General tab. If it’s a system file, you’ll first need to uncheck “Hide protected operating system files” in File Explorer options, then you can clear the Hidden attribute.

Why is the “Hidden items” checkbox grayed out?

This is usually due to a Group Policy setting that prevents users from changing folder options. If you’re on a work or school computer, contact your IT admin. If it’s your personal computer, use the registry method to set the Hidden DWORD value to 1.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.