There are a couple of ways you can do this but in this step-by-step guide, we will show you how to disable the Print Spooler service to mitigate the PrintNightmare vulnerability on Windows 10 operating system using PowerShell.
Step 1: Open the Start menu on your Windows 10 computer and search for the term “PowerShell.”
Step 2: From the search results, right-click on the top result and select the “Run as Administrator” option.
Step 3: Now, in the PowerShell window, type the following command to stop the Print Spooler service:
Stop-Service -Name Spooler -Force
Alternatively, you can type the following command to prevent the service from starting back up again during restart:
Set-Service -Name Spooler -StartupType Disabled
