In the right pane, note down the (default) value data (e.g.If the UserChoice branch does not exist, navigate to the following branch: HKEY_CLASSES_ROOT\.txt.This is the user-chosen (via Default Programs or Open with dialog) Programmatic Identifier for the file extension. In the right pane, note down the value data for Progid (e.g.Navigate to the following branch: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice.
Click Start, type regedit.exe, and press Enter.Let’s assume you want to change the file type icon for. In the second method, let’s see how to change the default icon using Default Programs Editor.
You can change the default icon for a file type using the built-in Registry Editor. Instructions apply to all versions of Windows, including Windows 10 How to Change the Default Icon for a File Type This article explains how to change the default icon for a file type using different methods in Windows.