How to show / hide the file extension on Windows 10 PC
This tutorial covers how to show / hide the file extension on Windows 10 PC. We will do our best to make sure you understand this guide. I hope you will like this blog How to show / hide the file extension on Windows 10 PC. If your answer is yes, please share it with your friends after reading this.
Check how to show / hide file extension on Windows 10 PC
The file extension is the one that identifies the type of file. If you are a regular Windows user, identifying the file type is not a problem. Because seeing the file extension is very important to identify the type of file you are trying to open from a security perspective. So, in this article, we will see how to hide or show file extensions in Windows 10/11/8/7 and why you should show them.
Because file names allow you to use multiple dots, the actual name of a malicious file might be realword.docx.exe. But since you haven’t configured Windows to show file extensions, you will only see realword.docx. Thinking it’s a Word document, you might as well end up clicking on it and infect your computer.
Use folder options
- Go to Run -> Watched Folders.
- Go to the View tab.
- Uncheck “Hide extensions for known file types”
That’s all. You will now see the file extensions for each type of file.
Using the File Explorer
Windows 10’s File Explorer ribbon interface makes it easy and instant to show or hide file extensions. Here are the steps to show / hide file extensions in Windows Explorer:
- Open file explorer (Windows key + E)
- Go to the View tab on the ribbon menu.
- Check “File extensions” in the Show / Hide section.
If you check file extensions, file extensions will be displayed, while if unchecked they will be hidden.
Using the Registry Editor
- Open Registry Editor by going to Run -> regedit.
- Go to the following key:
HKEY_CURRENT_USER Microsoft Windows Software CurrentVersion Explorer Advanced
- Double-click HideFileExt in the right pane.
- Set the value to 0 to show file extensions for known files and 1 to hide file extensions.
The changes will usually be immediate. If you don’t see the changes, you can restart File Explorer from task manager or restart your computer completely.
Using the command line
The command line method can be used to quickly change file extension settings for many computers at a time. You can create a batch file with the following commands and run the batch file on any computer to change the settings immediately.
To hide file extensions using the command line, open the command prompt and run the following command:
reg add HKCU Software Microsoft Windows CurrentVersion Explorer Advanced / v HideFileExt / t REG_DWORD / d 1 / f
To view file extensions, run the following command:
reg add HKCU Software Microsoft Windows CurrentVersion Explorer Advanced / v HideFileExt / t REG_DWORD / d 0 / f
For your convenience, you can download the batch files below and run them according to your situation.
Using the Group Policy Editor
This method is limited to system administrators who want to implement the show / hide file extensions policy on their domain network.
- Open the Domain Group Policy Management Editor
- Go to User Settings -> Preferences -> Control Panel Items -> Folder Options
- Right click on Folder Options in the left pane and select New -> Folder Options (Windows XP) or Folder Options (at least Windows Vista)
- This will open the normal Folder Options window. You can make changes in this window and the changes will be made domain-wide or wherever Group Policy applies.
Final Words: How to Show / Hide File Extension on Windows 10 PC
hope you will understand this item How to show / hide the file extension on Windows 10 PC, if your answer is no, you can request anything through the contact forum section linked to this article. And if your answer is yes, then share this article with your family and friends.