Publish Printers in Windows 2003 Server Active Directory

When a printer is shared on a Windows 2003 server, it is automatically published in Active Directory so that users can install it by browsing the directory. This also handles installation of drivers and takes care of elevating the user privilegues to allow the installation. Printers connected to the network by sharing on an older Windows system or so, the same can be accomplished with this script to publish printers in Active Directory.
script voor het publiceren van printers in Active Directory

xxxxxxxxxxxxxxxxxxxxxxxxxx Met een lijstje van gedeelde printers (in een tekst bestand) en een batchbestand met een FOR lus, kunnen we aan de hand van pubprn.vbs dus alle printers publiceren in Active Directory. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Koen Noens
September 2005