69.27 (L2) Ensure 'Server (LanmanServer)' is set to 'Disabled'

Information

Supports file, print, and named-pipe sharing over the network for this computer. If this service is stopped, these functions will be unavailable.

The recommended state for this setting is: Disabled

In a high security environment, a secure workstation should only be a

client

, not a server. Sharing workstation resources for remote access increases security risk as the attack surface is notably higher.

Solution

Remediation of this service is currently not possible through Settings Catalog or a custom profile OMA-URI. Instead, it can be scripted and deployed through the Intune Scripts or Remediations blade or by other means.

To establish the recommended configuration via PowerShell, run the following cmdlet:

Set-Service -Name LanmanServer -StartupType Disabled

Impact:

File, print and named-pipe sharing functions will be unavailable from this machine over the network.

Note: Many remote administration tools, such as System Center Configuration Manager (SCCM), require the Server service to be operational for remote management. In addition, many vulnerability scanners use this service to scan the file system remotely.

See Also

https://workbench.cisecurity.org/benchmarks/16852

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 800-53|CM-7, CSCv7|9.2

Plugin: Windows

Control ID: da8fcc08440e3fb4eb6c0f77719d332d65b1f23cc3ff3fc4ffe96329db47a309