Devices Enable or Disable Print Logging in Event Viewer in Windows 11


Event_baner.webp

This tutorial will show you how to enable or disable print logging in Event Viewer for all users in Windows 10 and Windows 11.

By default, when a print job has successfully finished printing, the printed document history will automatically get cleared for that print job.

You can enable print logging in Event Viewer to keep a log of all print jobs by users on the computer. This will make it easy to view all print jobs in one place.

When you enable print logging in Event Viewer, the PrintService will save Operational events in the Applications and Services Logs > Microsoft > Windows > PrintService log in Event Viewer.

Shortcut path: C:\Windows\System32\winevt\Logs\Microsoft-Windows-PrintService%4Operational.evtx


You must be signed in as an administrator to enable or disable print logging in Event Viewer.




Contents

  • Option One: Enable or Disable Print Logging in Event Viewer from Event Viewer
  • Option Two: Enable or Disable Print Logging in Event Viewer using Command


EXAMPLE: Print log in Event Viewer

PrintService_Operational_log_in_Event_Viewer.webp





Option One

Enable or Disable Print Logging in Event Viewer from Event Viewer


1 Open Event Viewer (eventvwr.msc).

2 Expand open Applications and Services Logs > Microsoft > Windows in the left pane of Event Viewer. (see screenshot below step 3)

It may take a moment for Applications and Services Logs to refresh and populate once expanded open.


3 In the middle pane of Windows in Event Viewer, double click/tap on PrintService to open it. (see screenshot below)

Print_logging_Event_Viewer-1.webp

4 In the middle pane of PrintService in Event Viewer, select Operational, and click/tap on Properties in the right Actions pane.. (see screenshot below)

Print_logging_Event_Viewer-2.webp

5 Check (enable) or uncheck (disable - default) Enable logging for what you want, and click/tap on OK. (see screenshot below)

You can also change the Maximum log size to what you want, and select what to do When maximum event long size is reached.


Print_logging_Event_Viewer-3.webp

6 You can now close Event Viewer if you like.




Option Two

Enable or Disable Print Logging in Event Viewer using Command


1 Open an Windows Terminal (Admin), and select either Windows PowerShell or Command Prompt.

2 Copy and paste the command below you want to using into Windows Terminal (Admin), and press Enter. (see screenshots below)

(Enable)
wevtutil sl Microsoft-Windows-PrintService/Operational /enabled:true

OR

(Disable - default)
wevtutil sl Microsoft-Windows-PrintService/Operational /enabled:false

enabled.webp
disabled.webp



That's it,
Shawn Brink


 
Last edited:
Who needs a GUI? (as Admin user):
Code:
wevtutil.exe sl Microsoft-Windows-PrintService/Operational /enabled:true
powershell -C "$Log=Get-WinEvent -ListLog 'Microsoft-Windows-PrintService/Operational'; $Log.MaximumSizeInBytes=1028KB; $Log.LogMode='Circular'; $Log.SaveChanges()"

Code:
wevtutil.exe sl Microsoft-Windows-PrintService/Operational /enabled:false
 

My Computer

System One

  • OS
    Windows 7

Latest Support Threads

Back
Top Bottom