Link to home
Start Free TrialLog in
Avatar of Comptx
Comptx

asked on

server 2012r2 Folder Redirection not completely working

hello, we are currently running a mix of 2008 and 2003 servers on the client. redirection worked fine on server 08r2, and somewhat on 2003 (some users were messed up, and refused to update redirection from old destination server to new one))

we decided to replace the 2003 terminal servers with new 2012r2 terminal servers. everything seemed to work fine, but I noticed some folders are not being redirected.

RSOP shows the ones that are working, but its missing "My documents", gpresult shows the policy being applied as well, no errors on event log.. I even installed gpo management on the 2012 server, went and modified the gpo (untick and retick) just to make sure but no luck.


if I click start (using Start8 to bring back the real Start Menu" and right click "Documents" and then go to location and try to set the location to the \\domain
dfs\user\" share " it tells me it cannot add it because its not indexed, but if I click start, then go to computers and right click my documents from there and change the location path to the network share, it lets me change it. obviously I need this to be automatic like it was on 2008r2.

offline files are disabled, and we are using DFS between 2 sites.

any ideas why is not working? this is my first deployment of 2012r2 so im new to it.
Avatar of Andrew Davis
Andrew Davis
Flag of Australia image

you may need to look at log files on both the server and the client.
If all else fails then you could set them via a logon script.

if fso.folderexists("\\domain
dfs\user\") then
  wshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal","\\domain
dfs\user\"
End If

Open in new window


cheers
Andrew
Avatar of Comptx
Comptx

ASKER

so lets say a new user logs in, will that script create his folders like the GPO does?
Avatar of Comptx

ASKER

I created a test user, logged in to server 2003 server, everything works.

logged in to the 2012 server and on the application event log is see the following only for the folders that were redirected OK., which are links, favorites, downloads and contacts.

Successfully applied policy and redirected folder "Links" to "\\domain\dfs\users\testtest".
 Redirection options=0x1001.

then on the application/Microsoft/folder redirect event log I see the following for the folders that were redirected OK:

Folder "Favorites" has to be redirected.
 Redirection options = 0x1001.
 Parent folder = "{00000000-0000-0000-0000-000000000000}".
 Path = "\\domain\dfs\Users\userfavorites\%USERNAME%\Favorites".
 Group = s-1-1-0.


then this for the ones that were NOT redirected:

Folder "Desktop" has to be redirected.
 Redirection options = 0x80008004.
 Parent folder = "{00000000-0000-0000-0000-000000000000}".
 Path = "".
 Group = s-1-1-0.


seems its missing the path, but not sure why it would work on 2003,2008 and not in 2012...

typing the full path on an explorer window works just fine on the 2012..
Avatar of Comptx

ASKER

also, RSOP on the 2012 server does not show documents or Desktop as being redirected.
Avatar of Comptx

ASKER

ok, I might have figured it out..  I created a test virtual environment with a new 2012 dc and terminal server.

configured group policy folder redirect again on the test DC and noticed that at least for the documents folder, on 2008 and earlier its called  "my documents". on win8/2012 its called just  "Documents"

created a new user, logged in to test terminal, and redirection was applied successfully.

still cant explain why it would also affect "Desktop" since that's called the same on all versions.

gonna create an OU on the production, and going to move the server there and create a brand new policy with the right 2012 wording just for that OU and see how it works..
Avatar of Comptx

ASKER

well, running in to an issue now where the server refuses to see the new policy I made for it. its still seeing the old redirection policy. the old one is not set on enforced, and the OU is being blocked from inheriting, so I only have one policy enforced on that same ou, which is the new redirection policy...

might have to redo this server if this doesn't work soon
Avatar of Comptx

ASKER

the only way I stop it from seeing the old redirection is if I disable the link, but even then it doesn't see the new one
Avatar of Comptx

ASKER

just realized that I keep seeing it because its a user policy, not a computer one..

I made the same changes from the working test lab to production but it still didn't work, its stuck with old settings. guess no choise but to redo the server so it applies the correct one from the start, unless someones has any other ideas.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Davis
Andrew Davis
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Comptx

ASKER

which folder does that script redirect?
sorry should have said that one redirects the documents folder.

If you use regedit to go to that location you will see all the folders listed.


Cheers
Andrew
Avatar of Comptx

ASKER

only favorites and downloads are getting redirected out of all the folders i set. not sure why on a test enviroment it works, but not on the pruduction....

rsop only shows me those 2 folders as well, and gpresult says its applying policy

what a pain