Hi and sorry about that. Somehow I missed your question.
You're right that I don't want to change the printer names in the script. I'll be doing this directly on the print server prior to updating the login script with the Kix code.
Basically what I want is for the script to check the pc for any network printers installed with the old names, and if it detects any it should delete the printer and install the same printer with the new name. However only previously installed printers should be re-installed so just deleting all printers and then instaling all avilable network printers will not work. Keeping the default printer would also be a good thing.
Most of your code makes sense with the comments you've put in, but what is confusing me is that you specify a old and a new server in your code while my print server is named FS and this will not change only printer names and share names will.
Thanks again, Ronnie
Edited by Ronnie (2009-02-26 02:53 PM)
|