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.
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.
Specify the namespace to connect to in the namespace section.
If you are testing WMI with the local server you will enter the namespace.
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’:
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.
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
The example result is shown below.