Jump to content

How to completely remove KSE manually after various installation issues [Kaspersky Security for Microsoft Exchange Server]


Recommended Posts

Antipova Anna
Posted

Advice and Solutions (Forum Knowledgebase) Disclaimer. Read before using materials.

Description

When installing or upgrading KSE, you may encounter various issues when installing or starting our service. If a user has repeated the installation many times and changed many settings manually, we recommend to remove KSE completely using the instructions below. 

Cause

There are files that remain in the system from a previous KSE installation, so a new installation cannot be successful.

Solution

Delete the remaining KSE files from the Exchange server manually. Follow the instructions below.

1. Delete all the remaining KSE agents. To do so, start Exchange Management Shell and run the following command:

Get-TransportAgent -TransportService FrontEnd

       If the KSE agent is on the list, run the command:

Uninstall-TransportAgent -TransportService FrontEnd -Identity "Kaspersky Security antispam Frontend Cas agent"

2. Run the following command:

Get-TransportAgent

See what KSE agents are on the list.

Run the command below for every KSE agent.

For example:

Uninstall-TransportAgent “Kaspersky Security routing antispam filter agent”
 
Uninstall-TransportAgent “Kaspersky Security antispam filter agent”
 
Uninstall-TransportAgent “Kaspersky Security antivirus filter agent”

Insert the names of KSE agents from your list.

3. Restart the Transport Agent service using the command:

Restart-Service "MSExchangeTransport"

4. To make sure that there are no more KSE agents, run the following commands again:

Get-TransportAgent -TransportService FrontEnd

and

Get-TransportAgent

5. Set Disabled for Kaspersky Security For Microsoft Exchange Servers service startup and stop our service.

6. Import the removeregkeys.zip archive to the registry.

7. Restart the MSExchangeIS service:

restart-Service MSExchangeIS

8. Remove the folder where KSE was installed.

If possible, restart the server.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...