Solved| Start and then Stop Exchange transport Service after uninstalling Antivirus Avast or Avira

Solved| Start and then Stop Exchange transport Service after uninstalling Antivirus Avast or Avira

Today i was working at client side where I went through this type of issue may be you already went through. Actually the problem or you can say issue I went through was, I have a client who installed Avira antivirus in trial mode because he was getting a lot of spam in their environment while configuring their Hybrid Migration. I requested them to please buy a Firewall hardware to cover or protect your environment rather than exposing your Exchange server to public because they are using public IP for their Email routing of local exchange. But at that time he just said that it doesn't make any effect to install Avira temporarily in our environment for our exchange protection because so many spams are entering in our local exchange.

So, because of trial mode of Avira antivirus, It has been expired yesterday and thier exchange server have been creating a lot of problems like their user used to disconnect automatically from domain joined systems, their Emails got stuck and clients logged the complaints that they are getting emails after so much delays like user sent an email to the user of other organization at 2:00 PM, But the other organization user is getting email at 2:45 PM its not the matter of other organization's Inter net connection but because of expiration of an antivirus

Please don't suggest any Client to install trial version of any Antivirus in their Live environment because after expiration if you will not pay it may effect your Servers and then you will not be able to do anything.

So the story continues, He called me that I am trying to uninstall Avira but its giving me an error and not uninstalling then i went there and started their Exchange server in Safe mode then I stopped the Avira service then Restart Server and when server got Up i deleted all the registry files related to Avira keywords and then after restarting, Afterwards i wanted to check that mails are routing normally then I found an error when i tried to open Queue viewer from exchange Console it was Saying that "Kindly verify that Transport service is running or not".

I went to the Services.msc and saw that service has been stopped automatically I tried to start a lot of time but i was failed to start it, It just started for a while then stopped automatically. I went to even viewer for error where i Saw the whole picture that Avira is still in the system after uninstalling. I am giving you the solution it will apply on both of antiviruses Avast and Avira

Error :

Event ID: 16023

Log name: Application

Source: MSExchangeTransport

Task category: Configuration

Level: Error

Description

Microsoft Exchange could not start Transport Agents. Stopping Microsoft Exchange Transport service. Exception details: Error while creating type 

'De.Group.Msx.Backend.TransportAgent.MailAgentFactory' from Assembly 'C:\Program Files (x86)\Avira\AntiVir Exchange\Bin\De.Group.Msx.Backend.TransportAgent.dll' ....

Solution:

1- Go to the Exchange Console Shell and Run as an Administrator

2- Check if the Avira or Avast Transport Agent is still registered, using the command Get-TransportAgent. The output should contain:

C:\Windows\system32>Get-TransportAgent

If the Avira or Avast related Transport Agent is listed, continue with the next step. 

3- Type the following command, to remove Avira or Avast Transport Agent:

4- Uninstall-TransportAgent "Avira TransportAgent" or Uninstall-TransportAgent "Antivirus Name what you see on shell double check the spellings"

5- The Management Shell will ask you to confirm the action.

 Press Y and Enter

Then start the Microsoft Exchange Transport service in the Services Snap-in.

May it will help you Out Thanks !!!!


To view or add a comment, sign in

Insights from the community

Others also viewed

Explore topics