index

Show File Extensions

Show file name extensions in File Explorer to help identify file types.

Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -Value 0; Stop-Process -Name explorer -Force; Start-Process explorer
Scope: user
Compatibility and recovery
OS requirements
Microsoft documents the UI for Windows 11 and Windows 10. The HideFileExt registry command has not been tested on a recorded build.
Tested on
Not tested by this project on a recorded OS version.
Prerequisites
Record the File name extensions option. The PowerShell command targets HKCU, requests no elevation, and forcibly stops Explorer. Finish file operations before considering it.
Effect
The documented UI displays filename extensions. The command writes HideFileExt=0 and stops and starts Explorer; its effect and window recovery are unverified.
Undo or removal
On Windows 11, restore View > Show > File name extensions. On Windows 10, restore the File name extensions checkbox on the View tab.

Documentation reviewed 2026-10-03. Source 1

Report outdated instructions · Opens a draft on GitHub for you to review and submit.

On Windows 11, open File Explorer > View > Show > File name extensions. On Windows 10, use the File name extensions checkbox on the View tab. Check a file with a known extension. Restore the same checkbox to undo.

Microsoft documents both UI paths. The registry command above is unverified and forcibly stops Explorer. Prefer the UI control. Showing or renaming an extension does not convert the file’s format.