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

TL;DR-Sweepy-Icon (1).png
This page explains what the "DCOM was unable to communicate with the computer" means for your installation, and how to prevent the error.


After installing Lansweeper and scanning your network, you may start seeing entries with an Event ID like the one below in your Lansweeper server's Event Viewer. While your Event Viewer classifies these entries as errors, they are just informational messages and can generally be ignored.

dcom-was-unable-to-communicate-with-the-computer-1.jpg

When Lansweeper scans a Windows computer, it uses DCOM to establish the initial connection to the client machine. If the client machine is offline or firewalled, DCOM automatically logs an error in your server's Event Viewer. This error indicates that Lansweeper was unable to scan the client machine, but does not point to an underlying issue with your server or Lansweeper installation.

Regardless, there are steps you can take to stop seeing these events. Lansweeper automatically excludes them from scanning so they don't show up in your Lansweeper web console, but you can also prevent them from being added to your Event Viewer altogether.

Prevent DCOM from logging events in Event Viewer

  1. On the machine hosting the Lansweeper Server service, run regedit.exe, the Registry Editor.
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole and Modify the ActivationFailureLoggingLevel.
    dcom-was-unable-to-communicate-with-the-computer-3.jpg
  3. Set the ActivationFailureLoggingLevel value to "2".
    dcom-was-unable-to-communicate-with-the-computer-4.jpg
  4. If the ActivationFailureLoggingLevel value does not exist, manually create it.
    dcom-was-unable-to-communicate-with-the-computer-2.jpg
    Keep in mind that setting this value to "2" will prevent DCOM from logging any failures.
  5. Reboot the machine hosting the Lansweeper Server service.

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:
‎10-10-2023 02:43 PM
Updated by: