The following steps will allow you to install a printer in your environment simply by adding a computer to an Active Directory group.
-
Ensure the printer can be resolved via DNS
- Ensure the printer has a static IP address assigned (make sure to update your IPAM system)
- Label the printer with the new printer name
- Create an A record in DNS with the new printer name, pointing to the static IP address of the new printer
- From a workstation, ping the hostname of the printer and ensure it responds, and that it's resolving the static IP address you set on the printer earlier
-
Create an Active Directory Group for the new printer
- In Active Directory Users and Computers, create a group named "PRINTER-<PRINTERNAME>", replacing "<PRINTERNAME>" with the hostname of the printer you created in step 1.
-
Install the printer on your print server
- Remote into your print server
- From the Print Management snap-in, under your print server's node in the left pane, right click printers and select "add new printer"
- Select "Add a TCP/IP or Web Services Printer by IP address or hostname" option and click Next
- In the Type of Device dropdown, select "TCP/IP Device"
- In the Hostname or IP Address field, enter the name of the printer you added to DNS earlier
- Uncheck the "Autodetect print driver to use" and click Next
- On the Printer Driver screen, there will be a dropdown under the "Use and Existing printer driver on the computer" screen, select the Universal print driver appropriate for this brand of printer.
- HP's is called "HP Universal Printing PCL 6"
- Canon's is typically called "Canon Generic Plus UFR II"
- On the Printer Name and Sharing settings screen, Change the Printer Name field to the name of the printer you added in DNS earlier
- Check the box to "Share this Printer", and set the Share Name field to the name of the printer you added to DNS earlier
- for the Location field, type the physical location of the device (IE: "Townsville Clinic Nurses Station"), and click Next
- Click Next twice to finalize the installation and sharing of the printer.
- Locate the newly installed printer in the list, and ensure the "Driver Type" field displays "Type 3 - User Mode"
- Other types will never install via Group Policy
-
Ensure the Device is added to your print server's Printers Group Policy Object (Typically Named "Printers - <ServerName>")
- Open the Group Policy Management Editor snap-in
- Open the appropriate printers GPO, and navigate to Preferences -> Control Panel Settings -> Printers
- Right Click "Printers" in the left pane and select "New" -> "TCP/IP Printer"
- In the New TCP/IP Printer Properties window:
- In the General Tab:
- Change the Action to "Create"
- Check the box to "Use DNS Name"
- In the DNS Name field, Enter the name of the printer we added to DNS earlier
- In the Local Name field, Enter the name of the printer we added to DNS earlier
- In the Printer Path field, Enter the following: \\<PRINTSERVERNAME>\<PRINTERNAME>
- In the comment field, enter the location of the device (IE: "Townsville Clinic Nurses Station")
- In the "Common" Tab:
- Check the "Item-Level Targetting" checkbox, and then click the Targeting button
- In the Targeting Editor window, Click "New Item", and select "Security Group" from the list
- Select the "..." button
- type the name of the Printer Group you created earlier in the Select group window, then click the "Check Names" button. The group name will become underlined, indicating the group was found. Click OK
- If it was not, make sure you're using the "PRINTER-<PRINTERNAME>" format for your group name, and double check the name in its entirety.
- The Group and SID fields will fill in for you. Leave the "Computer In Group" option selected, and click OK.
- Check the "Item-Level Targetting" checkbox, and then click the Targeting button
- Back in the "New TCP/IP Printer Properties" window, click "Apply", then OK to close the window.
- In the General Tab:
- Your printer should now show up in the list of printers in the Group Policy Object. You can close the Group Policy Object Editor window.
-
You can now install this printer on computers simply by adding them to active directory group you created earlier and rebooting them.
- Troubleshooting group policy printer installation (including why printers failed to install) can be done by reviewing Group Policy logs found in the Event Viewer.