Personalization Extract Icon from EXE and DLL Files in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:
  • Tags Tags
    icon

Search_file_banner.png

This tutorial will show you how to extract icons contained within EXE and DLL files, and save the icon as a ICO, BMP, or PNG file in Windows 10 and Windows 11.

You can install the free IconViewer app that uses a shell extension to add an Icons tab to the properties page of files (ex: EXE and DLL) that contain icons within them.

While you must be signed in as an administrator to install the IconViewer app, all users will have the Icons tab available in the properties page of files that contain icons.




Here's How:

1 If you haven't already, you will need to download and install IconViewer 3.02 x64 edition. (see screenshot below)


Extract_icon-1.png

2 Open File Explorer (Win+E).

3 Navigate to and right click on the EXE or DLL file you want to extract an icon from, and click/tap on Properties. (see screenshot below)

Some common icons used by Windows are included in the files below:

> C:\Windows\System32\imageres.dll
> C:\Windows\System32\shell32.dll


Extract_icon-2.png

4 Perform the steps below to select the icon: (see screenshot below)
  1. Click/tap on the Icons tab.
  2. Select the icon image you want to extract.
  3. Under Device images, select the pixel size (ex: "256x256, 32-bit) you want to extract.
  4. Click/tap on the Save button.
Extract_icon-3.png

5 In the Save As dialog, navigate to where (ex: "Desktop") you want to save this icon file to. (see screenshot below step 6)

6 In the Save As dialog, select Icon (*.ico), Bitmap Image (*.bmp), or PNG image (*.png) in the Save as type drop menu for the file type you want to save this icon file as. (see screenshot below)

Extract_icon-4.png

7 Enter a File name you want for this icon file, and click/tap on Save. (see screenshot below)

Extract_icon-5.png

8 When finished, you can close the Properties window and File Explorer.


That's it,
Shawn Brink
 
Last edited:
This program does not work
 

My Computer My Computer

At a glance

window 11 home
OS
window 11 home
Computer type
PC/Desktop
Manufacturer/Model
Dell Inc.
Motherboard
Enhanced (101 - or 102-key)
This program does not work
Hello, :alien:

Sure it does. I use it all the time. What are you seeing instead?

You need to make sure you installed the x64 version of the program in W11.

In addition, only files that include an icon library will have an "Icons" tab available.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
Last edited:

My Computers My Computers

  • At a glance

    All Branches but StableAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Stable
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
There is a little (freeware) portable program to extract icons from .dll and .exe files as well: IconsExtract.
It's rather old but still functions, even in W11.
That's the one I used and will use in future.

But it is interesting to see that there are other ways to extract icons! (y)
 

My Computer My Computer

At a glance

Windows 11 Pro 25H2AMD Ryzen 7 5700GKingston FURY Beast 2x16GB DIMM DDR4 2666 CL16MSI GeForce GT 730 2GB LP V1
OS
Windows 11 Pro 25H2
Computer type
PC/Desktop
Manufacturer/Model
Build by vendor to my specs
CPU
AMD Ryzen 7 5700G
Motherboard
MSI PRO B550M-P Gen3
Memory
Kingston FURY Beast 2x16GB DIMM DDR4 2666 CL16
Graphics Card(s)
MSI GeForce GT 730 2GB LP V1
Sound Card
Creative Sound Blaster Audigy FX
Monitor(s) Displays
Samsung S24E450F 24"
Screen Resolution
1920 x 1080
Hard Drives
1. SSD Crucial P5 Plus 500GB PCIe M.2
2. SSD-SATA Crucial MX500-2TB
PSU
Corsair CV650W
Case
Cooler Master Silencio S400
Cooling
Cooler Master Hyper H412R with Be Quiet Pure Wings 2 PWM BL038 fan
Keyboard
Cherry Stream (wired, scissor keys)
Mouse
Asus WT465 (wireless)
Internet Speed
70 Mbps down / 80 Mbps up
Browser
Firefox 130.0
Antivirus
F-Secure (Internetprovider version)
Other Info
Router: FRITZBox 7490
Oracle VirtualBox 7 for testing software on Win 10 or 11
There is a little (freeware) portable program to extract icons from .dll and .exe files as well: IconsExtract.
It's rather old but still functions, even in W11.
That's the one I used and will use in future.

But it is interesting to see that there are other ways to extract icons! (y)
Thanks for that...
I also found this by NirSoft, (it's 64-bit), but I can't get the darned thing to work. Tried command-line and GUI.

ResourcesExtract
 

My Computers My Computers

  • At a glance

    Windows 11 Pro (canary)11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GH...16.0 GBIntel(R) UHD Graphics / NVIDIA GeForce RTX 30...
    OS
    Windows 11 Pro (canary)
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 17 9710
    CPU
    11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz 2.30 G
    Memory
    16.0 GB
    Graphics Card(s)
    Intel(R) UHD Graphics / NVIDIA GeForce RTX 3050 Laptop GPU
    Sound Card
    Intel® Smart Sound Technology for USB Audio / Intel® Smart Sound Technology for MIPI SoundWire® Audio \ Realtek SoundWire HW Audio Codec Device Driver
    Monitor(s) Displays
    17 inch
    Screen Resolution
    1920 x 1200
    Hard Drives
    PC711 NVMe SK hynix 512GB
    Mouse
    Dell Mobile Pro Wireless Mouse MS5120W
    Internet Speed
    100 mbps down / 10 mbps up
    Browser
    Microsoft Edge
    Antivirus
    Microsoft Defender Antivirus
    Other Info
    CPU has a max rating of 5 GHZ
  • At a glance

    Windows Server 2025 (canary)Xeon16 GBMatrox POS
    Operating System
    Windows Server 2025 (canary)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell PowerEdge T140
    CPU
    Xeon
    Memory
    16 GB
    Graphics card(s)
    Matrox POS
    Sound Card
    n/a
    Monitor(s) Displays
    LG 23"
    Screen Resolution
    1920 x 1080
    Hard Drives
    160GB SSD + 22TB+
    Internet Speed
    100 mbps down / 10 mbps up
    Antivirus
    Microsoft Defender Antivirus
I've been using a programme called Icon Snatcher since 2003 (at least, that's the date on the exe file I have). Still available but seems no updates - that doesn't matter, it works ok. It is a bit cumbersome though, as you have to open the programme then navigate to the exe/dll file you want to snatch from, then choose which icon to snatch and where to save it.

Brink's programme here, Icon Viewer, is more compact and simpler to use. So a utility I've used for over 20 years (and wasn't much interested in updating or changing because it worked ok) is now blown to dust. Just "other" click on the target file, pick and save.
 

My Computer My Computer

At a glance

Windows 11Intel i5 10210U16GbIntel UHD
OS
Windows 11
Computer type
Laptop
Manufacturer/Model
HP 15s_du1xxx
CPU
Intel i5 10210U
Motherboard
85F1
Memory
16Gb
Graphics Card(s)
Intel UHD
Sound Card
Realtek
Screen Resolution
1920 x 1080
I don't have 11 to test, but Resource Hacker is still updated regularly and last in November 2023

A Guy
 

My Computers My Computers

  • At a glance

    Windows 10 Home x64INTEL Core i5-11400KINGSTON HyperX Fury Black DDR4 16GB (2 x 8GB...EVGA GeForce GTX 750 Superclocked 1GB 128-Bit...
    OS
    Windows 10 Home x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    INTEL Core i5-11400
    Motherboard
    ASUS PRIME H570-PLUS
    Memory
    KINGSTON HyperX Fury Black DDR4 16GB (2 x 8GB) 3200MHz, CL16
    Graphics Card(s)
    EVGA GeForce GTX 750 Superclocked 1GB 128-Bit GDDR5
    Monitor(s) Displays
    LG 32MA68HY 32" IPS
    Screen Resolution
    1920 x 1080
    Hard Drives
    SAMSUNG 250GB 970 EVO Plus NVMe, M.2 SSD, Crucial 250GB MX500, SEAGATE 500GB Barracuda® 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache
    PSU
    CORSAIR RM550x 80 PLUS Gold 550W
    Case
    ANTEC P10 FLUX
    Cooling
    be quiet! Pure Rock 2, 5 x 120 mm Case Fans
    Internet Speed
    480 + Mbps Up/ 12+ Mbps Down
    Browser
    Vivaldi Snapshot
    Antivirus
    Avast
  • At a glance

    Windows 10 Home x64Intel Core i5-750Kingston HyperX Fury Black 8GB (2x4GB) DDR3-1...MSI GeForce GT 240 N240GT-MD1G/D5 1 GB DDR5
    Operating System
    Windows 10 Home x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Intel Core i5-750
    Motherboard
    ASUS P7P55D
    Memory
    Kingston HyperX Fury Black 8GB (2x4GB) DDR3-1600MHz CL8
    Graphics card(s)
    MSI GeForce GT 240 N240GT-MD1G/D5 1 GB DDR5
    Monitor(s) Displays
    LG 32MA68HY 32" IPS
    Screen Resolution
    1980x1040
    Hard Drives
    Samsung Electronics 840 EVO 120GB, SEAGATE 500GB Barracuda® 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache
    PSU
    Antec TruePower New TP-550 550W
    Case
    Antec 300
    Cooling
    Cooler Master Hyper 212+, 4 Noctua NF-P12 120mm, 1 Noctua NF-P14 FLX
    Internet Speed
    480+ Mbps Down/12+Mbps Up
    Browser
    Vivaldi Snapshot
    Antivirus
    Avast
This program is also good (plus you can create your own icons too) -- Icofx.
It's not free now but you can still get the last free version (still works on the latest version of DEV Insider build W11 Pro).


Cheers
jimbo



:
 

My Computer My Computer

At a glance

Windows XP,11 Linux Fedora Rawhide pre-releas...2 X Intel i7
OS
Windows XP,11 Linux Fedora Rawhide pre-release 46
Computer type
PC/Desktop
CPU
2 X Intel i7
Screen Resolution
4KUHD X 2
Back
Top Bottom