Restart Spooler Service

Modified on Tue, 4 Mar at 12:14 PM

To restart the Print Spooler service automatically when it crashes or stops, follow these steps:

Method 1: Set Spooler to Restart Automatically (via Services)

  1. Press Win + R, type services.msc, and press Enter.

  2. Scroll down and find Print Spooler.

  3. Right-click it and select Properties.

  4. Go to the Recovery tab.

  5. Set the following options:

    • First failure: Restart the Service

    • Second failure: Restart the Service

    • Subsequent failures: Restart the Service

    • Restart service after: Set to 1 minute

  6. Click Apply and OK.

This ensures that Windows automatically restarts the spooler if it stops unexpectedly.


Method 2: Use a Batch Script to Restart Spooler

If you want a manual way or need an automated script, create a batch file:

  1. Open Notepad.

Paste the following script:
@echo off

net stop spooler

timeout /t 5 /nobreak >nul

net start spooler

echo Print Spooler restarted successfully.


  1. Save the file as RestartSpooler.bat.

  2. Right-click the file and select Run as administrator whenever you need to restart the spooler.


Method 3: Use Task Scheduler for Automatic Restart

If the spooler frequently crashes, you can use Task Scheduler to restart it automatically.

Steps:

  1. Press Win + R, type taskschd.msc, and press Enter.

  2. Click Create Task (on the right side).

  3. Under the General tab:

    • Name: Restart Print Spooler

    • Check Run with highest privileges.

  4. Go to the Triggers tab → Click New:

    • Select On an Event.

    • Choose Log: System.

    • Source: Service Control Manager.

    • Event ID: 7031 (This event indicates the Print Spooler service failed).

  5. Go to the Actions tab → Click New:

    • Action: Start a Program.

    • Program/scriptnet.exe

    • Add argumentsstart spooler

  6. Click OK and close.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article