Disable AVG Shell Extension Kaseya Script

Written by BT

Topics: Kaseya

Here’s a quick post – this one annoyed me today and couldn’t see anything in the Kaseya forums.

It annoys me that AVG Corporate has such a bad name/reputation in the wild because of its association with AVG Free. As such, several MSPs I work with want to keep the AVG name away from users as much as possible. One of the options when rolling out KES is to setup a Windows Explorer shell extension – you know where you right click and choose “Scan with AVG”

There’s no way to undone this from the KES Management console once you roll out machines with it. So here’s the Kaseya script (v5.1) that does it – pretty simple, just delete the regkey and it disappears immediately. You should be able to straight copy and paste this into the script import window:

Script Name: AVG/KES/Managed AV - Disable Shell Context Menu
Script Description: This script disables the shell context menu that shows the "Scan with AVG" menu item when right clicking in Windows Explorer.
Script by Tullibo.com

To re-enable, build a .reg file with the content below and re-import:

## .reg file start (remove this bit if building .reg file)
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\AVG9 Shell Extension]
## .reg file end (remove this bit too)

IF True
Delete Registry Key - (Continue on Fail)
Parameter 1 : HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\AVG9 Shell Extension
OS Type : 13