Remove old printers

  • Thread starter Thread starter Ryan Rogers
  • Start date Start date
R

Ryan Rogers

We have a "Kickstart" program that runs kickstart scripts however I would
like to switch this over to some other kind of script.. I want the scripts
to run under specific GPO's to speed up the login time and re-do how the
printers are installed as of right now.. it deletes all the printers then
adds them again. How can I write something in VB or whatever the
recommended scripting language is in order to make sure the user has all
their printers at log on.. I also want to map drive shares. however the
printers is a big thing because deleting and adding takes such a long time
on some of the legacy equipment.

Cheers,
Ryan Rogers
Co-op student
STT Technologies
 
You could place users in security groups and depending on which groups they
belong to they will have those printers mapped via vbscript.

Link the script to the domain logon gpo.

Use of vb script is a good choice but not the only option, there are plenty
of starting scripts for you at the link below. They have good details on
how to do what you want in the printers sub-folder.

http://www.microsoft.com/technet/community/scriptcenter/default.mspx

Paul Bergson MCT, MCSE, CNE, CNA, CCA
 
Thanks Paul,
When I add a printer with VB Script do I have to Delete it first or does it
throw an error that I can just ignore if the printer already exists? Or
Should I enumerate the printers installed on the users' computers' and based
on that install specific printers?

--Ryan
 
If you try and delete it and it isn't there you will get an error, if you
try to add and it is already there you will get an error. Just handle the
error and move to the next printer. It shouldn't matter.

Paul Bergson MCT, MCSE, CNE, CNA, CCA
 
Back
Top