I don't think there is a way to do this. I thought you might be able to do it via ClientCaps.isComponentInstalled but that appears to only work for a small subset of Microsoft components.
The only way to do this is to create an application that scans the registry key entries @ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Browser Helper Objects. You would then have to map these GUIDs back to their BHOs you want to block. An easier approach might be to encourage the user to download Windows Defender or another malicious/spyware removal tool.
I suggest relying on another tool to do the removal because removing these malicious BHOs is not as simple and unregistering the COM object and deleting the DLL. They usually have deeper tentacles into the system and hurt the user’s computer more if you only clean out part of them.
|