Français

How to test WMI outside Octopus?

Modified: 2009/01/16 09:56 by shamel - Categorized as: Technical
If you have WMI connection problems with Octopus, you can use wbemtest, a WMI testing tool included with Windows, to test the connection outside of Octopus.

Part 1: Test connection:
  • To start wbemtest, enter wbemtest at the Start > Run command box
  • In wbemtest, click the connect button
  • Change root\cimv2 by \\COMPUTERNAME\root\cimv2 (where COMPUTERNAME is the name or IP of the host you want to connect to).
  • Click Connect

You might get an error at this stage. The error message might be useful for troubleshooting.

Part 2: Test reading information:
  • Click the Query button
  • Enter this query: select * from win32_operatingsystem
  • Press Apply

The test is successful if you get a dialog box called "Query result". The test failed ff you get a dialog called "error". The error message might be useful for troubleshooting.

Administration | This wiki was designed using ScrewTurn.