cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Nils
Lansweeper Tech Support
Lansweeper Tech Support

TL;DR-Sweepy-Icon (1).png
This page provides troubleshooting steps for "access denied" scanning errors encountered when using Lansweeper to pull data from Windows computers via WMI.


This page is for Lansweeper Cloud. For Lansweeper Classic, see WMI Access is denied. 0x80070005.

Lansweeper pulls Windows computer data from WMI (Windows Management Instrumentation), a management infrastructure built into Windows operating systems. When scanning Windows computers without a scanning agent, you may at some point encounter machines that return "access denied" scanning errors. These errors are usually caused by your scanning credential lacking administrative privileges on the client machine, but can be caused by incorrect DCOM or other settings as well.

To successfully perform an agentless scan with RequireIntegrityActivationAuthenticationLevel set to 1, KB5005033 or newer must be installed.

 Troubleshoot the "access denied" error

  1. Make sure the client machine is running a non-Home edition of Windows.
    Older versions of Windows Home operating systems cannot be scanned remotely and will need to be scanned with LsAgent or LsPush. Non-Home editions of Windows can be scanned remotely without issue.
    You can scan Windows computers locally with the LsAgent or LsPush scanning agents. Scanning with an agent returns the same data and is a guaranteed solution to any access denied errors.
  2. Make sure the client machine's OS is fully patched, as older Windows builds had issues with remote WMI access.
  3. Take a look at the Last scan attempt date found in the computer’s Scan time > Scan summary menu to determine when the scanning error occurred.
    If the scanning error is not recent, rescan the computer first to verify whether the scanning issue is still present. To rescan the computer, select Rescan asset.
  4. Make sure the user account you submitted as a scanning credential in Lansweeper has administrative privileges on the client machine.
  5. Make sure you have the correct password for the user account and that the password has not expired.
    You can re-submit the user account's password to ensure it's correct.
  6. Make sure the client machine's firewall is configured to allow WMI traffic.
    If the machine uses Windows Firewall, read through the configuration instructions found in Configure Windows Firewall for agentless scanning of computers.
  7. Make sure the computer meets the other Windows domain or workgroup scanning requirements.
    You can download (right-click and Save Link As) and run this script within an elevated Command Prompt on a problem computer to ensure DCOM, Windows Firewall, and some other settings are correct. If you are using third-party firewalls, you will still need to check their configuration separately.
  8. Run the testconnection tool found at Program Files (x86)\Lansweeper\Actions\testconnection.exe on your Lansweeper scan server and submit the same scanning credentials used by Lansweeper.
    You must open the test tool on your Lansweeper scanning server, i.e. on the machine that has the Lansweeper Server service installed to replicate the exact network conditions experienced by Lansweeper.
  9. In the test tool, verify that the computer name is resolving to the correct IP address and that the WMI part is green.
    If the WMI part is green, Lansweeper should be able to scan the machine as well.
    Nils_0-1700821472460.png
  10. Make sure the local time is correctly configured on the client computer, the Lansweeper scanning server, and your domain controller.
    A time difference of more than 15 minutes between the client and server can cause unexpected results in Active Directory domains.
  11. Try removing the computer from your domain and re-adding it.

Was this post helpful? Select Yes or No below!
Did you have a similar issue and a different solution? Or did you not find the information you needed? Create a post in our Community Forum for your fellow IT Heroes!
More questions? Browse our Quick Tech Solutions.


Was this article helpful? Yes No
No ratings

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now
Version history
Last update:
‎11-24-2023 11:33 AM
Updated by: