XML Robot installation is failing with WMI errors

book

Article ID: 143296

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

XML Robot installation is failing with WMI errors in automated_deployment_engine log:

01162020 14:45:31,930 [pool-5-thread-2] FATAL AbstractActor - Error encountered during distribution of robot_exe.zip to target (machine): (4,Install Failure)
com.nimsoft.ADE.core.DeploymentException: com.jacob.com.JacobComFailException: Invoke of: ConnectServer
Source: SWbemLocator
Description: Access is denied. 
  (HRESULT = '-2147024891')
 at com.nimsoft.ADE.actor.HostActor.install(HostActor.java:58) ~[automated_deployment_engine_v2-9.2.0.jar:9.2.0]
 at com.nimsoft.ADE.actor.HostActor.install(HostActor.java:23) ~[automated_deployment_engine_v2-9.2.0.jar:9.2.0]
 at com.nimsoft.ADE.actor.AbstractActor.run(AbstractActor.java:87) [automated_deployment_engine_v2-9.2.0.jar:9.2.0]
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_212]
 at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
 at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Caused by: com.jacob.com.JacobComFailException: Invoke of: ConnectServer
Source: SWbemLocator
Description: Access is denied. 
  (HRESULT = '-2147024891')
 at com.nimsoft.WMIConnect.connect.WMIConnection.createAuthenticatedWMIDispatch(WMIConnection.java:291) ~[wmi-9.2.0.jar:9.2.0]
 at com.nimsoft.WMIConnect.connect.WMIConnection.<init>(WMIConnection.java:89) ~[wmi-9.2.0.jar:9.2.0]
 at com.nimsoft.WMIConnect.connect.WMIConnection.<init>(WMIConnection.java:74) ~[wmi-9.2.0.jar:9.2.0]
 at com.nimsoft.ADE.strategy.transport.WindowsTransport.<init>(WindowsTransport.java:40) ~[automated_deployment_engine_v2-9.2.0.jar:9.2.0]
 at com.nimsoft.ADE.strategy.transport.WindowsTransport.<init>(WindowsTransport.java:36) ~[automated_deployment_engine_v2-9.2.0.jar:9.2.0]
 at com.nimsoft.ADE.strategy.deployment.StrategyFactory.getStrategy(StrategyFactory.java:77) ~[automated_deployment_engine_v2-9.2.0.jar:9.2.0]
 at com.nimsoft.ADE.actor.AbstractActor.push(AbstractActor.java:67) ~[automated_deployment_engine_v2-9.2.0.jar:9.2.0]
 at com.nimsoft.ADE.actor.HostActor.install(HostActor.java:50) ~[automated_deployment_engine_v2-9.2.0.jar:9.2.0]
 ... 7 more
Caused by: com.jacob.com.ComFailException: Invoke of: ConnectServer
Source: SWbemLocator
Description: Access is denied. 

 at com.jacob.com.Dispatch.invokev(Native Method) ~[jacob-1.18-M3.jar:?]
 at com.jacob.com.Dispatch.invokev(Dispatch.java:625) ~[jacob-1.18-M3.jar:?]
 at com.jacob.com.Dispatch.callN(Dispatch.java:453) ~[jacob-1.18-M3.jar:?]
 at com.jacob.activeX.ActiveXComponent.invoke(ActiveXComponent.java:476) ~[jacob-1.18-M3.jar:?]
 at com.nimsoft.WMIConnect.connect.WMIConnection.createAuthenticatedWMIDispatch(WMIConnection.java:288) ~[wmi-9.2.0.jar:9.2.0]
 at com.nimsoft.WMIConnect.connect.WMIConnection.<init>(WMIConnection.java:89) ~[wmi-9.2.0.jar:9.2.0]
 at com.nimsoft.WMIConnect.connect.WMIConnection.<init>(WMIConnection.java:74) ~[wmi-9.2.0.jar:9.2.0]
 at com.nimsoft.ADE.strategy.transport.WindowsTransport.<init>(WindowsTransport.java:40) ~[automated_deployment_engine_v2-9.2.0.jar:9.2.0]
 at com.nimsoft.ADE.strategy.transport.WindowsTransport.<init>(WindowsTransport.java:36) ~[automated_deployment_engine_v2-9.2.0.jar:9.2.0]
 at com.nimsoft.ADE.strategy.deployment.StrategyFactory.getStrategy(StrategyFactory.java:77) ~[automated_deployment_engine_v2-9.2.0.jar:9.2.0]
 at com.nimsoft.ADE.actor.AbstractActor.push(AbstractActor.java:67) ~[automated_deployment_engine_v2-9.2.0.jar:9.2.0]
 at com.nimsoft.ADE.actor.HostActor.install(HostActor.java:50) ~[automated_deployment_engine_v2-9.2.0.jar:9.2.0]

Environment

Release : All

Component : automated_deployment_engine

Resolution

This can happen for the following reasons:

-unable to connect to the server
-logging in with a user that is not an administrator
-the server has been hardened, and WMI and DCOM have been disabled