RSS

Category Archives: Group Policy

How to push printers to Windows XP clients via Group Policy

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:

  1. Open the GPMC.
  2. 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.
  3. Right-click the GPO that contains the printer connections that you want to deploy using Group Policy, and then click Edit.
  4. Navigate to one of the following locations:
    • If the printer connections are deployed per-computer, go to Computer ConfigurationPoliciesWindows SettingsScripts (Startup/Shutdown).
    • If the printer connections are deployed per-user, go to User ConfigurationPoliciesWindows SettingsScripts (Logon/Logoff).
  5. Right-click Startup or Logon, and then click Properties.
  6. In the Startup Properties or Logon Properties dialog box, click Show Files. The Startup or Logon window appears.
  7. 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.
  8. In the Startup Properties or Logon Properties dialog box, click Add. The Add Script dialog box appears.
  9. In the Script Name box, type: PushPrinterConnections.exe
  10. 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.
  11. In the Add Script dialog box, click OK.
  12. In the Startup Properties or Logon Properties dialog box, click OK.
  13. Use GPMC to link the GPO to other OUs or domains to which you want to deploy the PushPrinterConnections.exe utility.
Advertisements
 

How to connect a client computer to WSUS 2012

In previous iterations of Windows Server Update Services (WSUS), your group policy would point to your WSUS server with the following:

http://<server name>

eg: http://wsus

But now, with WSUS in server 2012, you have to specify the port number. The port number is 8530. So in your group policy, you would specify the following:

http://wsus:8530

eg: http://wsus:8530

Once you have refreshed your local group policy or allowed it to apply itself overtime, you will then be able to receive updates from your local WSUS 2012 server.