As of this writing, the OpenVPN-GUI system tray icon is very similar to the Windows 10 wired network icon, making it difficult to distinguish the two at a glance. This gist provides color swapped versions of the default OpenVPN icon to match the three (3) connection states, i.e., disconnected, connecting, and connected.
Using a resource editor, the user can modify their copy of the openvpn-gui.exe binary file to use the new icons. This gist includes a sample Resource Hacker script for this purpose, see "replace-tray-icons.txt".
Usage: ResourceHacker.exe -script replace-tray-icons.txt
The sample script assumes the openvpn-gui.exe file is in the same
directory. Modify the Open
and Save
parameters to change this as
needed.
[15 Aug 2019, 15:41:37]
[FileNames]
Source : D:\rh\openvpn-install.exe
Save As : D:\rh\openvpn-install-new.exe
Log File: D:\rh\replace-tray-icons.log
[Commands]
-modify connected.ico, IconGroup,91,1033
-modify connecting.ico, IconGroup,92,1033
-modify disconnected.ico, IconGroup,93,1033
Success!
But there is no D:\rh\openvpn-install-new.exe
the cmd is opened with administrator rights