Weirdo
Search weird questions

Question

Files & FormatsNov 18, 2026

Why does Windows hide file extensions by default, and what’s the risk?

Windowsfile extensionssecurity

Details

What is hidden

File Explorer can “Hide extensions for known file types.” When that is on, familiar endings like .docx, .pdf, and .exe disappear from the name. The desktop looks tidier, but you lose a quick cue about the real file type.2

Where the risk is

MITRE ATT&CK technique T1036.007 (Double File Extension) covers malware named like report.pdf.exe. If extensions are hidden, the user may only see report.pdf while actually launching an .exe. Icons can be spoofed too.2

How to show them

In File Explorer, turn on showing file name extensions (menu labels vary by Windows version). Seeing the real .exe, .js, or .scr before you open a file beats trusting the icon alone. Preview untrusted attachments in a browser or scanner first.2

Also Asked As

Windows hide extensions · show file extensions · pdf.exe trick · double file extension