If you are like me, you have been using the Print Management and Group Policy options in Server 2008 to push printer installs to all your Windows 7 clients. This is great and works well.
But, what happens if you still have Windows XP clients in your domain? Well, help is at hand with a Microsoft utility called PushPrinterConnections.exe which is found in the the C:\Windows\System32 directory on your server.
Here is how to push printer connections via Group Policy to your XP clients.
First, copy the PushPrinterConnections.exe file from the System32 directory on your server to your Desktop. Then follow these instructions:
- Open the GPMC.
- In the GPMC console tree, navigate to the domain or organizational unit (OU) that stores the computer or user accounts where you want to deploy the PushPrinterConections.exe utility.
- Right-click the GPO that contains the printer connections that you want to deploy using Group Policy, and then click Edit.
- Navigate to one of the following locations:
- If the printer connections are deployed per-computer, go to Computer Configuration, Policies, Windows Settings, Scripts (Startup/Shutdown).
- If the printer connections are deployed per-user, go to User Configuration, Policies, Windows Settings, Scripts (Logon/Logoff).
- Right-click Startup or Logon, and then click Properties.
- In the Startup Properties or Logon Properties dialog box, click Show Files. The Startup or Logon window appears.
- Copy the PushPrinterConnections.exe file from the %WINDIR%\System32 folder to the Startup or Logon window. This adds the utility to the GPO, where it will replicate to the other domain controllers with the Group Policy settings.
- In the Startup Properties or Logon Properties dialog box, click Add. The Add Script dialog box appears.
- In the Script Name box, type: PushPrinterConnections.exe
- To enable logging on client computers running Windows Server 2003, Windows XP, or Windows 2000, in the Script Parameters box, type: –logLog files are written to %WINDIR%\temp\ppcMachine.log (for per-computer connections) and to %temp%\ppcUser.log (for per-user connections) on the computer where the policy is applied.
- In the Add Script dialog box, click OK.
- In the Startup Properties or Logon Properties dialog box, click OK.
- Use GPMC to link the GPO to other OUs or domains to which you want to deploy the PushPrinterConnections.exe utility.