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
) and other attacks against the service.
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 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.