Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


October 20, 2006

How can I deploy a printer to clients by using Windows Server 2003 R2?

RSS
Subscribe to Windows IT Pro | See More Printing Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A. Windows Vista and Longhorn Server will provide printer publishing using native Group Policy. In the interim, Windows 2003 R2 allows printers to be pushed out via Group Policy and a small piece of client-side code that runs as part of the logon process. It looks at Group Policy and checks which printers it should add, then adds them. Your Active Directory (AD) needs to be running the Windows 2003 R2 schema changes that support printer deployment. To deploy printers, follow this process:

First, on the Windows 2003 R2 server, you need to add the Print Management Component:

  1. Start the "Add or Remove Programs" Control Panel applet (Start, Settings, Control Panel, Add or Remove Programs, "Add or Remove Windows Components," "Management and Monitoring Tools," then check the Print Management Component.
  2. Click Next and when prompted, point to the Windows 2003 R2 disk 2 location.
  3. Click Finish.

A new Print Management snap-in is now available in the Administrative Tools folder. To deploy a printer, perform these steps:

  1. Start the Microsoft Management Console (MMC) Print Management snap-in (Start, Programs, Administrative Tools, Print Management).
  2. Expand the Print Servers branch, then expand the print server hosting the printer and select Printers.
  3. Right-click the printer you want to deploy with Group Policy and select "Deploy with Group Policy."
  4. Click Browse to select the Group Policy Object (GPO) name to use.
  5. Click the "new" GPO icon (or select an existing GPO) and name it Deploy Printers. Click OK.
  6. Check either or both "The users that this GPO applies to (per user)" or "The computers that this GPO applies to (per machine)" and click Add.
  7. Click OK to the deploy dialog box.

Make sure the GPO you created (if you created one) is linked to a domain or OU to ensure that users and computers receive the pushed printer. When you open the GPO you'll notice a new Deployed Printers branch, which lists deployed printers in the GPO.

Currently the selected printer won't deploy because the client doesn't understand the Group Policy settings since they're new to R2 and not expected by older clients; you need to configure the PushPrinterConnections.exe utility (found in the %systemroot%\PMCSnap folder) to execute. To do so, perform these steps:

  1. Open the Microsoft Management Console (MMC) Group Policy Object Editor and open the GPO you used for the printer deployment.
  2. If the printer is deployed to users, navigate to User Configuration, Windows Settings, Scripts (Logon/Logoff); if it's deployed to computers, navigate to Computer Configuration, Windows Settings, Scripts (Startup/Shutdown).
  3. Right-click Startup or Logon, and click Properties.
  4. In the Logon Properties or Startup Properties dialog box, click Show Files. The location of the folder used at logon is shown in the Address field (e.g., \\savilltech.com\SysVol\savilltech.com\Policies\{EAB0039E-A677-4C89-9CF2-053576CDA1FC}\Machine\Scripts\Startup).
  5. Copy and paste the PushPrinterConnections.exe file from the c:\windows\PMCSnap folder to this location and close the window.
  6. In the Logon Properties or Startup Properties dialog box, click Add.
  7. Enter "PushPrinterConnections.exe" in the Script Name box (to enable logging, enter "–log" in the Script Parameters box). Log files are written to %windir%\Temp\PpcMachine.log (for per-computer connections) and %temp%\PpcUser.log (for per-user connections) on the computer on which the policy is applied).
  8. Click OK

For per-user deployed printers, you now need to log off, then log on; for per-machine printers, you need to restart the targeted computer.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
What You Need to Know About Microsoft's x64 Server Product Plans

What do Longhorn Server, Windows Compute Cluster Server, and Windows Vista have in common? The x64 platform. ...

WinInfo Short Takes: 4th of July Special Edition

An often irreverent look at some of the week's other news, including a shortened work week thanks to the 4th of July, expensive Windows 7 pricing, Bing's modest monthly gains, IE 8 heading to work, Steve Jobs back at Apple, and so much more ...

How can I stop and start services from the command line?

...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events WinConnections and Microsoft® Exchange Connections

Don't Miss Windows Server 2008 Virtual Event

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format

Test Drive IT Solutions and Get Free Music Downloads
Solve your toughest IT problems with these free downloads and receive 5 free music downloads!


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home asp.netPRO Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement | Reprints and Licensing