Intermittent High CPU and Increased Disk I/O with SPOOLSV.EXE When Mapping TS User Session Printers on Windows Server 2008 R2

Article ID: 2666508 - View products that this article applies to.
Expand all | Collapse all

Symptoms

Consider the following scenario:
  • You have a server running Windows Server 2008 R2.
  • The server has the Remote Desktop Session (RDS) Host role installed.
  • Users are connecting to the RDS Host remotely using Remote Desktop Connection or another third-party remote desktop connection application.
  • Network printers have been installed manually via Point and Print or they are assigned automatically to users during logon by an application or script which is using the PrintUI command as noted below:
rundll32 printui.dll,PrintUIEntry /in /n\\<IP Address or Server Name>\ShareName

In this scenario, you may see the Print Spooler service (spoolsv.exe) consuming 100% CPU utilization on one processor during the installation of the printer driver for each printer queue being created as the user logs onto a server with their Remote Desktop Connection. Once the network printer has been installed for the user and the connection is maintained this problem may not be as noticeable.

Note: This issue is more evident if the RDS Host server is a Virtual Machine (VM) running on a Virtual Server and the virtual machine settings have allocated only one CPU for the VM.


Cause

This is due to the Point and Print printer connections using Package-Aware print drivers.

By using a Package-Aware driver on a RDS Host server instead of using TS Easy Print, additional overhead will be generated when installing the network printer. This overhead manifests as high CPU usage and high disk I/O due to the driver package being downloaded to the client and expanded. At that point, the expanded files are parsed to see if any of the files are new to the system or are updates to existing files. This is done for each new print connection and for any existing connection that has been updated on the print server.


Resolution

This is the expected behavior when adding a network print connection which utilizes a Package-Aware driver. You may experience this behavior even if the same print driver has been previously installed for another printer via Point and Print or as a local printer.

This behavior can be mitigated by installing the following hotfix:

http://support.microsoft.com/kb/2896881

More information

Point and Print with Driver Packages
http://msdn.microsoft.com/en-us/library/windows/hardware/ff559880(v=vs.85).aspx

Using Terminal Services Easy Print Driver
http://technet.microsoft.com/en-us/library/ff519199(WS.10).aspx

Print Management Step-by-Step Guide
http://technet.microsoft.com/en-us/library/cc753109(WS.10).aspx

What's New in Print and Document Services
http://technet.microsoft.com/en-us/library/dd878502(WS.10).aspx


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2666508 - Last Review: November 19, 2013 - Revision: 4.0
Applies to
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Foundation
  • Windows Server 2008 R2 Standard
Keywords: 
KB2666508

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com