Mark Kenepp
10-28-2006, 12:34 AM
Anyone familiar with VBS Login Scripting (Windows Server 2003 with XP Workstations)?
I am trying to set up some scripting to set up mapped drives and network printers on the workstations.
I have found this resource (http://www.computerperformance.co.uk/Logon/logon_scripts.htm) which has given me all the information that I need, almost.
I have set up and tested batch files and VBScripts that will map the required network drives and attach the appropriate printers which is the most important thing but...
I would like to be able to remove printers that exist on the old print server before I take it out of commission.
The resource I have linked above gives examples for removing the printers but, it would mean that I need to know exactly which printers are set up on each workstation. One option is to just create the script to add all the printers that exist on the server first then remove them all. What I would rather do, is just create a script that will remove all and ONLY the network printers from the old server. I don't want to remove all printers since that will remove any local printers, such as fax and PDF printers.
Am I being clear?
TIA
I am trying to set up some scripting to set up mapped drives and network printers on the workstations.
I have found this resource (http://www.computerperformance.co.uk/Logon/logon_scripts.htm) which has given me all the information that I need, almost.
I have set up and tested batch files and VBScripts that will map the required network drives and attach the appropriate printers which is the most important thing but...
I would like to be able to remove printers that exist on the old print server before I take it out of commission.
The resource I have linked above gives examples for removing the printers but, it would mean that I need to know exactly which printers are set up on each workstation. One option is to just create the script to add all the printers that exist on the server first then remove them all. What I would rather do, is just create a script that will remove all and ONLY the network printers from the old server. I don't want to remove all printers since that will remove any local printers, such as fax and PDF printers.
Am I being clear?
TIA