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.

Spooled files may be printed in an incorrect Terminal Services session


View products that this article applies to.

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 (http://support.microsoft.com/kb/256986/ ) Description of the Microsoft Windows registry

↑ Back to the top


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.

↑ Back to the top


Resolution

Microsoft Windows 2000

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

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

File 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.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Localspl.dll5.0.2195.4906248,08005-Feb-200204:22x86
Sp3res.dll5.0.2195.36537,68030-May-200109:55x86

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" 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 "More Information" section to resolve this problem.

↑ Back to the top


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:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers
  3. On the Edit menu, point to New, and then click DWORD Value.
  4. Type DiscardTSJobs, and then press ENTER.
  5. On the Edit menu, click Modify.
  6. 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.
  7. Exit Registry Editor.
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

↑ Back to the top


Keywords: kbautohotfix, kbexpertiseadvanced, kbhotfixserver, kbqfe, kbbug, kbfix, kbtermserv, kbwin2000presp3fix, kbwin2000sp3fix, KB313733

↑ Back to the top

Article Info
Article ID : 313733
Revision : 9
Created on : 1/12/2007
Published on : 1/12/2007
Exists online : False
Views : 361