script to change existing drive mappings to point to new servername
Posted on 2006-04-12
Can anyone help me with this? I'm trying to find a way to script the modification of existing Windows 2000/XP drive mappings through vbscript. I am migrating file servers and want to find a way to simply email a script to my users that will change their existing drive mappings to point to the new file server. I know there must be a way to do this. Any help is appreciated.
Basically, want to change existing drive mapping (\\servera\sharename) to a new server name with the same sharename (\\serverb\sharename).