When he had a homogenous Windows XP/Windows Server 2003 environment, we were able to manage our printers by assigning them using the prnmngr.vbs script, called from a VBScript file.
However, when we introduced Windows 7 machines, the script no longer worked. The problem was that Windows now opened a dialog asking the user if they wanted to install the printer driver. As this was being run from a script, there was no user to accept the dialog, so the process silently failed.
The solution is to configuring the “Point and Print Restrictions” policy setting to “Disabled” in both User Configuration and Computer Configuration. This will allow for silent printer driver installation, and thus allow the printer to be mapped successfully. The reason we apply it to both Users and Computers is that Windows 7 ignores the User setting, while previous versions of Windows didn’t have the Computer setting.
You can simply create the relevant registry keys: http://support.microsoft.com/kb/888046. However, a better approach, if you have a Windows Server 2008 CD is to update it to
Or, you can update your ADM files. Run Windows Server 2008 AD Prep on your computers: http://support.microsoft.com/kb/888046
Once you have run AD Prep, you need to install the Windows 7 administration tools on a Windows 7 machine using http://www.microsoft.com/downloads/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&displaylang=en#filelist. Once you have done this, you can use the newer GPO settings, by using the client program on the Win7 machine.