Cannot use RDP on Azure VM after installing Kaspersky Endpoint Security

0

I have a Windows VM hosted in Azure where i have many websites (IIS) and yesterday i installed Kaspersky Endpoint Security 10 SP1 to be secure. Everything went normal during the process and after it finished and autostarted, like you may gessed, the firewall blocked me.

I managed to have access to the server using powershell but nothing worked:

  • msiexec /x {7A4192A1-84C4-4E90-A31B-B4847CA8E23A} /qn (there is a process - msiexec - but avp is still alive)
  • avp.com stop firewall (Error: Command unavailable due to password protection disabled)
  • trying to stop the AVP service

If anybody have a suggestion i'll be more than grateful. As for now, the websites are OK but better now than later.

etshei

Posted 2016-09-15T16:17:41.083

Reputation: 3

1I would just roll back to the snapshot I created of the Virtual Machine before the software was installed. – Ramhound – 2016-09-15T16:20:29.920

unfortunately, i didn't make a snapshot before the operation – etshei – 2016-09-16T11:06:18.577

Answers

-1

Please try to removing the Kaspersky by WMIC.

Tpye "product get name" to get the name of the installed Kaspersky.

Then use "product where name=”name of program” call uninstall" to remove the Kaspersky.

Here is a good article about how to use WMIC to uninstall the packages on Windows.

If it still doesn't work, please check if Kaspersky has been removed successfully. And also, please check if the Windows firewall has been modified. If yes, just use PowerShell command to add an inbound rule to allow TCP 3389.

Steven Lee - MSFT

Posted 2016-09-15T16:17:41.083

Reputation: 855

i tried "DISM /online /get-packages" but it shows only windows packages not installed apps – etshei – 2016-09-16T11:07:58.883

The suggested command isn't applicable to the software that should be removed – Ramhound – 2016-09-16T11:11:11.450

@etshei You're correct. Sorry about the misleading information, I've updated my answer. Also, this method has been verified in my lab. – Steven Lee - MSFT – 2016-09-19T10:16:16.550

@Ramhound Thanks for the reminding and I have updated my answer. – Steven Lee - MSFT – 2016-09-19T10:16:52.557

@StevenLee Thanks a lot, it worked like a charm. the command Get-WmiObject Win32_Product gets the packages i used $app = Get-WmiObject -Class Win32_Product -Filter "Name = 'Kaspersky Endpoint Security 10 for Windows'" then $app.Uninstall() to uninstall – etshei – 2016-09-19T13:45:23.910