How to Show Hidden Files in Windows 11, 10 & 7 (2026 Guide)

Learn how to show hidden files in Windows 11, 10, and 7 using File Explorer, Folder Options, CMD, and PowerShell. Step-by-step guide with troubleshooting tips.

Have you ever searched for a folder or file you know exists, only to find it missing? It might not be lost—it's likely just hidden by Windows. Every version of Windows ships with a default setting that hides certain files and folders from view. This isn't a bug or a glitch; it's a deliberate safety measure. Windows hides critical system files to prevent users—especially those of us who are curious—from accidentally deleting or modifying something that could break the operating system.

But there are plenty of legitimate reasons you might need to see these hidden files and folders. Maybe you're trying to clear out app data, troubleshoot a stubborn program, or access a configuration file that a developer tucked away. Whatever your reason, learning how to show hidden files in Windows is a fundamental skill that every PC user should have in their toolkit.

The process varies slightly depending on whether you're running Windows 11, Windows 10, or an older version like Windows 7. In this guide, I'll walk you through every method I've used over years of IT work—from the simple graphical interface to command-line tricks that power users swear by. I'll also cover what to do when the "Show hidden files" option mysteriously stops working, because trust me, that happens more often than you'd think.


Abstract close-up of orange file folders with a standout blue tab, emphasizing organization and office supplies.

Show Hidden Files in Windows 11 via File Explorer

Windows 11 brought a redesigned File Explorer, and honestly, it took me a while to get used to the new ribbon interface. But once you know where things are, showing hidden files is a two-click affair.

Step-by-Step: Using the View Tab

This is the quickest method, and the one I recommend for most users.

  1. Open File Explorer by pressing Win + E on your keyboard.
  2. Click the View tab on the ribbon at the top of the window.
  3. In the Show/hide section, check the box labeled Hidden items.

That's it. The moment you tick that checkbox, any hidden files and folders in the current directory will appear—though they'll be slightly faded compared to regular files, which is a nice visual cue.

One thing to keep in mind: this is a temporary toggle. If you uncheck the box or navigate away and come back later, Windows will revert to hiding those files again. It's not a permanent change, which can be frustrating if you're working on a project that requires frequent access to hidden directories. For a more permanent solution, you'll want to use the Folder Options method below.

Step-by-Step: Using Folder Options

If you need hidden files to stay visible across all folders and future sessions, this is the method you want.

  1. Open File Explorer and click the three-dot menu (labeled "See more") in the toolbar.
  2. Select Options from the dropdown menu.
  3. In the Folder Options dialog box, navigate to the View tab.
  4. Under Hidden files and folders, select the radio button for Show hidden files, folders, and drives.
  5. Click Apply, then OK.

Unlike the View tab toggle, this setting persists. Once you've made this change, Windows will display hidden files and folders everywhere—not just in the current directory. I've found this to be the most reliable method for users who need ongoing access to hidden content, whether they're developers, IT pros, or just people who like to tinker.


Elegant minimalist artwork showcasing a geometric window design in a cool, abstract style.

How to Unhide Files in Windows 10 Using Folder Options

Windows 10 is still running on a staggering number of machines worldwide, and the process here is slightly different from Windows 11. The Folder Options dialog is essentially the same, but getting to it requires a different path.

Accessing Folder Options in Windows 10

There are two ways to reach Folder Options in Windows 10, and I'll show you both because I've seen users prefer one over the other.

Method 1: Through File Explorer

  1. Open File Explorer.
  2. Click the File menu in the top-left corner.
  3. Select Change folder and search options from the dropdown.

Method 2: Through Control Panel

  1. Open the Control Panel (type "Control Panel" in the Start menu search).
  2. Navigate to Appearance and Personalization.
  3. Click File Explorer Options.

Both paths lead to the same dialog box. I personally prefer the File Explorer route because it's fewer clicks, but the Control Panel method is useful if you're already working in that environment.

Enabling 'Show Hidden Files, Folders, and Drives'

Once you're in the Folder Options dialog:

  1. Click the View tab.
  2. Scroll down the list of advanced settings until you find Hidden files and folders.
  3. Select Show hidden files, folders, and drives.
  4. If you need to see system files as well, uncheck Hide protected operating system files. I'll warn you now: this is where you need to be careful. Those protected files exist for a reason, and messing with them can render your system unstable. Only do this if you have a specific reason and know what you're looking for.
  5. Click Apply, then OK.

I've helped countless users through this process over the years, and the most common mistake I see is people forgetting to click "Apply" before "OK." It sounds trivial, but I've had users swear the setting "didn't stick" when they'd actually just closed the dialog without saving.


Enable Hidden Files in Windows Explorer Using CMD and PowerShell

For the command-line enthusiasts out there—and for situations where the graphical interface isn't cooperating—Windows offers powerful command-line tools for managing hidden files. This is the approach I turn to when I'm working on a remote server or when a system is too locked down for GUI changes.

Using the attrib Command to Show Hidden Files

The attrib command has been a staple of Windows troubleshooting since the DOS days, and it's still incredibly useful.

First, open Command Prompt as Administrator. You can do this by typing "cmd" in the Start menu search, right-clicking on Command Prompt, and selecting Run as administrator.

To list hidden files in the current directory, use:

dir /a:h

This command displays all files with the Hidden attribute set. The /a:h flag tells Windows to show only files with the hidden attribute.

To unhide a specific file or folder, use the attrib command with the -h flag:

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

Here's what the flags mean:

  • -h removes the Hidden attribute
  • -s removes the System attribute (which is often set alongside Hidden for critical files)

I remember the first time I used this command to recover files from a USB drive that had been hit by malware. The virus had hidden all the user's documents and set them as system files, making them invisible even with "Show hidden files" enabled. The attrib -h -s command brought everything back in seconds.

Using PowerShell to List and Unhide Files

PowerShell is the more modern and powerful option, especially if you're dealing with multiple files or need to script the process.

Open PowerShell as Administrator, then:

To list all items including hidden ones in the current directory:

Get-ChildItem -Force

The -Force parameter is the key here—it tells PowerShell to include hidden and system files in the output.

To unhide a specific file:

Set-ItemProperty -Path "C:\path\to\file" -Name Attributes -Value "Normal"

This command resets the file's attributes to "Normal," which removes both Hidden and System flags.

Where PowerShell really shines is in bulk operations. For example, to unhide all files in a folder and its subfolders:

Get-ChildItem -Path "C:\your\folder" -Recurse -Force | ForEach-Object { $_.Attributes = 'Normal' }

That one-liner has saved me hours of manual work on more than one occasion.


Troubleshooting: Show Hidden Files Option Not Working

If you've followed the steps above and still can't see hidden files, you're not alone. This is one of the most common Windows issues I've encountered in my career, and it usually has one of two causes.

Why Isn't the 'Hidden Items' Checkbox Working?

The most frequent culprit is malware. Certain types of malicious software modify Windows registry settings to prevent users from viewing hidden files—this is a common tactic to hide the malware's own files from detection. If you're suddenly unable to toggle hidden files when you could before, run a full system antivirus scan immediately.

Another possibility is that a group policy has disabled the option. This is common on corporate-managed computers where IT departments lock down certain settings. If the "Hidden items" checkbox is greyed out, this is almost certainly the cause.

For the tech-savvy, you can manually fix this via the Registry Editor:

  1. Press Win + R, type regedit, and press Enter.
  2. Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
  3. Find the Hidden DWORD value.
  4. Set its value to 1 to show hidden files, or 2 to hide them.

Warning: Editing the registry is risky. If you're not comfortable with it, skip this method and try the next one instead. A wrong registry edit can cause serious system issues.

Resetting File Explorer Options to Default

If the settings have been corrupted or changed by third-party software, resetting everything to default often does the trick.

  1. Open Folder Options (using any of the methods described above).
  2. On both the General and View tabs, click the Restore Defaults button.
  3. Click Apply and OK.
  4. Restart File Explorer via Task Manager to ensure the changes take effect.

To restart File Explorer:

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Find Windows Explorer in the list of processes.
  3. Right-click it and select Restart.

This resets all folder view settings, not just the hidden files option. It's a bit of a sledgehammer approach, but it resolves the issue in most cases.


Show Hidden Files in Windows 7 and Older Versions

Windows 7 may be officially unsupported, but plenty of machines still run it—especially in industrial and embedded settings. The process here is a bit more old-school.

Navigating Folder Options in Windows 7

There are two ways to access Folder Options in Windows 7:

Method 1: Through Control Panel

  1. Click the Start button and open Control Panel.
  2. Click Appearance and Personalization.
  3. Click Folder Options.

Method 2: Through Windows Explorer

  1. Open any folder.
  2. Press Alt on your keyboard to reveal the classic menu bar.
  3. Click Tools > Folder Options.

The second method is faster, but the Alt-key trick isn't obvious to everyone. I've lost count of how many times I've told someone to "just press Alt" and watched them look at me like I was speaking a foreign language.

Setting the View Options for Permanently Showing Hidden Files

Once you're in Folder Options:

  1. Click the View tab.
  2. Under Hidden files and folders, select Show hidden files, folders, and drives.
  3. If you need to see system files, uncheck Hide protected operating system files—but again, proceed with caution.
  4. Click Apply and OK.

This setting is permanent, just like in Windows 10 and 11. The same process works for Windows Vista and XP, though the menu layout is slightly different. In XP, for instance, you'll find Folder Options directly in the Control Panel without the "Appearance and Personalization" intermediate step.


Frequently Asked Questions

How do I show hidden files in Windows 10?

The quickest way is to open File Explorer, click the View tab, and check the Hidden items box. For a permanent solution, go to File > Change folder and search options > View tab, and select Show hidden files, folders, and drives. Both methods are covered in detail in the sections above.

How do I show protected operating system files in Windows?

Protected operating system files are a separate category from regular hidden files. To see them, open Folder Options, go to the View tab, and uncheck Hide protected operating system files. You'll get a warning prompt—and you should take it seriously. These files are essential to Windows functioning correctly. I'd advise against modifying or deleting them unless you're absolutely certain about what you're doing.

What is the shortcut to show hidden files in Windows?

There's no native keyboard shortcut to toggle hidden files in Windows. The fastest method is using the View tab in File Explorer, which takes about two clicks. For advanced users, the command-line methods using attrib or PowerShell are equally quick once you're comfortable with the syntax.

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

The most common reasons are: the "Hidden items" checkbox isn't checked, a group policy has disabled the option (common on managed devices), or malware has modified your registry settings. If you've checked the box and still can't see hidden files, run a full antivirus scan and check the troubleshooting section above for registry-level fixes.


Final Thoughts

Knowing how to show hidden files in Windows is one of those skills that seems trivial until you desperately need it. Whether you're troubleshooting a misbehaving application, cleaning up leftover files, or just satisfying your curiosity about what's really on your hard drive, the methods I've outlined here will serve you well.

To recap, your options are:

  • File Explorer's View tab for a quick, temporary toggle
  • Folder Options for a permanent change
  • CMD or PowerShell for command-line control and bulk operations

One last piece of advice from years of experience: once you've found what you were looking for, consider re-hiding those files. It's easy to forget that hidden files are hidden for a reason, and having them visible at all times increases the risk of accidental modification. Keep your system organized, and only show hidden files when you actually need them.

If you found this guide helpful, share it with a friend who might be struggling with the same issue. For more Windows tips and troubleshooting guides, subscribe to our newsletter!

← Back to Home