Consider the following scenario:
- You install a printer by using the Add a printer using the TCP/IP address or hostname option in the Add Printer Wizard.
- On the Type a printer hostname or IP address page, you select TCP/IP device as the Device type, and then you enter the Hostname or IP address for the printer.
- You select the Query the printer and automatically select the driver to use check box.
In this scenario, the printer driver that is provided through Windows Update does not install automatically. Instead, one of the following actions occurs:
- You are prompted to use an inbox Class Driver.
- If no inbox Class Driver exists, you are prompted to select the driver to be used.
For enterprises that use the TCP/IP device option, the desired drivers can be stored on a network location, and that location can be appended to the DevicePath value. To do this, follow these steps:
- In Registry Editor, locate the following subkey:
- Update the subkey to add value data for the local path for the driver installation.
For example, change the value data from the default entry (%systemroot%\inf) to the following path:
In addition, the .inf file must have an entry that lists only the HWID of the printer. For example:
[Manufacturer]"Contoso"=Model,NTamd64[Model.NTamd64]"Contoso Model 1 V4 PS" = INSTALL_SECTION_1,usbprint\Contoso_Laser_1"Contoso Model 1 V4 PS" = INSTALL_SECTION_1,wsdprint\Contoso_Laser_1"Contoso Model 1 V4 PS" = INSTALL_SECTION_1,Contoso_Laser_1 // this line is needed for "TCP/IP device"-installed printers.
You must contact the printer manufacturer for an updated driver that has an updated .inf file. After you obtain and store the correct file, the Add Printer Wizard can preselect the driver that is associated with the printer's HWID.
Artikelnummer: 4033208 – Letzte Überarbeitung: 10.07.2017 – Revision: 17