WMI Resync

Quick Description This automation policy resyncs the WMI repository.
Applies To On-premises N-able N-central 9.0.x
Last Revised  

Overview

This automation policy performs the appropriate WMI repository resync commands for Windows.

Input parameters

No input parameters are required.

Automation policy

Outcome

WMI repository is resynchronized.

Troubleshooting

How to Repair or Reset the WMI Repository (Windows)

Follow these steps in an elevated (Administrator) Command Prompt on the affected device:

  1. Check WMI Repository Status

    winmgmt /verifyrepository

    If the result is Repository is not consistent, continue to the next step.

  2. Attempt to Repair the Repository

    winmgmt /salvagerepository

  3. Recheck the Repository. Run the verification command again:

    winmgmt /verifyrepository

    If the repository is still inconsistent, proceed to reset.

  4. Reset the WMI Repository

    winmgmt /resetrepository

  5. Troubleshoot Reset Errors

    If you encounter errors such as:

    WMI Reset Failed

    A Stop Control has been sent to a service that other running services are dependent on.

    Then run:

    net stop winmgmt /y

    winmgmt /resetrepository