Super Contributor.
Super Contributor.

(OO) Support Tip: Java WMI Query operation fails by 'Could not access the target host registry.'

In some Windows environment, a Java WMI Query operation like '/Base [1.x.x]/Library/Operations/WMI/Java/WMI Query' fails with the following error message:

"Could not access the target host registry. In most cases this can be fixed by starting the "Server" and "Remote Registry" services on the target host."

In such a case, make sure to follow instructions explained in the 'Property' page of the '/Base [1.x.x]/Library/Operations/WMI/Java' folder.

If the same error is observed even after following them, try the following two modifications in Windows Registry in a target Windows node:

- Add the following value to {76A64158-CB41-11D1-8B02-00600806D9B6} key in HKEY_CLASSES_ROOT\CLSID\

    Value name: AppID
  Value data: {76A64158-CB41-11D1-8B02-00600806D9B6}

- Add the following key and value(name only, without data) in HKEY_CLASSES_ROOT\AppID\

  key: {76A64158-CB41-11D1-8B02-00600806D9B6}
  Value name: DllSurrogate
  Value data: (empty)

Labels (1)
1 Reply
Respected Contributor.
Respected Contributor.

Hi Shu,

Thanks for your sharing.

I'd like to know that is there any special requirement for the Type of value?




The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.