Would like a batch file or VBScript to automatically change user defined sharenames from one file server to another file server as each user logs into the domain. I'm migrating file shares from a source server to a destination server. I have already recreated all the source sharenames on the destination file server and copied the data from the source file server to the destination file server. Now I need a batch file or VBScript to automatically change user defined sharenames, defined on each computer in each user's HKEY_CURRENT_USER\Network registry hive, from \\sourceservername\fileshare1 to \\destinationservername\fileshare1.
The batch file or VBScript needs to change all references from \\sourceservername to \\destinationservername for all HKEY_CURRENT_USER\Network registry hive keys for each user as they log into the domain. I would like to add the batch file or VBScript to the global logon script already in place as each user logs into the domain.
If there is a better way to accomplish this, please indicate and explain how.
Thanks in advance.