Microsoft KB Archive/275495

From BetaArchive Wiki
Knowledge Base


Article ID: 275495

Article Last Modified on 2/20/2007



APPLIES TO

  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Server



This article was previously published under Q275495

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry


SYMPTOMS

You may experience either of the following symptoms:

  • In Terminal Services, you have created redirected print queues on the server for each queue that exists on the client computer. Print jobs are routed from server queues to client queues by using Terminal Services virtual channels. When a client computer connects, the client enumerates its local printers and sends information (such as the printer and print driver name) to the server. The server uses this information to create a corresponding server queue. If the client queue is associated with a Microsoft-provided driver that is installed on the server, printer creation is automatic and works correctly. However, if a corresponding driver on the server does not exist, the installation does not succeed.
  • If you use an Original Equipment Manufacturer (OEM) driver that does not have an exact name match to the name in the Ntprint.inf file, Windows does not install the driver.


CAUSE

Because the Ntprint.inf file is signed, there is no method available to add support for redirection or printer upgrades for supported OEM drivers.

RESOLUTION

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


The English version of this fix should have the following file attributes or later:

   Date        Time    Version        Size    File name
   -------------------------------------------------------
   10/04/2000  7:39PM  5.0.2195.2418  54,032  Wlnotify.dll
                


In addition to applying the hotfix, you must add two registry values. These registry entries provide the capability for the user to specify an additional .inf file/section combination that defines user-defined mappings from client-side to server-side drivers.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

  1. You must add two new values to the registry key HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd. The new values are as follows:

    Name: "PrinterMappingINFName"
    Type: REG_SZ
    Data: Name of the .inf file to which you want to redirect lookups.
    
    Name: "PrinterMappingINFSection"
    Type: REG_SZ
    Data: Name of the section in the .inf file to which you want to redirect
    lookups.
                        

    After adding the new registry values above, an .inf file must be created (step 2) or modified (step 3) to include the user-defined mappings from the client-side to server-side drivers. This is explained below.

  2. Example of the format for creating a new inf file: [Version]
    Signature="$CHICAGO$"

    [Printers]
    OEM Printer Driver Name = Windows 2000 Printer Driver Name

    This file can be created with Notepad and needs to be saved with a .inf file extension. In this example, you would specify the .inf filename that you just created in the "PrinterMappingINFName" registry value and "Printers" in the "PrinterMappingINFSection" registry value.

  3. You can also modify the existing Printupg.inf file in the Winnt\Inf folder (using Notepad) by adding the new mapping to the [Printer Driver Mapping] section. Use the format: OEM Printer Driver Name = Windows 2000 Printer Driver Name

    The top section of the Printupg.inf file explains this format. If you modify the Printupg.inf file in this example, you would specify "Path to inf file\Printupg.inf" in the PrinterMappingINFName registry value and "Printer Driver Mapping" in the PrinterMappingINFSection registry value.

    NOTE: Do not modify the original Ntprint.inf file. Doing so may break the file signing of the Ntprint.inf file.

For more information about how to edit a print .inf file, click the following article number to view the article in the Microsoft Knowledge Base:

239088 Windows 2000 Terminal Services server logs events 1111, 1105, and 1106


For more information about creating .inf files, click the link:

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 2.

MORE INFORMATION

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: ntprint inf wlnotify dll

Keywords: kbhotfixserver kbqfe kbbug kbfix kbwin2000presp2fix KB275495