GP Preferences: Add a new printer, set as default

You might know GP Preferences is great for mapping drives, pushing out shortcuts, and adding new folders. But did you know that you can use GP Preferences to add a printer and set it as default? Check it out:

Here’s the Devices and Printers inventory on my Windows 7 Client machine: one shared Canon printer. You can also do this on your XP SP2 clients.

image

On my Windows Server 2008 R2 Server (you can do this on a Windows Server 2008 server as well), I navigate to the Printer extension under User Configuration. (User Configuration\Preferences\Printers). Right click on ‘Printers’  and select ‘ New’, then choose a type of printer you’d like to add. I’m choosing Shared Printer, but you can manage TCP/IP and Local Printers with GP Preferences as well.

image 

Now the configuration dialog to find and optionally map the printer: I’m just going to browse for the printer I want by clicking on the ‘…’ button next to the Share Path cell.

 

image

Ah ha! Familiar browser window. Searching the directory yields 2 shared printers; one that’s already shared to my client, and one that’s not. I select the Epson, which populates the Share Path field with its full address.

image

And now that I have the full address of the shared printer, the option to “set this printer as default…” is enabled. I can also select “only if a local printer is not present” if I want, but I don’t want to.

image

I’m done with my Printer Preference item, so I gpupdate \force on my client machine and check the Devices and Printers to see that it’s been updated.

Not only is the Epson added as a shared printer, but it’s designated as the default (the green check mark). Nicely done, GP Preferences.

image

For even more fun and adventure, you can add multiple printers per GPO, just like you can map multiple drives and push out multiple shortcuts. For more granularity, edit the targeting options under the Common tab. You can map certain printers only within specific IP ranges, date+times, for specific operating systems, and much more. Want to know more about targeting? GP Preferences? Printing? Let me know in the comments.

If you have trouble with the steps above, ping the GP TechNet Forums for troubleshooting help.

Hope this helps,

LiliaG, Group Policy PM