Information
This service spools print jobs and handles interaction with printers.
The recommended state for this setting is: Disabled.
In a high security environment, unnecessary services especially those with known vulnerabilities should be disabled.
Disabling the Print Spooler (Spooler) service mitigates the PrintNightmare vulnerability ( CVE-2021-34527 https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-34527 ) and other attacks against the service.
Solution
To establish the recommended configuration, run the following PowerShell command:
Set-Service -Name Spooler -StartupType Disabled
Impact:
Users will not be able to print, including printing to files (such as Adobe Portable Document Format (PDF)) which uses the Print Spooler service.