DCOM setting changes made by the Lansweeper installer

When you install or subsequently update Lansweeper, the Lansweeper installer makes changes to the DCOM and a few other settings in the registry of the Lansweeper server. Some settings are changed to their default values, as faulty settings could lead to Lansweeper installation or scanning failures. The following changes are made by the Lansweeper installer in the registry of the server hosting Lansweeper:

  • DCOM is enabled by modifying several registry values through the commands below.
    RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Ole', 'EnableDCOM','Y');
    RegWriteDWordValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Ole', 'LegacyAuthenticationLevel',2);
  • Loopback checks are disabled by modifying a registry value through the command below.
    RegWriteDWordValue(HKEY_LOCAL_MACHINE, 'SYSTEM\CurrentControlSet\Control\Lsa', 'DisableLoopbackCheck',1);
  • Simple file sharing is disabled by modifying a registry value through the command below.
    RegWriteDWordValue(HKEY_LOCAL_MACHINE, 'SYSTEM\CurrentControlSet\Control\Lsa', 'forceguest',0);

Related Articles