VB Scripting question in Windows AD environment
Posted on 2006-06-06
Thank you all in advance for helping me with this. I am slowly learning VB scripting so I apologize if my questions are elementary.
I have about 24 printers on my print server that were set up by consultants before I got here so they are long ridiculous names. I would like to be able to change all the names to simpler names, pretty much a straight mapping from one name to the other. My problem comes in when all of my users are connected to the old print names. What would the script look like that would allow me to change printer names on the client.
My theory is that the script would look at what is installed on the desktop, check with a list of printers it has and then change the names if they match the list. I don't want to install all 24 printers on all of my computers, just change the ones that are already there.
I know what you are thinking, use a login script that checks group membership and just add the printers that way. I intend to do this eventually but right now I need to clean up the names and have them changed on all the user's desktops. I have found many scripts showing me how to change the server name when the printer name stays the same, I need to do the opposite, change the printer name and keep the server the same.
I really appreciate all of your help, I am asking a lot so I am giving this 500 points.