I successfully installed a fresh Oracle Enterprise Manager 13c (13.5) on a Windows server.
Then, I used the silent install method to deploy a new OEM agent version 13.5 on a target Windows server.
Agent deployment went successfully (Installation, patching, configuration, …), but I received the following error at the last step:
** Agent Port Check completed successfully.**
Validated the agent port :- —-3872
shared agent value is :false
service cmd is:cmd /c C:\agent\18.104.22.168.0\agent_22.214.171.124.0\bin\nmesrvops create Oracleagent13c1Agent C:\agent\126.96.36.199.0\agent_188.8.131.52.0\bin\nmesrvc.exe auto
SEVERE:Create service for service name:Oracleagent13c1Agent has failed.
Agent configuration has failed
After some search, I found that this is a known issue, during agentDeploy.bat if msvcr100.dll is missing from C:\Windows\System32 (See Doc ID 2220447.1)
To fix this error, just copy the msvcr100.dll from another server, or from other locations on the same server, or you may decide to download and install Microsoft Visual C++2010 Redistributable Package.
After that, you can re-run the agentDeploy.bat program to re-install the agent.