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.

Printer redirection or upgrade may not work because of signed Ntprint.inf file


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

  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:

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

↑ Back to the top


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

↑ Back to the top


Keywords: kbhotfixserver, kbqfe, kbbug, kbfix, kbwin2000presp2fix, KB275495

↑ Back to the top

Article Info
Article ID : 275495
Revision : 11
Created on : 2/20/2007
Published on : 2/20/2007
Exists online : False
Views : 661