Show Hidden Files in Windows 11 and 10 — Every Way That Works
Where is "show hidden files" in Windows 11? Three clicks: open File Explorer, click View → Show → Hidden items, done — and Windows 10 keeps the same switch as a checkbox on the View tab. But before you go, here is the part that catches almost everyone who arrives at this page hunting a specific missing file: Windows has two separate hiding switches, and the checkbox you just checked only flips the first one. Files marked as "protected operating system files" — the so-called super-hidden ones — stay invisible until you flip a second, buried setting, and a certain family of USB malware exploits exactly that gap to make your documents look deleted when they are sitting right there. This guide covers the whole territory honestly: both switches on both Windows versions, the commands that reveal everything, the "my USB files vanished" rescue, how to hide files properly yourself, and the one hidden-files setting that is genuinely a security decision.
Jake got the panicked call on a Sunday: a customer’s USB stick, years of family photos, "everything’s deleted — the folders are just gone." The stick had been in a print-shop computer the day before. Jake plugged it in, saw the same emptiness, checked "Hidden items" — still nothing, which is where most rescue attempts die. Then he flipped the second switch, the protected-operating-system one, and there they were: every folder, dimmed and translucent, marked hidden-and-system by a worm that had replaced them with shortcut files on the print-shop PC. One attrib command later, four thousand photos walked back into the light. Nothing had ever been deleted. His notebook line from that evening: "The files weren’t gone. They were standing behind a curtain, behind another curtain."
Ethan: "Hidden files are stagehands. The show needs them — boot files, settings, caches — but if the audience saw them wandering the stage, every play would look like chaos, so Windows dresses them in black and tells you they’re not there. The ‘Hidden items’ switch turns the house lights on. The protected-files switch opens the backstage door. Different doors on purpose: one is for curiosity, the other is for the day something has gone genuinely wrong — and knowing which door you need is most of the skill."
Show hidden files in Windows 11 — the three-click way
- Open File Explorer (Win + E).
- Click View on the toolbar, hover Show at the bottom of the menu.
- Click Hidden items. A check appears, and hidden files fade in across every folder — shown with translucent icons so you can always tell them from normal files.
The setting is global (all folders, not just the one you’re in) and sticks until you turn it off the same way. If your File Explorer shows no View menu at all — some compact windows tuck it behind the … (See more) button — it’s hiding there, which is either irony or foreshadowing, your pick.
Show hidden files in Windows 10 — same switch, older coat
- Open File Explorer and click the View tab on the ribbon.
- In the Show/hide group, check Hidden items. Done — same translucent icons, same everywhere-at-once effect.
That’s genuinely all Windows 10 asks. One neighborly note while you have that ribbon open: the "File name extensions" checkbox next door is worth switching on too — it’s a security setting wearing a convenience costume, and the IT-admin section below explains why in one sentence that may change how you look at email attachments forever.
The second switch: protected operating system files (super-hidden)
| Switch | Where it lives | What it reveals | Use it… |
|---|---|---|---|
| Hidden items | View menu / View tab | Ordinary hidden files (H attribute) | Freely — leave it on if you like |
| Protected OS files | Folder Options → View | Super-hidden files (H + S attributes) | For a specific job, then flip back |
Here is the distinction this page exists to teach. A file can carry the hidden attribute, the system attribute, or both — and Windows treats "hidden + system" as a stronger class of invisible, controlled by a separate setting the View menu never touches. To flip it: open Folder Options — in Windows 11, File Explorer’s … → Options; in Windows 10, View tab → Options — then the View tab inside, and uncheck "Hide protected operating system files (Recommended)." Windows will warn you; that warning is fair. This class exists because these files — pagefile.sys, hiberfil.sys, boot configuration, the System Volume Information folders — are ones where an accidental delete has consequences a Recycle Bin won’t undo. The honest usage rule: flip it on for a specific job (the USB rescue below, checking what’s actually eating a full C drive, following a repair guide), do the job, flip it back. Backstage passes are for the show that needs them.
Which command shows hidden files? All three, honestly compared
| Tool | Command | What it shows |
|---|---|---|
| Command Prompt | dir /a | Everything — hidden and system included, no settings needed |
| Command Prompt | attrib | Each file’s attribute letters — H (hidden), S (system), R (read-only) — the diagnosis tool |
| PowerShell | Get-ChildItem -Force | Everything, with attribute column; gci -Force for short |
The quiet superpower of the command line here: it ignores both Explorer switches entirely. dir /a answers "what is actually in this folder" with no opinions about what you should see — which makes it the fastest truth-teller when you suspect something is hiding. New to the terminal? Our guide to opening Command Prompt gets you there in one shortcut.
"My USB files disappeared" — the attrib rescue
Jake’s Sunday call, generalized: a family of USB worms "deletes" your files by marking every folder hidden-and-system, then drops shortcut files with the same names — you click the shortcut, the malware runs, and the scam travels to the next computer. Your files are unharmed the entire time. The rescue:
- Don’t click the shortcuts. They’re the trap. If you see your folder names with the little arrow overlay and a "1 KB" size, that’s the tell.
- Open Command Prompt, and type the drive letter of the USB stick, e.g.
E:then Enter. - Run the classic:
attrib -h -r -s /s /d *.*— remove hidden, read-only, and system attributes, for all files, subfolders included. - Your files reappear as normal files. Copy them somewhere safe, then scan the stick — and the computer that "emptied" it — before trusting either again.
Take the breath first, though: if this is you right now, mid-panic — in nearly every case of "USB files vanished after using another computer," nothing was deleted. Hiding is cheaper than deleting, so that’s what the malware does. The photos are there. Run the command.
The reverse job: hiding files (and what hiding is honestly worth)
Right-click any file or folder → Properties → check Hidden → OK — and it steps behind the curtain (choose "apply to subfolders" when asked, if it’s a folder). To reverse it, same box, uncheck. And the honest sentence that belongs next to that checkbox: hiding is tidiness, not security. Anyone can flip the View switch you learned three sections ago; the hidden attribute stops accidental clutter, not curious humans. If a file genuinely needs protecting from other people on the machine, that’s a job for a separate user account and real encryption — locks, not curtains.
Switched everything on and the file still isn’t there?
Then it is probably not a hiding problem, and the honest checklist changes: search the whole drive for the filename (Explorer’s search from This PC, patience included) in case it was moved rather than hidden; check the Recycle Bin, which is where "disappeared" files most often actually are; check whether the file lives in OneDrive and got "freed up" to cloud-only (the little cloud icon — it’s online, not gone); and on someone else’s machine, remember each user account has its own Desktop and Documents — signed into the wrong account, everything looks "deleted." The two switches in this guide reveal what exists but is veiled; they cannot reveal what was moved, synced away, or genuinely deleted — and knowing which hunt you’re on saves the evening.
For IT admins: the two checkboxes that are security policy
Two fleet-level notes hiding inside this consumer topic. First, the neighbor checkbox: "Hide extensions for known file types" is the most security-relevant default in File Explorer — it’s what makes invoice.pdf.exe display as invoice.pdf, which is half of every attachment-based phishing payload’s costume. Showing extensions fleet-wide (GPO: User Configuration → … → File Explorer, or the registry’s HideFileExt=0 pushed by preference) is a free, zero-breakage hardening step that outranks most paid training in cost-effectiveness. Second, the hidden-files switches themselves can be enforced or locked by policy — useful on kiosk and shared machines where users flipping the protected-files switch is an incident generator; the same "Hidden files and folders" policy pair lives alongside it. And when a help-desk ticket says "my files disappeared from the share," before anything exotic: check the attributes with attrib from the ticket-taker’s own session — the USB-worm pattern above walks into offices on the same sticks it walks into homes.
FAQ — hidden files in Windows, answered straight
Where is "show hidden files" in Windows 11?
File Explorer → View (toolbar) → Show → Hidden items. It applies everywhere and sticks until you turn it off the same way.
Where is "show hidden files and folders" in Windows 10?
File Explorer → View tab on the ribbon → check "Hidden items" in the Show/hide group. Same effect, older layout.
How do I enable show hidden files for system files too?
That’s the second switch: Folder Options → View tab → uncheck "Hide protected operating system files (Recommended)." Flip it for the specific job, then flip it back.
Which command shows hidden files?
dir /a in Command Prompt shows everything including system files; attrib shows each file’s H/S/R attribute letters; Get-ChildItem -Force is the PowerShell equivalent. All three ignore Explorer’s settings.
How do I check for hidden files on a USB drive?
Fastest: open Command Prompt, switch to the drive (E:), run dir /a. If your "deleted" folders appear with H and S attributes in attrib, run the rescue command above — nothing was deleted.
My USB files vanished after using another computer — are they gone?
Almost certainly not — a common worm marks them hidden+system and replaces them with malicious shortcuts. Don’t click the shortcuts; run attrib -h -r -s /s /d *.* on the drive and your files walk back in.
Why are some hidden files dimmed or translucent?
That’s deliberate: once revealed, hidden items show with faded icons so you can always tell them from normal files. It’s the house lights being honest about who’s a stagehand.
How do I stop showing hidden folders again?
Same switch, off: View → Show → Hidden items (Windows 11) or the View-tab checkbox (Windows 10). If you opened the backstage door too, re-check "Hide protected operating system files."
How do I hide a file or folder myself?
Right-click → Properties → check Hidden → OK. Remember it’s tidiness, not protection — anyone can flip the View switch. Real privacy needs separate accounts or encryption.
What are hidden files actually for?
Housekeeping: settings, caches, boot files — things programs need and users don’t. Hiding them prevents accidental edits and visual clutter; it was never meant as secrecy.
Is it safe to show hidden and system files?
Seeing them is completely safe — the risk is only in deleting or editing what you reveal. Look freely; touch pagefile.sys, hiberfil.sys, and friends only when a guide you trust says so.
Why is my C drive full when I can’t see the big files?
Because the big files are exactly the super-hidden kind — hibernation file, page file, update leftovers. Our C-drive-full guide walks that specific hunt with the reclaim steps in order.
Does Windows search find hidden files?
Only when they’re being shown — Explorer’s search respects the same switches. dir filename /a /s from the drive root searches regardless, which makes it the better bloodhound.
What’s the equivalent of hidden files on Mac or Linux?
A filename starting with a dot (.config, .bashrc) — convention rather than attribute. Cmd+Shift+Period toggles them on Mac; ls -a lists them on Linux. Windows is the odd one using a metadata flag.
I showed everything and my file still isn’t there — now what?
Change hunts: Recycle Bin first, then a whole-drive search, then OneDrive’s cloud-only files, then whether you’re in the right user account. The hiding switches reveal what exists; they can’t resurrect what moved.
Should "File name extensions" be on too?
Yes, for everyone — it’s the checkbox that unmasks invoice.pdf.exe pretending to be a PDF. One click, permanent, and it defuses the oldest attachment trick in the book.
Where to go next
- How to open Command Prompt, every way
The doorway to dir /a and the attrib rescue. - Device encryption on Windows, plainly
For files that need a lock, not a curtain. - Open File Explorer to This PC instead of Quick Access
The other Explorer default worth changing on day one.
Revision note. This page first answered the question in December 2016 with the Windows 10 ribbon checkbox, which was the whole answer at the time; we were here when that was true. Windows 11 moved the switch into a menu, the two-switch distinction became the thing readers actually needed, and the USB-worm rescue earned its place after enough Sunday phone calls proved the pattern. This August 2026 rewrite covers all of it, both Windows versions, commands included. If a future Explorer redesign moves the switches again, tell us through the contact page and we’ll bring the page back to true. And if you’re here mid-panic over a "emptied" USB stick full of family photos: breathe — in almost every telling of that story, including the one this page opens with, nothing was ever deleted. The curtain comes down with one command, and the photos never knew anything happened.