cn.chenlichao.wmi4j.WMIException: Access is denied, please check whether the [domain-username-password] are correct. Also, if not already done please check the GETTING STARTED and FAQ sections in readme.htm. They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such exceptions. [0x00000005]

Stack Overflow | hellzone | 4 months ago
  1. 0

    How to connect remote machine with wmi?

    Stack Overflow | 4 months ago | hellzone
    cn.chenlichao.wmi4j.WMIException: Access is denied, please check whether the [domain-username-password] are correct. Also, if not already done please check the GETTING STARTED and FAQ sections in readme.htm. They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such exceptions. [0x00000005]

    Root Cause Analysis

    1. cn.chenlichao.wmi4j.WMIException

      Access is denied, please check whether the [domain-username-password] are correct. Also, if not already done please check the GETTING STARTED and FAQ sections in readme.htm. They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such exceptions. [0x00000005]

      at cn.chenlichao.wmi4j.SWbemLocator.connectServer()
    2. cn.chenlichao.wmi4j
      SWbemLocator.connectServer
      1. cn.chenlichao.wmi4j.SWbemLocator.connectServer(SWbemLocator.java:165)
      2. cn.chenlichao.wmi4j.SWbemLocator.connectServer(SWbemLocator.java:177)
      2 frames
    3. com.mycompany.javacombridge
      JACOB.main
      1. com.mycompany.javacombridge.JACOB.main(JACOB.java:60)
      1 frame