Lansweeper pulls Windows computer data from WMI (Windows Management Instrumentation), a management framework built into Windows operating systems. If WMI is corrupt on a Windows computer, Lansweeper will be unable to scan the machine and you may see errors like the ones below on the computer's Lansweeper webpage. These errors are generated by WMI itself and can generally be resolved by performing a WMI repair.
Below are several options you can try to repair WMI on a client machine. Reboot the client computer after each step and verify whether the issue has been resolved by rescanning the machine. One way to rescan is to click the Assets link at the top of the web console, ticking the checkbox in front of the asset and hitting the Rescan button on the left. Wait for the Last Seen or Last Tried date listed in the Summary tab of the computer webpage to update, indicating that a new scan attempt has taken place.
• If LsPush cannot retrieve data from the client machine either, WMI is corrupt.
• If LsPush can retrieve data, WMI is not corrupt and any scanning errors you may be getting during agentless scanning are caused by something else, e.g. a firewall or incorrect credential.
- Run this script on the client machine that's generating the WMI corruption errors. It recompiles all .mof WMI files found in the %windir%\System32\Wbem\Repository folder.
- Execute the commands below in an elevated Command Prompt on the client machine that's generating the WMI corruption errors. This is an alternate way of resetting the WMI repository to the initial state when the operating system was first installed.Winmgmt.exe /standalonehost
- Execute the command below in an elevated Command Prompt on the client machine that's generating the WMI corruption errors. It checks the integrity of Windows operating system files and attempts to repair errors it finds.sfc /scannow
- If all else fails, reinstall the Windows operating system on the client machine that's generating the WMI corruption errors.