/
/

How to Enable or Disable Print Logging in Event Viewer in Windows 11

by Miguelito Balba, IT Editorial Expert
How to Enable or Disable Print Logging in Event Viewer in Windows 11 blog banner image

Most activities on your Windows computer can be seen on the system’s built-in logging feature. A tool made for this purpose is the Event Viewer, and it goes beyond system error logging. The Event Viewer printer logs in the PrintService section offer a detailed record of your printing activity. These activities include document names, printer names, user details, and print statuses.

While helpful, some users may want to turn the printer logs in Event Viewer off. In this guide, we will teach you how to configure printer logs in Event Viewer using both the graphical interface and PowerShell commands.

📌 Recommended deployment strategies:

Click to Choose a Method 💻

Best for Individual Users

💻💻💻

Best for Enterprises

Method 1: Event Viewer
Method 2: PowerShell

Method 1: Enable or disable print logging using Event Viewer

📌 Use Cases:

This method is ideal for individual users who can easily navigate the Event Viewer graphical interface.

📌 Prerequisites: 

  • Applies to all editions of Windows 11: These steps work across Windows 11 Home, Pro, and Enterprise editions.
  • Administrator privileges are required: This method requires administrator rights.
  • Log location: The log is located in Event Viewer under Applications and Services Logs > Microsoft > Windows > PrintService > Operational.
  1. Open a Run dialog box by pressing the Windows key + R.
  2. Type eventvwr.msc and press Enter.
  3. In the Event Viewer window, navigate to: Applications and Services Logs > Microsoft > Windows > PrintService.
  4. Click on Operational under PrintService.
  5. Right-click Operational and select Enable Log to start logging.
  6. To stop logging, right-click again and select Disable Log.

Once enabled, Windows will begin recording print job events, such as:

  • Event ID 307: A document was printed successfully.
  • Event ID 805: A printer error occurred.
  • Other entries may include job start, cancellation, or failure details.

💡 NOTE: The log file is stored locally at: C:\Windows\System32\Winevt\Logs\Microsoft-Windows-PrintService%4Operational.evtx

Method 2: Enable or disable print logging using PowerShell

📌 Use Cases:

This method is ideal for those who prefer command-line tools for scripting across multiple endpoints, implementing Group Policy startup scripts, and automating tasks.

📌 Prerequisites: 

  • Applies to all editions of Windows 11: These steps work across Windows 11 Home, Pro, and Enterprise editions.
  • Administrator privileges are required: This method requires administrator rights.
  • Log location: The log is located in Event Viewer under Applications and Services Logs > Microsoft > Windows > PrintService > Operational
  1. Press the Windows key to open the Start Menu. Type PowerShell. On the right pane of the search results, click Run as administrator. This will open an elevated PowerShell.
  2. Run the following command:
    • To enable logging: wevtutil sl Microsoft-Windows-PrintService/Operational /e:true
    • To disable logging: wevtutil sl Microsoft-Windows-PrintService/Operational /e:false

⚠️ Things to look out for

Risks Potential Consequences Reversals
Enabling logging on personal or sensitive devices May pose privacy risks, especially on shared computers or in enterprise environments Disable logging in Event Viewer or via PowerShell.
Unregulated log file addition Log file size may grow and may fill up disk space over time. Regulate log file addition in the Event Viewer:

  • Right-click the log > Properties > Set a maximum size or enable Overwrite events as needed.
Central logging is not configured in enterprise environments Print logs are only stored locally and may be missed in audits. Configure Windows Event Forwarding (WEF) or a SIEM solution to collect logs across devices for centralized monitoring and long-term retention.

Why manage print logging in Event Viewer?

There are several reasons why users configure printer logs in Event Viewer. Here are some of them:

  • Aid for print tracking: Enabling print logging in Event Viewer provides historical data on print activities. The log data can show who prints what and when, which is critical, especially in shared or enterprise environments.
  • Audit user access: Printer logs can be used to determine unauthorized printer access, which is critical to sensitive or high-volume printers in an organization.
  • Enforce privacy: Disabling the printer log feature can strengthen privacy on personal devices or in sensitive locations.
  • Troubleshooting: Users can look at the printer logs when print queues get stuck or printing jobs fail. The logs can help pinpoint the issue, making troubleshooting easier.

Additional considerations about Event Viewer print logging settings

Here are some factors you need to consider when configuring print logging in Event Viewer.

  • Log size: The event log size may grow over time, especially when unchecked. Users can configure retention settings as highlighted in the Things to look out for section.
  • Privacy: Enabling print logging in Event Viewer may pose a risk as logs may expose document names and user activity. Users can disable the feature for personal or sensitive-use environments.
  • Central logging: Use Windows Event Forwarding (WEF) or SIEM for central collection in enterprise networks
  • No restart needed: Logging configurations will apply immediately without rebooting the computer.

Managing the print logging in Event Viewer

The Event Viewer print logs are valuable and can be used for printer audits and troubleshooting. However, some users may prefer to disable print logging due to privacy concerns. Fortunately, Windows offers ways to configure the print log settings through Event Viewer or PowerShell. Whether you’re troubleshooting print failures or implementing print security in an enterprise, configuring Event Viewer printer logs can be helpful, depending on your system’s needs.

Related topics:

You might also like

Ready to simplify the hardest parts of IT?
×

See NinjaOne in action!

By submitting this form, I accept NinjaOne's privacy policy.

NinjaOne Terms & Conditions

By clicking the “I Accept” button below, you indicate your acceptance of the following legal terms as well as our Terms of Use:

  • Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms.
  • Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party.
  • Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library belonging to or under the control of any other software provider.
  • Warranty Disclaimer: The script is provided “as is” and “as available”, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations.
  • Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks.
  • Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script.
  • EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).