Hi,
I have a problem regarding installing SCOM agent Remotely/Locally on Windows Servers 2019, I found the main issue regarding my investigation, the main issue is the agent installation got failed when all of OS and .NET updates have been installed before SCOM agent installation, the error is in the following.
Windows Installer installed the product. Product Name: Microsoft Monitoring Agent. Product Version: 10.22.10056.0. Product Language: 0. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.
To make sure about the issue I have installed a fresh OS without any updates and the agent installed successfully, is there any solution or way to install successful the mentioned agent on our windows servers?
The error log which is stored on the SCOM server.
10:46:55 AM : OmAgentFunctions::IsProductInstalled : Leaving
10:46:55 AM : OmAgentFunctions::IsSceServerPresent : IsProductInstalled() failed. HResult: 80070647
10:46:55 AM : OmAgentFunctions::IsSceServerPresent : Leaving
10:46:55 AM : OmAgentFunctions::IsSmServerPresent : Entering
10:46:55 AM : OmAgentFunctions::IsProductInstalled : Entering
10:46:55 AM : OmAgentFunctions::IsProductInstalled : Leaving
10:46:55 AM : OmAgentFunctions::IsSmServerPresent : IsProductInstalled() failed. HResult: 80070647
10:46:55 AM : OmAgentFunctions::IsSmServerPresent : Leaving
10:46:55 AM : OmAgentFunctions::IsHsInstalled : HealthService not installed.
10:46:55 AM : OmAgentFunctions::IsHsInstalled : Leaving
10:46:55 AM : OmAgentFunctions::InstallOmAgent : No HealthService found, performing install.
10:46:55 AM : OmAgentFunctions::InstallOmAgentMsi : Entering
10:46:55 AM : OmAgentFunctions::SetMsiLogging : Entering
10:46:55 AM : OmAgentFunctions::SetMsiLogging : Leaving
10:47:07 AM : OmAgentFunctions::InstallOmAgentMsi : MsiInstallProductW() failed. HResult: 80070643
10:47:07 AM : OmAgentFunctions::GetNTEventLogDescription : select * from Win32_NTLogEvent where LogFile="Application" and EventType = 3 and SourceName = "MsiInstaller" and TimeGenerated >= "20220914061655.000910+000" and TimeGenerated <= "20220914061707.000570+000" HResult: 0
10:47:07 AM : OmAgentFunctions::GetNTEventLogDescription : Next returned HResult: 1
10:47:07 AM : OmAgentFunctions::InstallOmAgentMsi : Leaving
10:47:07 AM : OmAgentFunctions::InstallOmAgent : MsiInstall(OpInstall) failed. HResult: 80070643
10:47:07 AM : OmAgentFunctions::InstallOmAgent : Leaving
10:47:15 AM : CServiceModule::SetServiceStatus : State: 3, Error: 0
10:47:15 AM : CServiceModule::SetServiceStatus : State: 3, Error: 0
10:47:15 AM : IsCurrentMOMServerInstalled : MOM Setup key could not be opened.
10:47:15 AM : CServiceModule::_RegisterFile : Before LoadLibrary
10:47:15 AM : CServiceModule::_RegisterFile : After LoadLibrary
10:47:15 AM : CServiceModule::_RegisterFile : Before GetProcAddress
10:47:15 AM : CServiceModule::_RegisterFile : After GetProcAddress
10:47:15 AM : CServiceModule::_RegisterFile : After FreeLibrary
10:47:15 AM : CServiceModule::RegisterFile : Success return
10:47:15 AM : CServiceModule::RegisterFile : WaitForSingleObject return HResult: 0
10:47:15 AM : CServiceModule::SetServiceStatus : State: 1, Error: 0