Windows 7 Printer Installation Script
Posted on 2010-09-02
Currently running the following script to add network printers shared on a Windows 2003 DC to Windows 7 Pro x64 workstations:
Set objNetwork = CreateObject("WScript.Network")
There is a bug where the script causes the screen to go black on the Win7 workstations when running, sometimes. It eventually shows the desktop and the printers have installed, but it can take 2-10 minutes. I know there is code to say "if printer exists, don't try and add it again". That's what I think I need to avoid this issue each time the workstations login a simple if-then statement for the printer installation code above. If I remove the script from the GPO the black screens stop appearing.