How to Extract Icons from EXE Files

Extracting an icon from an EXE file may sound a bit complicated, but it really isn’t if the right tools are applied for this extraction. These suitable tools will be shown below along with the procedure to apply them.

Index( )

  1. What are the best internet tools to extract icons?
    1. Using IconViewer
    2. Using IconsExtract
    3. Con QuickAny2Ico
  2. How to extract EXE file to an icon using PowerShell?

What are the best internet tools to extract icons?

On the internet you can get many tools to extract icons , some are available in the Microsoft Store . Now, the best tools for their effectiveness are the ones that will be shown below:

Using IconViewer

IconViewer is the oldest tool, to use it you must download it to your computer, you do not need to configure anything because this tool  will run automatically after downloading, being clear about this, the procedure to extract an icon with it is as follows:

  1. Find the EXE file on your computer and right-click on it.
  2. You will be shown an options menu, in it select the Properties option.
  3. Then in the new window select the Icons section.
  4. After you do the above, all the icons of the EXE file you have selected will be shown on the screen, with your mouse select the icon you want to extract.
  5. Go to the Device images section located at the bottom of this page, in it modify the size and color of the icon if you wish.
  6. When you finish editing, click on the Save option, select the folder in which you want the icon to be stored. This will have a PNG and BMP format, which you can convert on your own computer, you just have to open the icon and carry out the saving procedure and select the format you want in type.

Using IconsExtract

Another tool that is used to save icons from EXE files is IconsExtract, this is free for all versions of the Windows operating system, to use it perform the following procedure:

  1. Download IconsExtract from their official page.
  2. When the download is complete, open the tool.
  3. Within IconsExtract you will find in the central part the option Search icons, press your mouse on it, when you do this you will be sent to search your computer for the EXE file that contains the icon or icons you want to save, when you get it, select it.
  4. After the above, select the icons you want to save in the file, then go to the file menu.
  5. In the menu that will be shown, select the option Save selected icons, select the folder in which you want this icon to be stored. Another option for using this icon is to copy it to the computer’s clipboard and then paste it as normal into another document or application.

Con QuickAny2Ico

The QuickAny2Ico tool is very easy to use, since its interface is very simple. To extract icons from a file with it, do the following:

  1. Download the tool from its official site.
  2. When this tool is running you will be shown three options, start using select executable file by clicking on it you will be sent to find the file that contains the icons you want to use, when you get it press it.
  3. After you do the above, the icons will be shown, for this you will use the second Extraction option.
  4. When you finish use the last Save option, select the direction you want for the icon and that’s it. It is recommended that you create a new folderfor these icons so that you have them organized.

How to extract EXE file to an icon using PowerShell?

The PowerShell tool is not only used to   create user accounts in Windows 10 , but also to extract icons from EXE files , the procedure to achieve this is very simple, we will show you below.

  1. Open PowerShell on your computer.
  2. After you open the PowerShell tool put the following code:
    • Get-Icon -folder c:\exelocation –nombre
  3. Where it says name you put the name of the icon you want to extract.
  4. In the new window that will appear, place the following:
    • Get-Icon { function, in the space below put theCmdletBinding() code]
  5. You will be shown a new window with the Parameter section in which you will get the following:
    • Parameter (
    • Parameter(Required=$True,HelpMessage=”Enter the location of the .EXE file”)]] Parameter(Required=$True,HelpMessage=”Enter the location of the .EXE file”)
    • string]$folder
    • )
  6. On both sides where it says Enter the location of the .EXE fileyou must put the address of the EXE file where the icons you want to save are located.
  7. On the page named System Reflection Assembly place the following as is:
    • LoadWithPartialName(System.Drawing) | Out-Null
    • md $folder -ea 0 | Out-Null
    • dir $folder *.exe -ea 0 -rec |
    • For each object {
    • $baseName =[System.IO.Path]::GetFileNameWithoutExtension($_.FullName)
  8. You will be shown another new window, in it place:
    • Extracting Icon $basename, select with the mouse the icons you want to extract.
    • After the above, place the following: ExtractIcon.associated($_.FullName).ToBitmap().Save(«$folder\$basename.ico»)
  9. Next, put the following code:
    • Type Get-Icon-Folder [the location of the executable file] instead of Get-Icon -folder c:\exelocation -name.
  10. Where it says the location of the executable file put the address of where you want the icons to be stored. It should be noted that this process is valid only for Windows 10.

 

by Abdullah Sam
I’m a teacher, researcher and writer. I write about study subjects to improve the learning of college and university students. I write top Quality study notes Mostly, Tech, Games, Education, And Solutions/Tips and Tricks. I am a person who helps students to acquire knowledge, competence or virtue.

Leave a Comment