Printer Mapping File in Windows Terminal Server

There is a way to use an .inf file to manage the mapping of printer drivers on Terminal Server (similar to how Citrix manages printer mapping).  To enable this feature, the following two registry keys need to be created:

HKLMSYSTEMCurrentControlSetControlTerminal ServerWdsrdpwdPrinterMappingINFName
HKLMSYSTEMCurrentControlSetControlTerminal ServerWdsrdpwdPrinterMappingINFSection

Each of these is a string (REG_SZ) type.  The first refers to an inf file that you create and store in C:WINDOWSSYSTEM32.  The value only needs to be the name of the file, not the entire path.  The second refers to the section within that file that will deal with the printer driver mapping (in the example below, “Printers”).  An example would look like this:

[Version]
Signature=”$Windows NT$”
;
[Printers]
;
; ***Client Driver Name***                        ***Server Driver Name***
;
“Brother HL-1250”   = “HP LaserJet 5