Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Print queues defined with port names that begin with TS# are deleted upon server restart


View products that this article applies to.

Symptoms

Print queues are deleted upon restart of the server when the port name of the print queue begins with "TS#" ("#" is a placeholder for a number). When this occurs, the following event is generated in the Print Operational Event log:

↑ Back to the top


Cause

This behavior is by design. It is part of the Terminal Server printer clean-up functionality that is built into Windows.

Upon restart of the server, any nondefault Terminal Server printers are deleted. Specifically, a check is made against the port name of the printers that are configured on the server. Any ports that are found to be in use that begin with TS# are deleted upon server restart. This clean-up activity is only triggered upon server restart. Restarting spoolsv.exe will not trigger this activity.

↑ Back to the top


Resolution

To resolve this issue, do not use port names that begin with TS#.

↑ Back to the top


More Information

Port names that begin with TS# are reserved for Terminal Server printers.

↑ Back to the top


Keywords: kbexpertiseadvanced, kbsurveynew, kbprb, kb

↑ Back to the top

Article Info
Article ID : 2990415
Revision : 1
Created on : 1/7/2017
Published on : 8/22/2014
Exists online : False
Views : 261