I'm trying to change the IRC protocol handler
Below is a solution for Windows 8. A similar/identical procedure should work for Windows 10.
Warning:
The instructions below contain steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly.
Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs.
For more information see How to back up and restore the registry in Windows.
Changing the IRC protocol association on Windows 8
I would like to remove Google Chrome's association with the IRC protocol. If I open an IRC link from Run, such as irc://irc.neowin.net/neowin, Google Chrome opens. I would like mIRC to be associated with this protocol.
I've tried removing the association using Set Default Programs, but have had no success. It will only allow me to change it to a Windows 8 (store) app.
Solution:
I was able to remove the IRC association from Google Chrome by making this simple registry change:
Go to
HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome\Capabilities\URLAssociations\
Then delete the
IRC
lineThat's it. I tested it on my Windows 8 machine and clicking on an IRC link in Chrome launches mIRC and prompts me to connect to the server.
This is assuming you have the IRC links assosicated with mIRC.
I made a simple registry file that will make the Chrome changes as well as associate IRC and XDCC links to mIRC:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\irc] @="URL: IRC Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\irc\shell\open\command] @="C:\\Program Files (x86)\\mIRC\\mirc.exe %1" [HKEY_CLASSES_ROOT\xdcc] @="URL: XDCC Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\xdcc\shell\open\command] @="C:\\Program Files (x86)\\mIRC\\mirc.exe %1" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome\Capabilities\URLAssociations] "irc"=-