Adding network printers
Posted on 2011-09-21
We have a fair few printers in our organisation and at the moment they are not published in AD and our director does not want the user to have to find a printer to add to their machine but would like the to be automatticaly added.
We have achieved this through a vbscript and an AD group the same name as the printer share that containes the computers the printer shoud be added to. The script will search the group membership of the computers untill it finds one that begins with "Printer Group", at which point it will use the rest of the name of the group which should match a printer share to add the printer. The issue I have not been able to sort out yet is when there are more than one network printer in the room. I need to add a loop to the vbscript to loop through all group membership and run add the printer each time a group starting "Printer Group" is found.
As well as the vbscript issue above surely there is a better way to automatically add the printers to the machines without a group for each printer or to add a group policy for each group if they are published in AD?