Beginner🪟 Windows

How to Show Hidden Files and Folders on Windows 10 & 11

Learn how to reveal hidden and protected system files on both Windows 10 and Windows 11 using built-in tools, File Explorer options, and advanced command-line methods - with safety best practices.

16views
DifficultyBeginner
PlatformWindows
Steps6

The Problem

Introduction

Windows hides certain files and folders by default to protect critical system components and reduce accidental user modifications. However, there are many legitimate scenarios - troubleshooting, configuration, security audits, or power-user workflows - where you need to view hidden or protected files in Windows 10 or Windows 11.

This guide explains multiple safe methods to reveal hidden files and folders, including differences between basic hidden items and protected operating system files. You’ll learn how to use File Explorer, Control Panel settings, and command-line tools - with clear verification steps and best practices to avoid unintended changes to your system.

Step-by-Step Guide

01

Reveal Hidden Files via File Explorer Ribbon

Turn on the simple “Hidden items” option to view most hidden files and folders.

  1. Open File Explorer (Windows + E).
  2. On Windows 11: Click View → Show → Hidden items.
    On Windows 10: Click the View tab and check Hidden items.

Hidden files and folders will now appear with slightly transparent icons.

Expected Result:Windows displays files and folders that were previously marked as hidden.
Warning:Hidden files are not always system files - some are hidden for organizational reasons only.
02

Unhide Protected System Files

Make critical OS files visible for advanced troubleshooting.

  1. In File Explorer, click View → Options → Change folder and search options.
  2. Go to the View tab.
  3. Under Advanced settings, uncheck Hide protected operating system files (Recommended).
  4. Click Yes when prompted, then Apply.
Expected Result:Protected OS files (e.g., pagefile.sys, hiberfil.sys) become visible.
Warning:These files are important for system stability - do not modify or delete them unless you fully understand the consequences.
03

Reveal Hidden Files via Command Prompt

List hidden files and folders using the Command Prompt for precision and scripting.

  1. Press Windows + R, type cmd, and press Enter.
  2. Navigate to a directory (example: Desktop) with:
cd %USERPROFILE%\Desktop
  1. Run the command:
dir /a

This lists all files, including hidden (H) and system (S) attributes.

Expected Result:Command Prompt displays all files and attributes in the current directory.
Warning:Use caution when deleting files from the command-line; accidental deletions can be irreversible.
04

Use PowerShell to List and Filter Hidden Files

Discover hidden files with fine-grained filters.

  1. Press Windows + XWindows PowerShell.
  2. List all files with attributes:
Get-ChildItem -Force -Recurse
  1. Filter only hidden:
Get-ChildItem -Force -Attributes Hidden -Recurse
Expected Result:PowerShell outputs detailed file lists, including hidden system entries.
Warning:Recursive searches can take time on large directories.
05

Confirm File Visibility Settings

Ensure that hidden files are correctly visible and system protection remains intact.

  1. Close and reopen File Explorer.
  2. Recheck the Hidden items and Protected operating system files settings.
  3. Optionally, toggle the visibility off when finished to reduce accidental edits.
Expected Result:Files remain visible according to the toggled settings.
Warning:Avoid leaving protected system files visible for casual browsing.
06

Verification

After enabling hidden items and protected system files:

  • Navigate to C:\Users<YourUser>\AppData to confirm hidden folder visibility.
  • Check hiberfil.sys in the root of C:\ (if present) to ensure protected OS files are shown.
  • Use dir /a and PowerShell Get-ChildItem –Force to double-confirm visibility across directories.After enabling hidden items and protected system files:

How It Works

Understanding how to reveal hidden files on Windows 10 and Windows 11 empowers you to perform advanced troubleshooting, configuration reviews, and system audits.
By using File Explorer settings, Command Prompt, or PowerShell, you can safely control file visibility and maintain system integrity.

Always exercise caution with hidden or protected system files — they exist to protect critical components of your OS. When in doubt, consult official documentation or seek professional support.

Frequently Asked Questions

Mostly no - hidden files exist for system integrity or application use. Only delete if you understand the file’s purpose.

Simply toggle Hidden items off, and re-enable Hide protected operating system files

Yes - malware may set hidden or system flags. Use antivirus tools if you suspect infection.

Yes - all methods are compatible with both versions.

Comments

Want to join the discussion?

Create an account to unlock exclusive member content, save your favorite articles, and join our community of IT professionals.

Sign in