Hi
I am experimenting with using DFS in a folder redirection scenario, my main purpose for this for two things:
- To replicate to another destination for backend backup purposes
- To obscure the underlying server names to make upgrades and replacements easier in the future
I am not using this as a multi-target scenario where if one server fails the other will pick it up.
I am using a Server 2008 R2 file server, this holds my main FR data, I then configured DFSR to replicate to a target on a server 2012 R2 file server. Currently users are redirected to the 2008 R2 server by name, this server will be decommissioned in the future. The client machine is Windows 7 for this example. In my test I am redirecting desktop, documents, appdata and favourites.
I am experiencing an odd issue though, below is what I have observed.
If the user logs in as a new user and DFS Namespace is used (\\domain.local\public\redirection\%username%\ ) then Sync Center shows no errors, the redirection works as expected from what I can tell.
If the user had already been using FR pointing to the server by name, and then they get the new policy applied which points them to the DFSR namespace, the folder policy gets applied and I can see the user is correctly referencing the DFS Namespace, but in sync center when I attempt a full sync I get an error in the sync results section access denied Redirection (\\domain.local\public) however, if I select to delete temporary files under the manage offline files, the problem goes away.
I have another issue as well with this, as an Administrator we sometimes drop files into users desktop or documents, however the ownership of these are set to Administrator, as with my scenario just mentioned the sync center then reports access denied on the files that were owned by the administrator. I order to fix this it appears that I have to do both setting the ownership for the user at their top level folder and allow it to propagate down to desktop, docs and so on. Additionally I then also have to give the user full control at their top level folder again propagating down through the rest.
I have the following questions:
- Is there a way to get around the access denied error for the DFS Namespace by using some policy setting or command line (script) to delete the temporary files prior to the FR policy first being applied, or is the only way to do this by physically clicking that button?
- Transferring the ownership and full permissions is rather time consuming but double, I guess I could script it but not sure what the correct code would be for this has someone got an example I can build on thats just handy to them?
Many thanks
Steve