5.22 (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

To establish the recommended configuration, run the following PowerShell command:

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/22007

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Windows

Control ID: c7643f48a7c8b3e48833b8f83576511e3d4582426ddee6f2f908def78d55cf50