How to Find Hidden Files in Windows 10
Windows 10 hides certain files and folders by default — not to be mysterious, but to protect you from accidentally deleting or modifying system files that keep your computer running. The problem is, there are plenty of legitimate reasons you might need to see them: troubleshooting software, recovering data, accessing app configuration files, or just understanding what's actually on your drive.
Here's how it all works, and what you need to consider for your own situation.
Why Windows Hides Files in the First Place
Windows 10 uses two main categories of hidden files:
- Hidden files — files or folders marked with the "hidden" attribute. These are often configuration files, temporary data, or folders created by apps that don't need user interaction.
- Protected operating system files — a deeper layer of hiding reserved for critical system files. Windows keeps these out of view even when regular hidden files are visible.
Neither type is deleted or encrypted. They're simply set to be invisible in File Explorer under default settings. The distinction matters because revealing one category doesn't automatically reveal the other.
Method 1: Show Hidden Files via File Explorer Options
This is the most common method and requires no technical knowledge.
- Open File Explorer (the folder icon in your taskbar, or press
Windows + E) - Click the View tab in the ribbon at the top
- Check the box labeled Hidden items
That's it. Hidden files and folders will now appear slightly faded (a visual cue that they're hidden) throughout File Explorer.
To also reveal protected operating system files:
- In the View tab, click Options (far right) → Change folder and search options
- Go to the View tab in the Folder Options window
- Uncheck Hide protected operating system files (Recommended)
- Click Apply, then OK
⚠️ Windows shows a warning before you do this — and for good reason. Protected system files are there to stay protected. Revealing them doesn't mean you should modify or delete them.
Method 2: Use the Control Panel
If your ribbon is hidden or you prefer the older interface:
- Open Control Panel → Appearance and Personalization → File Explorer Options
- Click the View tab
- Under Hidden files and folders, select Show hidden files, folders, and drives
- Optionally uncheck Hide protected operating system files
- Click Apply
This does exactly the same thing as Method 1 — both routes modify the same underlying Windows setting.
Method 3: Use the Command Prompt (for specific files or folders)
If you're looking for hidden files in a specific directory and want to search or list them programmatically, the Command Prompt gives you more control.
Open Command Prompt (search "cmd" in the Start menu) and use:
dir /a:h C:YourFolderPath The /a:h flag shows files with the hidden attribute. Replace C:YourFolderPath with the directory you want to search. This is useful when File Explorer is behaving unexpectedly, or when you're dealing with files that may have been hidden by malware.
To remove the hidden attribute from a file entirely:
attrib -h "C:PathToFile.txt" This is more surgical than toggling the global setting — it changes the attribute on specific files only.
Method 4: PowerShell (Advanced Users)
PowerShell offers more flexibility for users comfortable with scripting. To list all hidden files in a directory:
Get-ChildItem -Path "C:YourFolder" -Force -Recurse | Where-Object { $_.Attributes -match "Hidden" } The -Force flag is what makes hidden files visible to the command. This method becomes especially useful when automating tasks, writing scripts, or auditing large folder structures.
What Affects Which Hidden Files You'll Find 🔍
Not all hidden files are the same, and what you find depends on several variables:
| Factor | What It Changes |
|---|---|
| User account type | Admin accounts can access more hidden system files than standard user accounts |
| Installed software | Apps like browsers, games, and cloud tools create their own hidden config folders (often in AppData) |
| Windows version/build | Some hidden folders are specific to certain Windows 10 builds or feature updates |
| Drive type | External drives and USB sticks can have their own hidden files, sometimes from other operating systems |
| Malware history | Malicious software sometimes hides files using rootkit techniques that go beyond the standard hidden attribute |
The AppData folder is one of the most commonly needed hidden locations — it lives at C:UsersYourUsernameAppData and contains configuration data for almost every app you use. It's hidden by default but immediately accessible once you enable hidden files in File Explorer.
When Standard Methods Don't Work
If you've enabled hidden files but still can't see something you expect to find, a few things could explain it:
- The file may have been deleted, not hidden
- The file could be hidden using system-level attributes that require elevated permissions
- In rare cases, malware can hide files at a driver level, making them invisible even with hidden files enabled — dedicated security tools are better equipped to handle this than File Explorer settings
- The file might be on a different user profile, and you don't have permission to access that profile's folders
The method that works best depends on what you're looking for and why. Casual users recovering an accidentally hidden folder will find Method 1 sufficient. Developers troubleshooting app configurations might prefer the direct path to AppData. IT professionals or anyone dealing with suspected malware may need Command Prompt or PowerShell — and potentially dedicated forensic or security tools that operate outside Windows' normal file visibility rules.
What you're trying to find, and where, makes all the difference.