Search code examples
windows-7registrycontextmenu

Windows 7: How to change context menu item icon?


In my Wwindows 7 installation I have a context menu item for scanning stuff for viruses. This menu item is for folders as well as for files. But the icon on this menu item is ugly. Is there a way to change the icon on a context menu item by manipulating the registry and by supplying path to a file containging the desired icon (*.ico, *.exe, *.dll)?

Regrads, Dmitri


Solution

  • It really depends on the application. The icon asset is probably stored in a DLL or an executable related to the application. Most likely you will have to modify that file with a tool such as Resource Hacker FX or XN Resource Editor.

    Using one of those tools you will have to inspect each EXE and DLL in the application until you find one with the icon you want to replace.

    Also it's possible since it's an antivirus application it might not take too kindly having itself modified. It might treat modifications to be a sign of a virus.