How to use Windows Management Instrumentation (WMI) Tester [WBEMTest] to troubleshoot WMI

KB ID: 1926
Product: Veeam Backup & Replication
Version: all
Published:
Last Modified: 2017-05-29

Purpose

This knowledge base article was created to document how to use Windows Management Instrumentation (WMI) Tester [WBEMTest] to assist in the troubleshooting and isolating of WMI call related issues with Veeam Backup & Replication.

Solution

To open Windows Management Instrumentation (WMI) Tester
From a run prompt execute the command ‘wbemtest’.
(If you are testing RPC or a WMI call (and not WMI in general) then open wbemtest on the computer with Veeam software installed on it.)
 
Connecting to a network node and namespace
To connect to a network node click on “Connect…” in the upper right corner of the application. This will open a new window where you can enter connection parameters. 

User-added image

Specify the namespace to connect to in the namespace section.
 
If you are testing WMI with the local server you will enter the namespace.

User-added image

If testing WMI with a remote server you will enter that server’s hostname prior to the name space in the same way you would a UNC path.

When connecting to a remote server you must specify the credentials for the connection.
 
For example, to connect to the ‘root/cimv2’ on a server named ‘host1’:
     \\host1\root\cimv2 

User-added image

Once you have entered in the correct path and credentials (if applicable), click the “Connect” button. This will close the Connect window. You will see the path listed under “Namespace:” if you connected successfully.
 
If there is a connection issue a pop-up with error details will appear.
 
After a connection has been successfully created, a query can be tested by clicking the “Query” button. 

User-added image

This will open a new window labeled “Query”.
 
Enter a WMI query, then click apply. After clicking apply the Query window will close and show a Query Result window.
 
For example, the following query works when connect to the cimv2 namespace:
     select * from Win32_OperatingSystem

User-added image


 
The example result is shown below.

User-added image

 

4 / 5 (15 votes cast)

Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Orphus system