Windows new file icon

How to Change the Icon for a File Type in Windows?

It’s surprising that Windows doesn’t have a built-in option to allow users to set custom icons for file types. If you have a custom file type and the corresponding program doesn’t have a nice-looking icon in its .exe or .dll resource, you can change or customize the default icon for that file type manually.

This article explains how to change the default icon for a file type using different methods in Windows. Instructions apply to all versions of Windows, including Windows 10

How to Change the Default Icon for a File Type?

You can change the default icon for a file type using the built-in Registry Editor. In the second method, let’s see how to change the default icon using Default Programs Editor.

Method 1: Change file type icon using the Registry Editor

Let’s assume you want to change the file type icon for .txt files, and here is how to do that.

  1. Click Start, type regedit.exe and press ENTER
  2. Navigate to the following branch:
  3. In the right-pane, note down the value data for Progid (e.g. txtfile ). This is the user chosen (via Default Programs or Open with dialog) Programmatic Identifier for the file extension.

Registry Branch Not Found?

If the DefaultIcon key does not exist by default, you need to create it manually.

  • In the right-pane, double-click (default) and mention the path to your custom icon (.ico file or reference to a icon inside a EXE/DLL file. See “Icons From DLL/EXE Files” paragraph at the end of this article).
  • Edit the (default) value data, mentioning the path to a icon file. For this example, I used a notepad icon file from the web, saved it to a permanent location and mentioned the full path.If you’re using a custom icon file, make sure it’s at least 128 x 128, although it’s not a rule but this is to make sure icons look nice when folder view is set to large or extra large icons.
  • Exit the Registry Editor.
  • Logoff and login back, or refresh the icons and see if the Text file icons are now updated.
  • Icons From DLL/EXE Files

    If you don’t have a custom .ico file, you may use the icon picker dialog box to choose an icon from a EXE/DLL file. To launch the icon picker dialog, right-click on a folder in your system, click Properties. Click the Customize tab, and click Change Icon… button. Use the icon picker to choose the icon and make a note of the index. The index starts from “0” and you need to proceed vertically when counting (top to bottom.)

    Browse to shell32.dll or imageres.dll and note down the icon index, simply cancel the icon picker dialog and close folder properties dialog.

    For example, to set the 260 th icon in Shell32.dll, mention the following path, in Step 8:

    To make it clear, this procedure doesn’t change the file type associations, only the icon assigned to that file type. If the icons don’t update even if you restart Windows, clear and rebuild the icon cache.

    Additional note

    As the icon change is made to the ProgId txtfile in the registry, it also affects the other file extensions that use the same ProgId. For instance, in my system, the txtfile ProgID is being used by .log , .scp & .wtx file extensions. Those files will also show up with the new icon.

    To know which file extensions are using a ProgID (i.e., txtfile), run this command in the Command Prompt window:

    RELATED: See article How to Remove File Type Associations Using the Registry Editor for more information on File extension → ProgID mapping.

    It’s possible to change the default icon for a file type without affecting other file types. To do that, you’ll need to create a new file class or ProgID for the file extension, and assign the default icon in the newly created file class.

    Method 2: Change file type icon using Default Programs Editor

    Don’t want to edit the registry to change file type icons? There are 3rd party tools like Default Programs Editor and FileTypesMan that can change the file type icons and association settings.

    Default Programs Editor is a very useful tool which helps you to edit file type associations, add or remove AutoPlay handlers and static context menu entries. We’ve covered Default Programs Editor before. Default Programs Editor – A Useful File Association Editor for Windows

    In this method, let us see how you can accomplish the task using the Default Programs Editor.

    1. Download Default Programs Editor, unzip and run the executable.
    2. Select File Type Settings
    3. Click Icon
    4. Select the file extension for which you want to change the icon, in the next screen.
    5. This screen shows the current icon for the file type. To change it, click on the Browse button.
    6. In the icon picker dialog that’s displayed, browse and locate an icon, or point to a custom .ico file if you have one. The built-in imageres.dll and shell32.dll files contain many icons for you to choose from.
    7. Click the Save Icon button to save the changes to the registry.

    As you can see in the screenshot, you also have the option to save the settings to a file. In case you need to apply the changes to several computers, you can output the settings to a .REG file. This can be done by clicking the arrow mark near the Save Icon button, and choosing Save to .reg file. You can deploy or apply the .reg file on other computers without having to run the utility again.

    That’s it! The default icon for .txt file type is changed would now refresh or update automatically!

    [Before] .txt files showing standard icons [After] .txt files showing custom icons

    Method 3: Change file type icon using FileTypesMan

    FileTypesMan is an alternative to the Folder Options “File Types” tab (XP-era) in Windows. It displays the list of all file extensions and types registered on your computer. For each file type, the following information is displayed: Type Name, Description, MIME Type, Perceived Type, Flags, Browser Flags, and more. FileTypesMan also allows you to easily edit the properties and flags of each file type, as well as it allows you to add, edit, and remove actions in a file type. This utility works in all Windows versions including, Windows 10.

    Screenshots

    %SystemRoot%\system32\imageres.dll,-102 is the Windows-default icon for .txt files. Windows-default icon for .txt files

    After setting the default icon to %SystemRoot%\system32\imageres.dll,14 via the icon picker dialog, here is how it shows up: Customized .txt files icon

    Change the icon for unknown and extensionless files

    File types that are not registered with the system and files that have no extension are assigned a generic icon from shell32.dll,0 by default. The unknown or generic icon for unregistered file types and extensionless files can be customized as per your choice so that you don’t have to see the boring icon anymore.

    Windows stores the icon setting for unknown file types and extensionless files in this registry key:

    The (default) or the unnamed value points to the following icon resource by default:

    Using the Registry Editor (Regedit.exe), you can change the (default) value so that it points to a .ico file that you already have or an icon resource inside a .dll or .exe file by mentioning the file name and resource identifier.

    Using the Icon picker (a.k.a. the Change Icon dialog), you can use a relevant icon in shell32.dll, 224 that can be assigned for unregistered and extensionless files. You just need to replace the existing Value data ( %SystemRoot%\System32\shell32.dll,0 ) with %SystemRoot%\System32\shell32.dll,224 using the Registry Editor or using the REG files below.

    Logoff and login back to your account.

    Here is how it looked before:

    We’ve changed that to:

    Tip: In case the icons don’t automatically refresh even after a logoff-logon cycle, you can force a shell icons refresh using the ie4uinit.exe method or using Default Programs.

    Hope the above guide helped you change file type icons on your Windows 10 computer easily!

    Windows 10 is getting new File Explorer icons as part of a visual overhaul

    Microsoft’s UI changes to Windows continue

    Share this story

    Share All sharing options for: Windows 10 is getting new File Explorer icons as part of a visual overhaul

    Microsoft is giving the File Explorer inside Windows 10 a visual overhaul with new icons. The software giant has started rolling out a test build of Windows 10 that includes changes to the system icons you’ll find in File Explorer, including the Recycle Bin, Documents folders, and devices like disk drives.

    “Several changes, such as the orientation of the folder icons and the default file type icons, have been made for greater consistency across Microsoft products that show files,” says Amanda Langowski, Microsoft’s Windows Insider chief. “Notably, the top-level user folders such as Desktop, Documents, Downloads, and Pictures have a new design that should make it a little easier to tell them apart at a glance.”

    The new Recycle Bin icon. Image: Microsoft

    Perhaps daringly, Microsoft also notes that “and yes, the Recycle Bin icon has also been updated!” — a clear nod to some changes the company tried to make to the Recycle Bin in the past that didn’t go down well with Windows users.

    These icon changes are fairly minor in the grand scheme of Windows, but they’re part of a broader effort inside Microsoft to modernize Windows. Microsoft unveiled new system icons for Windows 10 earlier this month, and the company previously updated some of its Windows 10 icons last year with colorful versions and also tweaked the Start menu to make it more streamlined.

    Microsoft’s new File Explorer icons. Image: Microsoft

    Microsoft is also planning a “sweeping visual rejuvenation of Windows,” codenamed “Sun Valley.” The company is expected to detail its visual plans and more about the future of Windows in the coming months as part of a dedicated news event.

    The icon updates will arrive alongside some tweaks to the layout of File Explorer, too. Microsoft is adding additional padding between elements in File Explorer, and there will be a compact mode to return to the classic File Explorer mode. The updated view is a little more touch-optimized and complements the new icons.

    Download New Icons from Windows 10 Build 21343

    Here you can download new icons from Windows 10 Build 21343 and apply them in older Windows versions. A few days ago Microsoft surprised users with the new icons in the Insider Preview build 21343.

    Microsoft will update classic Windows icons in version 21H2, that is coming in the second half of the 2021. Many built-in Store apps have already got new colorful icons, and now it is time for File Explorer and the shell.

    Most of its icons now have a new look. This includes custom folders, discs, and some buttons. Some icons come in different styles to blend well with the dark theme. There is also a new trash icon.

    Most new icons can be found in Shell32.dll and Imageres.dll files. We have extracted the icons from those files to ICO files, so you can now apply the icons in previous Windows 10 version, or even in an older release like Windows 8 or Windows 7.

    Download New Icons from Windows 10 Build 21343

    1. Click on this link: Download Icons in ZIP file.
    2. Unblock the downloaded file.
    3. Double-click on the file to open in File Explorer.
    4. Copy both Shell32 and Imageres files out of the ZIP folder (Ctrl+C).
    5. Paste them to some other location (Ctrl+V). The icons will take 20Mb on your drive.

    Now you can use the icons for desktop shortcuts and customizations. The icons are really nice.

    Microsoft’s Windows 10 feature update, scheduled for the second half of this year, should bring some big visual changes to the OS, and it’s codenamed Sun Valley.

    While Microsoft hasn’t explicitly said this on its blog, you can assume that not all of them will be final. For example, Microsoft brought back the trash can icon when Windows 10 was in preview and had to change it again due to noise from testers. All of this will be based on users’ feedback.

    Author: The MFTNEXT Team

    The MSFTNEXT project is a small team of authors who love to engage with the latest technology and gadgets. Being passionate Windows bloggers, we are happy to help others fix their system issues. View all posts by The MFTNEXT Team

    www.makeuseof.com

    Follow MUO

    How to Customize Any Icon in Windows 10

    Here’s how to change icons on Windows 10, including program shortcuts, folders, file types, and much more.

    While the default Windows icons get the job done, they aren’t particularly exciting. If you want to put a personal spin on your computer, changing Windows 10 icons is a great way to do this.

    We’ll show you how to change icons on Windows 10, including program and folder icons. With a bit of work, you’ll have an all-new interface!

    Where to Find Custom Icons for Windows 10

    Before you start changing Windows 10 icons, you need some new icons to replace them with. The OS has a few additional icons built-in, but they’re not that great.

    Flaticon is a great resource for all your Windows icon needs. The site contains over a million high-quality icons arranged in thousands of convenient packs. You can grab everything in a pack at once, or download single icons.

    The site offers downloads in several formats. We recommend downloading them in PNG for easy conversion to the ICO format. Keep all the raw downloads in a folder called PNG Icons or similar.

    If you don’t find what you’re looking for here, try Findicons, IconArchive, or GraphicBurger. We’ve also looked at some great Windows icon packs in the past.

    Converting PNG Images to ICO Icons

    Windows uses ICO files for its icons. Thus, you’ll need to convert images from PNG (or other formats) before you use them as icons.

    ConvertICO offers an easy way to do this. You can upload up to 50 PNG images at once to convert them into the ICO format. If you prefer, you can also enter the URL of an image you want to convert, cutting out the middle step of downloading the PNG.

    Keep all your ICO files in their own folder. Make sure you put this somewhere permanent, as moving icon files after you have assigned them will cause problems.

    How to Change Program Icons in Windows 10

    Windows 10 makes it easy to change the program icon for a shortcut, but not the main executable. Thus, you should make a desktop shortcut for the app icon you want to change, if you don’t have one already.

    To do this, search for an app in the Start menu, then right-click its name and choose Open file location. In the resulting folder, right-click the program name and choose Send to > Desktop (create shortcut).

    Now you can modify the new shortcut on your desktop. Right-click it and choose Properties to open a new window. Here, switch to the Shortcut tab and click the Change Icon button at the bottom.

    You’ll see a list of alternative icons included in the app, if there are any. To set your own icon, click Browse and navigate to the place where you saved your ICO files.

    Double-click one to select it, then choose OK on both open dialog boxes. That’s all you have to do to change a program icon in Windows 10.

    Pinning Custom Icons to the Taskbar

    Want to customize the icons on your Taskbar too? The easiest way to do this is to follow the steps above to create custom desktop icons. After that, simply right-click a shortcut and choose Pin to Taskbar.

    If you’d rather, you can customize an icon already pinned to your Taskbar. While holding Shift, right-click the app icon and choose Properties. From here, you can follow the same steps as above to set a new icon.

    You may need to wait a few moments for changes you make in this way to take effect.

    How to Change Individual Folder Icons in Windows 10

    Changing a folder icon is similar to the above process. Right-click the folder you’d like to change and choose Properties.

    On the resulting window, switch to the Customize tab. Select the Change Icon button at the bottom to select a new icon from your computer. Windows includes many default icons for this, but most of them are old-school and ugly. Hit Browse to locate your custom icons instead.

    If you ever change your mind, just open this window and choose Restore Defaults to get the original icon back.

    How to Change All Windows Folder Icons at Once

    Want to change all the standard folder icons on your computer with one action? You’ll have to dig into the Registry to do so. Remember that it’s possible to damage your system by doing this, so take care if you choose to do so.

    First, type regedit into the Start menu to open the utility. You’ll need to provide administrator permissions to continue. Navigate to the following location:

    Now, right-click on the Explorer folder in the left navigation tree and select New > Key. Name the new key Shell Icons, then select it in the left panel. In the blank space on the right, right-click and choose New > Expandable String Value. Set its name as 3. Repeat this to create another string called 4.

    Now, double-click the 3 string you just made. In the Value data field, enter the location of your folder icon in quotes. An easy way to do this by holding Shift while right-clicking your ICO file, then selecting the Copy as path option.

    It should look something like this:

    Repeat this for the 4 string, then click OK and exit the Registry Editor.

    If you don’t see the change take effect upon opening a new File Explorer window, you’ll need to restart File Explorer for your changes to take effect. To do this, press Ctrl + Shift + Esc to open the Task Manager. Click More details to expand it if needed. On the Processes tab, find Windows Explorer. Right-click this and choose Restart.

    This should apply your new icon to all folders. To remove this in the future, simply delete the Shell Icons Registry key you created.

    We tested this method as working in Windows 10 version 20H2, but other users have reported that it has no effect. Your mileage may thus vary depending on your version of Windows 10.

    How to Change File Icons by Type

    Normally, for each file type, Windows shows an icon of the default program. If you’d like to change this, you can use a free utility called FileTypesMan to change the icon for any file type.

    After downloading and running it, press Ctrl + F to locate the file type you want to change. Double-click it in the list to open a new window with many more options. Next to the Default Icon field, you’ll see a . button.

    Click this and you’ll open the familiar Windows dialog box that lets you change the icon.

    Using this, you can set up separate icons to distinguish file types, even if they open in the same program. You might want to make it easier to pick out JPG and HTML files at a glance, or spot old DOC Word files not using the newer DOCX format, for instance.

    How to Change Drive Icons in Windows

    Want to change the icons that you see in This PC for your various computer drives? A free utility called Drive Icon Changer makes this easy.

    It’s similar to FileTypesMan mentioned above, but much more basic. Simply select a drive and the desired icon, and it will apply them for you after a restart. That’s all it takes.

    How to Create Blank Taskbar Icons

    Usually, all of your Taskbar icons appear alongside each other. If you’d like to add some space—perhaps to separate icons by type—you can achieve this with a workaround.

    Creating Dummy Batch Files

    To start, create a new folder somewhere you can keep it permanently. Name it Spaces or something similar. Inside this folder, right-click again and choose New > Text document. Double-click the file to open it.

    Inside the text file, enter the following. This will create a batch file that’s a dummy; it immediately opens and closes a Command Prompt window if you click on it.

    After this, go to File > Save As. In the saving dialog box, give the file a name ending in .BAT. If you want to create multiple spaces, you should then copy, paste, and rename the file so you have several named Space1.bat, Space2.bat, and so on.

    Set Up a Blank Icon

    Windows has blank icons built-in. But in our testing, these can appear as black squares on your Taskbar instead of transparent boxes, which is no good. This means you’ll need to quickly make your own «blank» icon.

    Open an image editor (we used Paint.NET) and create a canvas that’s perfectly square: 256×256 will work. Press Ctrl + A to select the entire image, then press Del to erase it. This will create a transparent square when saved as a PNG.

    However, if you leave it like this, you’ll run into the same black block problem. Thus, you need to take the Pencil tool, zoom in, and use it to draw a single pixel in a corner of the image. This will effectively be invisible when it sits on your Taskbar.

    Save the file as a PNG, then use an online converter as mentioned above to convert this into an ICO file.

    Creating and Pinning Shortcuts

    Now, right-click each Space file you made and choose Create shortcut, as you’ll need a shortcut, not the main BAT file, in order to change the icon. Then right-click each shortcut file, select Properties, and use the Change Icon button to select your new blank icon.

    Once this is done, you’ll need to add one more element in order to add these shortcuts to your Taskbar. In the Shortcut tab of each BAT file, enter explorer in front of everything in the Target box. Make sure there’s a space before the opening quotes.

    Now you can right-click all your Space files and choose Pin to taskbar. They’ll appear as blank icons, allowing you to drag them wherever you like and group your other icons.

    How to Change the Desktop Icon Size on Windows 10

    Just want to adjust the size of Windows 10 icons on your desktop? That’s an easy fix. On the desktop, you can right-click any empty space and choose View to select Small icons, Medium icons, or Large icons.

    If you don’t like one of those presets, hold the Ctrl key and scroll your mouse wheel. This gives you more granular control over icon size.

    In a File Explorer window, you’ll find more size options under the View menu. The method of scrolling your mouse wheel while holding Ctrl works, too.

    Windows 10 Desktop Icons Missing?

    If you don’t see any icons on your desktop, chances are that you’ve hidden them all. Getting them back takes just a few clicks.

    Right-click anywhere on your desktop, then select View > Show desktop icons if it’s not already checked. With this enabled, you should see your desktop icons with no problem.

    If this didn’t fix your problem, your computer may be in tablet mode, which prevents your desktop icons from showing. To disable tablet mode, visit Settings > System > Tablet.

    Finally, if you’re missing the default Windows 10 system icons, you’ll need to restore them in another menu. Go to Settings > Personalization > Themes and on the right side of the window, select Desktop icon settings.

    This will launch a new window where you can toggle the icons for This PC, your user folder, Network, Control Panel, and the Recycle Bin. While here, you can also change the icons for these shortcuts.

    Customize Every Icon in Windows

    Now you know how to change nearly every icon on your Windows system. Whether you want to completely overhaul everything or just want to change a few shortcut icons, you have the tools to personalize your computer in a fun way.

    If you love personalization, it thankfully doesn’t end here. There are many other ways to customize the look and feel of your Windows environment.

    Want to know how to make Windows 10 look better? Use these simple customizations to make Windows 10 your own.

    Ben is a Deputy Editor and the Onboarding Manager at MakeUseOf. He left his IT job to write full-time in 2016 and has never looked back. He’s been covering tech tutorials, video game recommendations, and more as a professional writer for over six years.

    Subscribe To Our Newsletter

    Join our newsletter for tech tips, reviews, free ebooks, and exclusive deals!

    One More Step…!

    Please confirm your email address in the email we just sent you.

    Читайте также:  Windows 10 не загружается с первого раза только после перезагрузки
    Оцените статью