Event ID 7031: What is It & How to Easily Solve It?

Restart the Printer Spooler service to fix this issue

Reading time icon 4 min. read

Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • This event ID is generated when Windows cannot communicate with the printer.
  • This guide will discuss all available workarounds to fix this issue. 
Event ID 7031

Event ID 7031 Print Spooler terminated unexpectedly occurs when there is a problem with Print Spooler service. This guide will discuss all available fixes to resolve the issue after talking about the causes. 

What is Event ID 7031? 

Event ID 7031 is a system event in Windows that shows that the service was terminated unexpectedly. You can check the Event ID message description to understand what caused it. The message could vary depending on the service that was affected.

For example, if the description says the Print Spooler service terminated unexpectedly, the issue has occurred because Windows cannot communicate with the printer. Also, there could be a problem with the Printer Spooler service, which manages print jobs on Windows.

Why do I get the Event ID 7031?

There could be various reasons why this event ID appeared; some of the common ones are: 

  • Corrupt system files – If the system files are damaged or missing, you might get this error. To fix it, you need to run a system repair scan.
  • Outdated printer drivers – Old and obsolete drivers can cause many issues, including this one. So, to fix it, we need to update printer drivers.
  • Third-party software interference – If third-party software is interfering with the work of the Print Spooler service, you might get an error. Check all newly installed software to understand what is causing it.
  • Malware infection – If your computer is affected by viruses or malware, it could cause numerous errors, including this one. You must run a malware scan to fix it and remove the infected files.

How can I fix Event ID 7031? 

Before moving to any troubleshooting methods, make sure you follow these preliminary checks: 

1. Restart the Printer Spooler service

  1. Press Windows + R to open the Run console.Services Run Command
  2. Type services.msc and press Enter to open Services.
  3. Locate and right-click Printer Spooler to select Restart.Restart Printer spooler -event id 7031

2. Clear the print jobs

  1. Press Windows + R to open the Run dialog box.Control Printers -event id 7031
  2. Type control printers and press Enter to launch the Devices and Printers window.
  3. Click your printer and select Open print queue.Open print queue -event id 7031
  4. Select each print job from the queue and choose Cancel.

3. Update your printer drivers

3.1 Update drivers manually

  1. Press Windows + R to open the Run box.Device Manager RUN COMMAND
  2. Type devmgmt.msc and press Enter to open Device Manager.
  3. Now locate the Print queues option and expand it. 
  4. Right-click on the first driver listed and select the Update driver.Update drivers Print queues -event id 7031
  5. Click Search automatically for drivers.Update driver 2
  6. Follow the onscreen prompts to complete the process. Now do the same for all the listed drivers under Print queues.

3.2 Use a third-party driver

Keeping the device drivers up to date is essential to run your computer smoothly. However, doing so manually is cumbersome and not always fruitful.

Hence, it is advised to use a third-party tool to update drivers, such as Outbyte Driver Updater. This driver updater tool can scan and download the latest drivers on your computer with a few clicks. To update drivers using the tool, follow these steps: 

  1. Download and install Outbyte Driver Updater.
  2. Click Scan to start the scanning process.
  3. You will get the list of outdated drivers, select the drivers and click Update driver.Outbyte Driver Updater update driver
  4. The tool will download the drivers compatible with your device.
  5. Then, follow the onscreen instructions to install the latest drivers.

4. Use the Command Prompt

  1. Press the Windows key, type CMD, and click Run as administrator.
  2. Copy and paste the following commands one by one and press Enter after every command: sc stop spooler del C:\WINDOWS\System32\spool\PRINTERS\*.* /s /q sc start spooler
  3. Now copy and paste the following command to get the print spooler back in commission, and press Enter: sc config spooler depend=RPCSS 
  4. Open Device Manager using the steps mentioned in method 2. Go to Print queues, right-click on the printer, and select Uninstall driver.
  5. Restart your computer, and then the driver will be automatically installed.

5. Repair system files 

  1. Press the Windows key, type CMD, and click Run as administrator.
  2. Type the following command and press Enter: sfc/scannowSFCSCANNOW CMD
  3. Restart your computer once the process is complete.

So, these are the steps you can follow to fix Event ID 7031 print spooler service terminated unexpectedly. Try them and let us know what worked in the comments section below.

More about the topics: event log viewers