Geek Dashboard

How-To's, Smartphones, News and Reviews

  • Home
  • News
  • Smartphones
    • Android
    • iOS
  • Computers
    • Windows
    • macOS
  • Internet
  • Reviews
You are at Home » Computer

How to Enable or Disable Print Spooler Service in Windows to Protect Yourself from Printer Vulnerability

Last Updated on August 27, 2021 by Sajid Shaik Leave a Comment

Windows never ceases to amaze us with the possible vulnerabilities. If one gets a patch, another one will pop out of nowhere. One such vulnerability is the recent Printer vulnerability (CVE-2021-34481), also called Print Spooler vulnerability. It comes right after Microsoft fixed the PrintNightmare Vulnerability on Windows. You’ll need to disable the Print Spooler service, as a result.

The Print Spooler Vulnerability allows any hacker with physical access to your device to install any program, view and modify your files and data, and also create new accounts on your PC. The need for physical access to execute the code makes it less vulnerable but still could be a possibility of a hacker gets access to the physical system.

Microsoft hasn’t given any time frame regarding when this will be patched, but there’s a temporary workaround to get through it — Disable Print Spooler Service, just as Microsoft suggested.

In this guide, we’ll show you how to disable the Print Spooler on Windows to fix the Windows Printer Vulnerability. In addition to that, we’ll also show how to enable print spooler, once the vulnerability is patched.

How to Disable Print Spooler Service to Fix Printer Vulnerability on Windows

There are two methods to disable the Print Spooler service — The PowerShell method, and the Group Policy Editor method.

How to Disable Print Spooler Service to fix Print Vulnerability

The PowerShell method stops printers from working both locally and remotely. Whereas Group Policy Editor method only stops printers from working remotely and you can still use them locally without internet access.

Before using any of these methods, make sure that you are protected against the PrintNightmare Vulnerability.

Method 1: Disable Print Spooler Service using PowerShell

You can use PowerShell to disable the Print Spooler service on your system. But you need to note that, you won’t be able to print anything using the printer (not even remotely).

However, not printing is better than suffering from attacks of hackers from the Printer vulnerability on Windows.

To disable Print Spooler service using PowerShell:

  1. Open the Start menu.
  2. Search for “PowerShell.”
  3. Right click on Windows PowerShell and select Run as Administrator.
    PowerShell in Start Menu (Windows)
  4. Type the following command and hit Enter key to stop the Print Spooler service:
    Stop-Service -Name Spooler -Force
    Disable Print Spooler Command in Powershell
  5. Restart your computer for the changes to take effect.

This command will prevent the Print Spooler service from starting up when your system starts in order to get rid of the Print vulnerability on Windows. This will stop all printers connected to your computer from working – both locally and remotely.

Re-Enable Print Spooler with PowerShell

Method 2: Disable Print Spooler Service with Group Policy Editor

If you want to use the printer locally and can sacrifice remote access to the printer; it’s best to use the Group Policy Method. This method is probably the best among the two. Since hackers usually go for remote access rather than local or physical access.

Note that this method won’t work if you’re running the Windows 10 Home Edition, but will work on other editions of Windows 10.

To disable the Print Spooler from Windows 10 using the Group Policy method:

  1. Open the Start menu.
  2. Search with the term “gpedit”.
  3. Right click on “gpedit.msc” and select Run as Administrator option. (On Windows 11, the Run as Administrator option is not present, and thus, you can click on the Open directly).
    gpedit.msc (Group Policy Editor) in Start Menu (Windows)
  4. Navigate to the Computer Configuration > Administrative Templates > Printers.
  5. Scroll down a little, and double-click on the “Allow Print Spooler to accept client connections”.
    Allow Print Spooler Setting in Group Policy Editor
  6. Select the Disable radio button.
  7. Click on Apply and then hit the OK button.
    Allow Print Spooler Setting in Group Policy Editor set to Disabled. Click Apply and OK afterward.

After disabling the Print Spooler service, it’s best to restart your PC to make the changes effectively. Once you restart, the Print Spooler service from your PC should get disabled completely.

Re-Enable Print Spooler with Group Policy Editor

How to Enable Print Spooler Service after the Printer Vulnerability Gets Fixed on Windows

Once Microsoft patches the Printer Vulnerability issue on Windows, you can re-enable the Print Spooler service to make your printer work again.

With Powershell:

Once the issue gets patched, you should re-enable the Print Spooler service, or else you won’t be able to print your documents or images from the printer locally or remotely if you used the Powershell method.

If you used Powershell to disable the Print Spooler service, here’s how to re-enable the Print Spooler service, once the Vulnerability gets patched:

  1. Open the Start menu, and search for “PowerShell.”
  2. From the right side options or by right clicking on “Windows PowerShell”, select Run as Administrator
    PowerShell in Start Menu (Windows)
  3. Type the first following command in PowerShell, and press the Enter key.
    Set-Service -Name Spooler -StartupType Automatic
  4. Then, enter the second following command in the Powershell window, and press the Enter key.
    Start-Service -Name Spooler
    Commands to Enable Print Spooler Service
  5. Restart your PC for the changes to take effect.

These two commands will re-enable the Print Spooler service on your computer. Now you can print your documents again from the printer locally and remotely.

Also Read: How to Force Delete a File or Folder That Can’t be Deleted on Windows

With Group Policy Editor:

Once the issue gets patched, you should re-enable the Print Spooler service, or else you won’t be able to print your documents or images from the printer remotely if you used the Group Policy Editor method. Even if you don’t need to print remotely, it’s best to re-enable the service for your PC to keep it functioning smoothly.

If you used the Group Policy method earlier, you can use the following steps to re-enable the Print Spooler service after the vulnerability gets fixed.

  1. Open the Start menu, and search for “gpedit.msc” term.
  2. Click the Run as Administrator option from the right-side of the Start menu. If Run as Administrator is not available in Windows 11, you can click on the Open.
    gpedit.msc (Group Policy Editor) in Start Menu (Windows)
  3. Navigate to the Computer Configuration > Administrative Templates > Printers.
  4. Scroll and double-click on the “Allow Print Spooler to accept client connections”.
    Allow Print Spooler Setting in Group Policy Editor
  5. Select the Not Configured radio button.
  6. Click Apply.
  7. Finally hit OK button.
    Allow Print Spooler Setting in Group Policy Editor set to Not Configured. Click Apply and OK afterward.
  8. Restart your PC for the changes to take effect

This should re-enable the Print Spooler service on your Windows PC, and you can now again print anything locally and remotely.

Also Read: How to Download and Install Canon LBP2900B Printer Drivers on macOS Mojave

Toggle Print Spooler Service When Required

Make sure you re-enable the Print Spooler Service with the same method you disabled it. If you used PowerShell to disable the Print Spooler, you have to only use PowerShell to re-enable it. The same applies to the Group Policy Editor method too.

If you are using the printer only for offline usage, you should consider using Group Policy Editor to stop Print Spooler Service. However, if you use both locally and remotely, toggle the service with the PowerShell method whenever required to stay safe and protected.

We hope you were able to follow the steps above to disable and enable the Print Spooler service on your PC. This is the only workaround to the ongoing Print vulnerability on Windows. Thus, until Microsoft releases a patch to this vulnerability, you should be using this workaround to stay safe from hackers.

This is just like the previous PrintNightmare Vulnerability, and right after that, Microsoft asked us to update our PCs with the latest security patches. Similarly, we’ll probably see a similar note from Microsoft once the vulnerability is patched. Until then, you should keep your Windows device safer by disabling the Print Spooler service.

#Printer#security#Windows
Posted inComputer

Spread the Word!

Avatar for Sajid Shaik

Sajid Shaik Facebook Twitter Instagram

A 22-year-old Tech Enthusiast who is into tech more than you. New tech excites him moreover anything else. Apart from tech, he does Graphic Designing as well. He's well known for his Vector Avatar made for MKBHD.

Related articles

Computer

10 Best iOS Emulators for Windows To Explore iOS Apps and Games on PC

Best iOS Emulators for Windows
Computer

2 Simple Ways for Downloading Windows 7 ISO File Safely, Legally and Officially

Windows 7 ISO
Computer

3 Ways to View WiFi Passwords on Windows 10 PC or Laptop

Windows Laptop

Comment Policy:

The comments section is aimed to help our readers in case of any questions or you can even appreciate us for our hard work. Every comment is strictly moderated before approving it.

Your name and comment will be visible to the public. Never share your personal information in the comments section.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Over 1,30,286+ Followers

Join to get latest updates from Geek Dashboard

Facebook Twitter Telegram Pinterest YouTube Instagram

Recently Published

  1. Lenovo Yoga 9i 2-in-1 Laptop with 13th Gen Intel Core i7 Launched in India

  2. Lenovo Tab P11 5G Launched with 11-inch 2K Display and Snapdragon 750G SoC in India

  3. How To Select All Photos on iPhone and iPad Quickly

  4. iQOO 11 5G with Snapdragon 8 Gen 2 SoC and 120W Fast Charging Launched in India

  5. Realme 10 Officially Launched with 90Hz AMOLED Display and Dual Cameras in India

Geek Dashboard Placeholder

Download the apps and never miss a story from us

We put a lot effort and resources in writing our articles and we believe it is our responsibility to satisfy your tech hunger. We will keep you filled forever!

  • Get Geek Dashboard App from Google Play
  • Get Geek Dashboard App from Chrome Web Store
Geek Dashboard Logo

At Geek Dashboard, we are dedicated to bringing you the latest and greatest in technology news, reviews, and how-to guides. From smartphones to laptops, and everything in between, we've got you covered.

Got a Tip? Write In tip@geekdashboard.com

© 2012 - 2023 · Geek Dashboard, product of ikva eSolutions

Blog Advertise About Jobs Contact Privacy Policy Write For Us T&C Office Setup

No dogs were injured while working on this website because we love them