
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.
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
Reveal Hidden Files via File Explorer Ribbon
Turn on the simple “Hidden items” option to view most hidden files and folders.
- Open File Explorer (Windows + E).
- 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.
Unhide Protected System Files
Make critical OS files visible for advanced troubleshooting.
- In File Explorer, click View → Options → Change folder and search options.
- Go to the View tab.
- Under Advanced settings, uncheck Hide protected operating system files (Recommended).
- Click Yes when prompted, then Apply.
Reveal Hidden Files via Command Prompt
List hidden files and folders using the Command Prompt for precision and scripting.
- Press Windows + R, type
cmd, and press Enter. - Navigate to a directory (example: Desktop) with:
cd %USERPROFILE%\Desktop
- Run the command:
dir /a
This lists all files, including hidden (H) and system (S) attributes.
Use PowerShell to List and Filter Hidden Files
Discover hidden files with fine-grained filters.
- Press Windows + X → Windows PowerShell.
- List all files with attributes:
Get-ChildItem -Force -Recurse
- Filter only hidden:
Get-ChildItem -Force -Attributes Hidden -Recurse
Confirm File Visibility Settings
Ensure that hidden files are correctly visible and system protection remains intact.
- Close and reopen File Explorer.
- Recheck the Hidden items and Protected operating system files settings.
- Optionally, toggle the visibility off when finished to reduce accidental edits.
Verification
After enabling hidden items and protected system files:
- Navigate to C:\Users<YourUser>\AppData to confirm hidden folder visibility.
- Check
hiberfil.sysin the root of C:\ (if present) to ensure protected OS files are shown. - Use
dir /aandPowerShell Get-ChildItem –Forceto 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.
New here? Create a free account to get started.