keepcalculator

06 Numbers and Powers

Show Hidden Protected Files Folders?

Card No. 06·6370 · Updated · Standard formula, shown below

To view hidden and protected files and folders in Windows, open File Explorer, click the “View” tab, then check the box for “Hidden items.” For protected operating system files, you must also uncheck “Hide protected operating system files” in the Folder Options dialog. This article explains both methods, why these files are hidden, and how to handle them safely.

Why Windows Hides Files and Folders

Windows hides certain files and folders to prevent accidental modification or deletion. These include system files critical for booting, configuration files used by applications, and user profile data like AppData. The hidden attribute is a simple flag stored in the file system; you can see it by right-clicking a file, selecting Properties, and looking at the Attributes section. Protected operating system files have an additional flag that makes them even harder to reveal, as they are essential for the OS to run correctly.

How to Show Hidden Files in File Explorer

There are two main ways to reveal hidden items in Windows 10 and Windows 11:

  • Quick toggle: Open File Explorer, click the “View” tab at the top, and check the “Hidden items” checkbox. This instantly shows or hides files with the hidden attribute.
  • Folder Options: Click the “View” tab, then “Options” (or “Change folder and search options”), go to the “View” tab in the dialog, and under “Advanced settings,” select “Show hidden files, folders, and drives.” This is the same setting but accessed via the classic dialog.

Both methods achieve the same result. The quick toggle is faster, while Folder Options gives you access to more settings, including the one for protected files.

Showing Protected Operating System Files

Protected files, such as the pagefile.sys, hiberfil.sys, and the System Volume Information folder, are hidden even when you enable “Hidden items.” To see them, you must also uncheck “Hide protected operating system files (Recommended)” in the same Folder Options dialog. A warning will appear because these files are crucial; proceed only if you know what you are doing. After unchecking, the files will appear with a different icon (usually a gear or a small shield) to indicate they are system files.

Using Command Prompt or PowerShell

For advanced users, the command line offers another way. Open Command Prompt or PowerShell as administrator and use the dir /a command to list all files, including hidden and system files, in the current directory. For example, dir /a C:\ shows everything at the root of C:. To change attributes of a specific file, use attrib -h -s filename to remove the hidden and system flags. Be extremely careful with this, as removing system attributes from critical files can break Windows.

Common Problems and Misconceptions

Many users think hidden files are invisible because they are dangerous, but they are usually just configuration files. A common issue is that after enabling “Hidden items,” some files still don’t appear. This happens because they are protected system files, or because they are hidden by a different mechanism, such as a group policy or a third-party tool. Another misconception is that deleting hidden files will speed up your computer; in most cases, it will cause errors. If you cannot see hidden files even after following the steps, check if your antivirus or a file manager like OneDrive is overriding the settings.

How to Hide Files Again

To reverse the process, simply uncheck “Hidden items” in the View tab, or re-check “Hide protected operating system files” in Folder Options. If you changed attributes manually, use attrib +h +s filename to restore them. Always restore these settings after you finish troubleshooting to keep your system protected.

Safety and Best Practices

When you show hidden files, you are only viewing them; you are not changing anything. It is safe to look, but avoid moving, renaming, or deleting anything you do not recognize. If you need to edit a file like the hosts file, make a backup first. Never delete the entire AppData folder or the System Volume Information folder—these contain data that Windows needs to function. If you are looking for a specific file, it is often better to use the search function with hidden items enabled, rather than browsing manually.

Alternatives to Showing Hidden Files

If you want to access a specific hidden folder without revealing everything, you can type its full path directly into the File Explorer address bar. For example, typing %AppData% will take you to the current user’s AppData\Roaming folder, even though it is hidden. Similarly, %ProgramData% opens the ProgramData folder. This is a quick and safe way to reach a known location without changing your global settings.

Frequently Asked Questions

Why can’t I see hidden files even after enabling “Hidden items”?

This usually means the files are protected operating system files. You need to uncheck “Hide protected operating system files” in Folder Options. Another possibility is that your organization’s policy has disabled the setting, or a third-party program is forcing it off.

Is it safe to delete hidden files?

Generally, no. Hidden files are hidden for a reason—they are often needed by Windows or your applications. Deleting them can cause errors, data loss, or even make Windows unable to boot. Only delete files you are absolutely sure about, and even then, consider moving them to a backup location first.

How do I show hidden files on Windows 11?

The process is the same as Windows 10. Open File Explorer, click the “View” menu at the top, and select “Show” then “Hidden items.” For protected files, go to the three-dot menu, select “Options,” and uncheck the protected files box.

What is the difference between hidden files and system files?

Hidden files have the hidden attribute set, which can be applied to any file. System files have the system attribute, which marks them as essential for the OS. Protected system files are usually both hidden and system. The “Hide protected operating system files” option specifically controls files with the system attribute.

Can I show hidden files using the command prompt?

Yes, you can use the dir /a command to list all files, including hidden and system ones. To change the visibility of a specific file, use attrib. However, this does not change the global File Explorer setting; it only affects the command line output.

Related

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

More cards in this drawer

The whole Numbers and Powers drawer →