1-800-691-1991 | 9am - 8pm ET
EN

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

KB ID: 1926
Product: Veeam Backup & Replication
Version: all
Published: 2014-09-12
Last Modified: 2020-08-13
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

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

 
Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you for your interest in Veeam products!
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.