A newsgroup customer recently asked us how to synchronize his Offline Files with a server after the server had been renamed. Offline Files in Windows Vista provides scripting support to enable users to write custom scripts to perform such tasks. To illustrate this, one of our Offline Files developers created a script that uses the "rename" functionality offered by the scripting model to rename the path in the local cache from the old server to the new server.
I’ve added the script as a blog article. Use the following syntax to run the script on each affected client.
cscript CscRenameItem.vbs /OldItemPath:\\oldserver /NewItemPath:\\newserver
Some notes on this operation:
You’ll need to restart Windows Vista after successfully running this script. After the restart, the files cached for \\oldserver will now be cached for \\newserver.
--Jill