I am currently in the process of moving folder redirected my documents that are located on one server to another, i have already finished a script to move the data, restructure everyone's folder so that their previous my documents folder was "\\servername\share\%usern
ame%" to their new folder location being "\\newservername\share\%us
cuments" and give ownership and full control over each individuals folder which works flawlessly, but when changing group policy to the new location and a user logs in it doesnt pick up and refresh the new location and instead trys to use the old location and then the user logs off and then back on and it is still the same, i have included a logon script through AD to do a gpupdate although the user still has the old location after that first initial login and has to log off and back on and then it works and the user has the new location.
I am looking for some way of pushing a script out to about 1200 machines to search and change the locations in the registry so when the user logs on the very first time he has the new location and it is then handled through gpo after that. Pushing a script out is not a big deal to 1200 machines because we use System Center Configuration Manager 2007 and that would be very easy, the only problem im having is finding a script to search through all of the users registry keys and replace the old location with the new location because the script will actually need to break the old location down and then rebuild it. I did find regtkt from http://download.cnet.com/Registry-Toolkit/3000-18512_4-10033761.html?tag=mncol&cdlPid=10909718
but it only replaces data in the registry and it has no way of looking at the existing keys and building them from \\oldservername\share\user
name to \\newservername\share\user
ents which it can replace the new server name but cant append the Documents to the end.
In our environment there are about 2500 users with folder redirected my documents that will need moving.