Microsoft KB Archive/313733

= Spooled files may be printed in an incorrect Terminal Services session =

Article ID: 313733

Article Last Modified on 1/12/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2

-



This article was previously published under Q313733



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When a Terminal Services client connects to a Terminal Services server, the printer on the client computer may be redirected to the server as a printer with ports ranging from TS000 to TS999 for the logged-on user. If a print spooler stops working or if the server is restarted, print jobs that are sent to such printers are restarted after the print spooler is restarted and the port name is reconnected. However, the printer may not be the same Terminal Services client printer and the print jobs may be printed on a different client computer.



Service pack information
To resolve this problem, obtain the latest service pack for Windows 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to obtain the latest Windows 2000 service pack

Hotfix information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Windows 2000 Service Pack 3.

Microsoft Windows Server 2003
The hotfix mentioned in this article is included in Microsoft Windows Server 2003. However, on a Windows Server 2003-based client computer, you must follow steps 1 through 7 in the procedure that is described in the &quot;More Information&quot; section to resolve this problem.



MORE INFORMATION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

On a Windows 2000-based client computer, install the latest service pack, and then follow these steps:  Click Start, click Run, type regedit, and then click OK. Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers

 On the Edit menu, point to New, and then click DWORD Value. Type DiscardTSJobs, and then press ENTER. On the Edit menu, click Modify.</li> Type 1 in the Value data box, click Decimal in the Base area, and then click OK.

Note When you set the DiscardTSJobs registry entry to 1, jobs from Terminal Services redirected printers are not restarted when the spooler restarts. The DiscardTSJobs registry entry has a default value of 0.</li> Exit Registry Editor.</li></ol>

For more information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the following article number to view the article in the Microsoft Knowledge Base:

265173 The Datacenter program and Windows 2000 Datacenter Server product

For more information about how to install multiple hotfixes with only one restart, click the following article number to view the article in the Microsoft Knowledge Base:

296861 How to install multiple Windows updates or hotfixes with only one reboot

For more information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the following article number to view the article in the Microsoft Knowledge Base:

249149 Installing Microsoft Windows 2000 and Windows 2000 hotfixes

Additional query words: kbTermServ

Keywords: kbbug kbfix kbwin2000presp3fix kbqfe kbwin2000sp3fix kbtermserv kbexpertiseadvanced kbhotfixserver KB313733

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.