I’m not one to do product promotions or even reviews. I am not an anti-virus expert by any strech of the imagination, but my business gives me exposure to a variety of environements and I have been well served by “AVG anti virus products”:http://www.avg.com for several years now. Recently an employee of the company showed me a professional courtesy and I mention AVG now with a link to repay the courtesy. Many of my clients happily use the product as a result of my reccomendation.
h2. the little snag
I was recently evaluating the AVG central administration product in my virtual test network on a Windows 2008 Small Business Server. (I also run a fully licensed version of AVG 9.0 and the admin component on my own Windows Small Business Server 2003.) At the end of the evaluation, I uninstalled the anti virus product. And then I uninstalled the adminstration component.
…and then my Exchange 2007 server started to complain bitterly.
bq. The creation of an agent factory for the agent ‘AVG 9.0 Antivirus routing transport agent’ failed with error ‘Failed to create type ‘AvgAntivirus4Exchange2007.AvgAntivirusRoutingAgentFactory’ from assembly ‘C:Program Files (x86)AVGAVG9ExchangeTransportavgavtaa.dll’ due to error ‘Invalid agent assembly path.’.’. Verify that the corresponding transport agent assembly and dependencies with the correct version are installed.
h2. the fix
I used Add/remove Programs and the AVG Remover utility to attempt to fully remove the programs. I do not know why, it appears during the uninstall processes, this file became corrupt:
C:Program FilesMicrosoftExchange ServerTransportRolesSharedagents.config
After I fixed the file, the Exchange management shell command
Showed me 3 agents with names that began “AVG…” I used this command for all three agents named:
Uninstall-TransportAgent "AVG ..."
Restart Exchange, and the issue was resolved.