Windows 10 is full of icons you see every day but rarely think about: the yellow folder, the Recycle Bin, the network monitor, the shield, the drive icon, the printer icon, and dozens of tiny symbols that quietly help you understand your computer without reading a manual the size of a small refrigerator. The fun part? Many of these stock Windows 10 icons are not stored as loose image files. They are packed inside system files such as DLL and EXE files, waiting patiently like tiny digital souvenirs.
If you want to extract a stock Windows 10 icon for a shortcut, a design mockup, documentation, a personal launcher, or a nostalgic desktop customization project, you have several safe ways to do it. The best method depends on whether you simply want to use the icon inside Windows or save it as a separate .ico or .png file. This guide explains both approaches in plain English, with practical steps, examples, and a few “please do not poke the dragon” warnings about system files.
What Is a Stock Windows 10 Icon?
A stock Windows 10 icon is one of the default icons included with the operating system. These icons represent folders, drives, devices, warning messages, control panel items, libraries, file types, and system actions. Instead of storing each icon as a separate image in a folder named something obvious like “Cute Little Icons,” Windows usually stores them inside resource files.
The most common places to look are:
- %SystemRoot%\System32\imageres.dll a major library for general Windows interface icons.
- %SystemRoot%\System32\shell32.dll another classic source of folders, drives, network items, and legacy interface icons.
- %SystemRoot%\System32\moricons.dll a collection of older-style icons, useful for retro or compatibility looks.
- %SystemRoot%\System32\pifmgr.dll a home for very old Windows-style icons, including nostalgic designs.
- %SystemRoot%\System32\ddores.dll icons related to devices and hardware.
- %SystemRoot%\System32\networkexplorer.dll network-related icons.
On many Windows 10 systems, %SystemRoot% simply means C:\Windows. So when you see %SystemRoot%\System32\imageres.dll, you can usually read it as C:\Windows\System32\imageres.dll. Using the environment variable is cleaner because it still works if Windows is installed somewhere other than the C drive.
Why Windows Icons Are Stored Inside DLL and EXE Files
A Windows icon is not always just one picture. A proper .ico file can contain multiple versions of the same icon at different sizes and color depths. For example, one icon may include 16×16, 32×32, 48×48, and 256×256 images. Windows chooses the best version depending on where the icon appears: the taskbar, File Explorer, desktop shortcuts, high-DPI displays, or small dialog boxes.
Inside application and system files, icons are stored as resources. In simple terms, a resource is extra data built into a program file. That data might be an icon, cursor, dialog box, menu, string, bitmap, or version information. Windows understands these resources and can display them without needing a separate image file sitting next to the program.
This is why you can point a shortcut to a file like shell32.dll, choose an icon from inside it, and never create a separate icon file at all. Windows knows how to read that library and display the selected icon. Convenient? Absolutely. Obvious to beginners? Not even close.
Before You Start: Important Safety Notes
Extracting a Windows 10 icon is safe when you are only reading or copying icon resources. The risky part begins when people try to edit, replace, rename, or overwrite system files. Do not modify files such as imageres.dll or shell32.dll in the Windows system folder. That can cause missing icons, broken interface elements, update problems, or a computer that suddenly behaves like it has had too much coffee.
Follow these basic rules:
- Do not edit original Windows system files. Extract icons only.
- Copy files to a working folder if a tool needs to scan or open them for export.
- Use trusted tools and download them from official websites when possible.
- Respect usage rights. Microsoft icons may be fine for personal customization, but do not assume you can freely reuse them in commercial branding, apps, or products.
- Create a restore point before doing deeper customization work.
For most users, extracting an icon simply means opening a DLL with an icon tool and saving a copy as an ICO or PNG file. No drama. No registry surgery. No chanting at midnight.
Method 1: View Stock Windows 10 Icons Without Extracting Them
If your goal is only to use a stock icon for a shortcut, you may not need to extract anything. Windows already includes a built-in icon picker.
Steps to browse icons with the Change Icon window
- Right-click an existing shortcut on your desktop.
- Select Properties.
- Open the Shortcut tab.
- Click Change Icon.
- In the file path field, enter %SystemRoot%\System32\imageres.dll.
- Press Enter or click OK.
- Browse the available icons and choose one.
- Click OK, then Apply.
You can repeat the same process with shell32.dll, moricons.dll, or other icon-containing files. This does not save the icon as a separate image. It simply tells the shortcut to use a particular icon from that file. For quick desktop customization, this is the easiest option.
Method 2: Extract a Windows 10 Icon with Resource Hacker
Resource Hacker is one of the most popular tools for viewing and extracting resources from Windows executable files and libraries. It can open many EXE, DLL, SCR, MUI, and resource files, then show what is inside them.
How to extract an icon using Resource Hacker
- Download and install Resource Hacker from its official website.
- Open Resource Hacker.
- Click File, then Open.
- Browse to C:\Windows\System32\imageres.dll or another icon library.
- Look in the left panel for Icon Group.
- Expand the icon groups until you find the icon you want.
- Right-click the icon group.
- Choose Save Icon Group Resource or a similar save option.
- Save the file as an .ico file in your chosen folder.
The phrase Icon Group matters. A single visible icon often contains several sizes. Saving the icon group usually preserves the multiple image sizes inside one ICO file. That is better than saving only a single small bitmap, especially if you plan to use the icon on a desktop shortcut or in a high-resolution interface.
Best use case for Resource Hacker
Use Resource Hacker when you want to inspect resources carefully and export specific icons one at a time. It is also useful if you are learning how Windows resources are organized. Just remember: viewing and exporting are fine; editing Windows system files directly is where the trouble gremlins live.
Method 3: Extract Icons with NirSoft IconsExtract
IconsExtract by NirSoft is a lightweight utility designed specifically to scan files and folders for icons and cursors. It can extract icons from EXE, DLL, OCX, CPL, and other file types. For many people, this is the fastest way to collect stock Windows 10 icons without manually digging through every resource tree.
How to use IconsExtract
- Download IconsExtract from NirSoft’s official website.
- Run the program. It is typically portable, so installation may not be required.
- Choose whether to scan a single file or an entire folder.
- For a focused scan, select C:\Windows\System32\imageres.dll.
- For a broader search, scan selected DLL or EXE files in C:\Windows\System32.
- Wait for the results list to populate.
- Select the icon or icons you want.
- Choose the save option and export them as .ico files.
IconsExtract is especially helpful when you do not know which file contains the icon you want. Instead of opening DLL files one by one, you can scan and browse the results visually. It is a little like sending a truffle pig into System32, except the truffles are tiny pictures of printers and folders.
Method 4: Extract Icons with IcoFX or Another Icon Editor
Icon editors such as IcoFX can open EXE and DLL files, display the icons inside, and export selected icons to separate files. This approach is friendly for users who want both extraction and editing features in the same program.
General steps in an icon editor
- Open your icon editor.
- Choose the option to extract or import from an EXE or DLL file.
- Select a Windows icon source, such as imageres.dll.
- Preview the available icons.
- Select one or more icons.
- Export them as ICO, PNG, BMP, or another supported format.
This method is useful when you want to convert formats, resize images, remove unwanted sizes from an ICO file, or create a custom icon based on a stock design. However, if you need a perfect original copy, export first and edit a duplicate. That way, you always have the untouched version as a backup.
Method 5: Extract a Stock Icon with PowerShell or Code
Advanced users and developers may prefer an automated method. Windows provides APIs that can retrieve icons from executable files, DLL files, and icon files. One commonly referenced API is ExtractIconEx, which can pull large and small icon handles from a specified file. Another useful API, SHGetFileInfo, can retrieve information about file system objects, including associated icons.
This is not the simplest route for casual users because an icon handle is not automatically the same as a saved ICO file. A script or program must retrieve the icon, convert or preserve the image data properly, and then write it to disk. Still, automation is excellent when you need to extract many icons for documentation, testing, design review, or software inventory work.
When coding makes sense
- You need to extract hundreds of icons from multiple files.
- You are building a tool that previews Windows resources.
- You want repeatable output for a design or development workflow.
- You need to retrieve file-type icons dynamically.
For most non-developers, Resource Hacker or IconsExtract is faster. For developers, using Windows APIs can be more flexible and scriptable. Choose the screwdriver or the power drill depending on how many screws are staring at you.
Best Files to Search for Stock Windows 10 Icons
If you are not sure where to begin, start with imageres.dll. It contains many of the icons people usually recognize from Windows 10. Then try shell32.dll, which has been a classic icon source for years. After that, explore specialized libraries depending on the type of icon you need.
Common icon sources
- imageres.dll: folders, devices, drives, actions, system interface icons.
- shell32.dll: folders, network icons, hardware, file management icons, classic shell icons.
- moricons.dll: older icons with a retro Windows feel.
- pifmgr.dll: legacy icons originally tied to older Windows program shortcuts.
- ddores.dll: device and hardware-related icons.
- netshell.dll: network connection icons.
- wmploc.dll: media-related icons connected with Windows Media Player resources.
Because Windows updates can change resources, icon indexes may not always match between computers or builds. If someone tells you “the icon is number 112,” treat that as helpful but not sacred. Browse visually whenever possible.
ICO vs PNG: Which Format Should You Save?
If you are extracting a Windows 10 icon for use as a shortcut icon, save it as ICO. The ICO format can store several sizes inside one file, which helps Windows display the icon cleanly in different places.
If you are using the icon in a blog post, tutorial image, presentation, design mockup, or web graphic, PNG may be more convenient. PNG supports transparency, works in browsers and design tools, and is easier to place in documents. However, a PNG is usually one size at a time. If you export a 32×32 PNG and later stretch it to 256×256, it may look like it was assembled from square breakfast cereal.
Simple format rule
- Use ICO for Windows shortcuts and desktop customization.
- Use PNG for articles, documentation, mockups, and web images.
- Keep the original exported ICO as a backup if you plan to edit anything.
Troubleshooting: Why Can’t I Find the Icon I Want?
Sometimes the icon you want does not appear where you expect it. There are a few reasons for that.
The icon may be in another file
Windows has many icon libraries. The icon for a network item may not be in the same file as a folder icon. Search several likely DLL files before giving up.
The icon index may have changed
Windows updates can rearrange, replace, or move resources. An icon index from an old forum post may not match your current Windows 10 installation.
You may be viewing only one size
Some tools show a preview that looks blurry or small because they are displaying a smaller image inside the icon group. Export the full icon group if possible.
The icon may be generated dynamically
Not every icon you see in Windows is a simple static picture sitting in one obvious file. Some icons are associated with file types, apps, overlays, or system states. In those cases, tools that read file associations or shell information may work better than manually opening DLL files.
Practical Example: Extracting the Classic Folder Icon
Suppose you want the familiar Windows 10 folder icon as a separate file. Start with this practical workflow:
- Create a folder on your desktop named Extracted Windows Icons.
- Open Resource Hacker or IconsExtract.
- Open or scan %SystemRoot%\System32\imageres.dll.
- Look for folder-style icons in the preview list.
- Export the selected icon as windows-10-folder.ico.
- If your tool supports PNG export, also save a 256×256 PNG for documentation use.
- Test the ICO by applying it to a temporary shortcut.
Testing matters. An icon can look great in a preview window but appear too small, too dark, or too fuzzy on the desktop. A quick shortcut test tells you whether the icon file includes the sizes Windows needs.
Can You Use Extracted Windows 10 Icons on a Website?
Technically, you can extract an icon and place it in a web project. Legally and professionally, you should be careful. Windows icons are part of Microsoft’s design assets. Personal use, internal documentation, and local customization are very different from using those icons as part of a public brand, commercial product, app logo, or downloadable design pack.
For a public website, it is often better to use extracted Windows icons only in editorial contexts, such as screenshots, tutorials, or articles explaining Windows itself. If you need icons for a product interface, choose an open-source icon set, purchase a licensed set, or create custom artwork inspired by the function rather than copying Microsoft’s exact visual asset.
Best Practices for Clean Icon Extraction
To get the best result, think like an archivist with a tidy desk. Save original exports, name files clearly, and separate personal experiments from finished assets.
- Name files descriptively, such as windows-10-network-drive.ico.
- Keep extracted icons in a dedicated folder.
- Save both ICO and PNG versions when useful.
- Do not overwrite exported originals after editing.
- Record the source file name, such as imageres.dll, in your notes.
- Test icons at small and large sizes before using them in a project.
A little organization saves a lot of future confusion. Three weeks from now, “icon_final_final_REAL2.ico” will not feel as descriptive as it does today.
Conclusion
Extracting a stock Windows 10 icon is easier once you understand where the icons live. Most are stored as resources inside DLL and EXE files, especially libraries like imageres.dll and shell32.dll. If you only want to use an icon for a shortcut, the built-in Change Icon dialog may be enough. If you need a separate file, tools like Resource Hacker, IconsExtract, and icon editors can export icons as ICO or PNG files.
The safest approach is simple: browse, export, and leave the original system files alone. Windows system libraries are not craft supplies. Treat them as read-only sources, save your extracted copies elsewhere, and you can build a neat collection of stock Windows 10 icons without turning your operating system into a haunted escape room.
Experience Notes: What You Learn After Extracting Windows Icons a Few Times
The first time you extract a stock Windows 10 icon, it feels like discovering a secret drawer in your computer. You open imageres.dll, and suddenly there are icons everywhere: folders, monitors, discs, warning signs, locks, arrows, devices, and little symbols you have clicked for years without knowing where they lived. The second thing you notice is that not every icon is as easy to identify as expected. Some previews are tiny. Some look nearly identical. Some only make sense when you remember the exact Windows feature they belonged to.
In real use, the best habit is to start with a narrow goal. Do not scan your entire System32 folder unless you genuinely want a long afternoon of icon archaeology. If you need a folder icon, start with imageres.dll and shell32.dll. If you want an old-school computer or program icon, try moricons.dll or pifmgr.dll. If you need hardware or device symbols, check device-related DLL files. This targeted approach keeps the process enjoyable instead of making you feel like you are alphabetizing a thunderstorm.
Another lesson: always export the full ICO when possible. A quick PNG export is tempting, especially when the preview looks perfect, but the ICO file may contain several sizes that make it more useful later. For example, a 256×256 PNG is great for a blog image, but a shortcut may need smaller sizes to look crisp in File Explorer. If you export only one size, you may eventually wonder why your beautiful icon looks like it was faxed through a potato.
It also helps to create a simple naming system. A folder full of files named icon1.ico, icon2.ico, and newicon-final.ico becomes useless quickly. Better names include the source and subject, such as imageres-folder-yellow.ico or shell32-network-drive.ico. Add a small text note if the icon came from a specific DLL and index. That tiny bit of recordkeeping can save you from reopening the same system file again and again.
Finally, extracted Windows icons are excellent for learning. They teach you how Windows organizes resources, why ICO files contain multiple sizes, and why interface design depends on clarity at very small dimensions. A good icon must communicate at a glance, even when it is barely larger than a postage stamp for ants. Whether you are customizing your desktop, writing a tutorial, building a mockup, or studying Windows design history, extracting stock Windows 10 icons is a small technical task with a surprisingly satisfying payoff.