Removing MyDocs Redirection

General — Jeff Eske on January 23, 2009 at 11:00 am

I have a number of users that have folder redirection enabled.  I’m in the process of trying to undo that.

BACKGROUND:
Folder redirection is enabled in a GPO.  There is a security group that has this GPO applied to it.  If a user is added to the security group, they end up with redirected MyDocs.

THE PLAN:
Rather than just disabling/blocking the GPO for everyone at once, I’m removing it for users one at a time.   For some/most, this isn’t a problem.  I remove them from the security group, they log out and log back in.  Windows sees that they aren’t supposed to be redirected, so it copies their files down to the local machine and that’s that.

THE PROBLEM:
I ran into one user that, when I removed her from the security group, MyDocs redirection didn’t completely go away.  Her MyDocs remained out on the server AND she lost read/write access to them – they all became read-only!  I tried numerous things, multiple times, and couldn’t get redirection removed successfully.

THE SOLUTION:
The way that I solved the issue was:
1> Created a new temporary group that provided read/write access to the appropriate folder(s) for users on the server.
2> Added the user to the new group.
3> Removed the user from the Redirect group.
4> Had the user log out and log back in.
5> AS THAT USER – went into regedit and manually edited the entries pointing her MyDocs to the server.  These regedit keys are:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders  AND
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
6> Change the values for Personal from \\server\blah to C:\Doc and settings\user profile\My Documents
7> Open > Run > cmd and type in the “old” MyDocs location, i.e. \\server\blah to open the old My Docs folder.
8> Copy the contents of that folder to the now-local MyDocs folder.

Yes, I know that it’s a long, tedious process, but after several other failed attempts, this solution worked!

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. | Jeff's Blog