Hi,
Installation of Antimalware
for Azure on
Win2k8 R2 VM (I know, don't ask) fails on serveral VM's with error code 52, not documented. Anyone seen this before? No clue with procmon either with filtering on mpclient.dll
Contents logfile:
[10/07/2019 03:00:59.08] Executing: C:\Packages\Plugins\Microsoft.Azure.Security.IaaSAntimalware\1.5.5.9\AntimalwareConfig.exe -enable
[10/07/2019 03:01:48.78] Execution Complete.
######
Execution Output:
Microsoft Antimalware Configuration Utility
Version 1.5.5.9
Please refer this TSG:
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/iaas-antimalware-windows
- Current UTC time: 7-10-2019 3:00:59
- Getting InvalidOperationException when trying to find is MSMPSvc running, we will move on to check if WinDefend is running 7-10-2019 3:01:32
- Trying to find is Defender installed... 7-10-2019 3:01:32
- Getting Configuration 7-10-2019 3:01:32
- Getting Configuration Schema Type 7-10-2019 3:01:32
- Configuration settings file found: C:\Packages\Plugins\Microsoft.Azure.Security.IaaSAntimalware\1.5.5.9\RuntimeSettings\0.settings 7-10-2019 3:01:32
- Getting json Configuration 7-10-2019 3:01:33
- Deserializing Json Cfg 7-10-2019 3:01:33
- Enabling antimalware 7-10-2019 3:01:33
- Checking Is Defender or Camp Installed 7-10-2019 3:01:33
- Trying to find is Defender installed... 7-10-2019 3:01:33
- Defender Installed, ServiceName WinDefend 7-10-2019 3:01:33
- Checking Is Service Running 7-10-2019 3:01:33
- Getting InvalidOperationException when trying to find is MSMPSvc running, we will move on to check if WinDefend is running 7-10-2019 3:01:33
- Service is not Running, start enabling steps 7-10-2019 3:01:33
- Initializing CampEngine 7-10-2019 3:01:33
- Creating Engine Configurator 7-10-2019 3:01:33
- Register Microsoft Update For Mep 7-10-2019 3:01:33
- Start the registration script for Microsoft Update 7-10-2019 3:01:33
- End the registration script for Microsoft Update 7-10-2019 3:01:33
- Registered to receive antimalware updates via Microsoft Update 7-10-2019 3:01:48
- Start Enable AntiMalware for Engine Configurator Api 7-10-2019 3:01:48
- Fail to EnableAntiMalware::System.DllNotFoundException: Unable to load DLL 'MpClient.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Microsoft.Azure.Security.MpClient.MpManagerOpen(UInt32 dwReserved, IntPtr& pMpHandle)
at Microsoft.Azure.Security.EngineConfiguratorApi.EnableAntiMalware(String ServiceName) 7-10-2019 3:01:48
* ERROR: Enable step getting DllNotFoundException: System.DllNotFoundException: Unable to load DLL 'MpClient.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Microsoft.Azure.Security.MpClient.MpManagerOpen(UInt32 dwReserved, IntPtr& pMpHandle)
at Microsoft.Azure.Security.EngineConfiguratorApi.EnableAntiMalware(String ServiceName)
at Microsoft.Azure.Security.CampEngine.Enable(AntimalwareConfig newConfig)
Execution Error:
######
Command C:\Packages\Plugins\Microsoft.Azure.Security.IaaSAntimalware\1.5.5.9\AntimalwareConfig.exe of Microsoft.Azure.Security.IaaSAntimalware has exited with Exit code: 52
![]()