• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 688
  • Last Modified:

Folder redirection does not move the files to the new target folder.

I configured the folder redirectin setting on the group policy for my terminal servers (loopback policy). When the users log on the terminal server the My Documents folder gets redirected successfully but the content of the old folder is not moved to the new location. I do have that setting checked in the policy but it just does not everytime. I have enabled the extended event logging for folder redirection and I do not see any errors. The log shows the policy as applied successfully, folder redirected successfully, files being moved, no error after that and then unable to delete files from old location. I guess since the policy did not copy the files to the new location it was unable to delete them from the old one. i have checked permission in the target folder and System and users belonging to the security group for which this policy applies have full rights. The target is a DFS share (Would this be a problem?) Any suggestions??
0
moonraker169
Asked:
moonraker169
  • 4
  • 4
1 Solution
 
victornegriCommented:
If you log on as the user, can you manually copy files to that target folder? Can they copy/write files to the old location?
0
 
moonraker169Author Commented:
Thanks for replying.

Yes, I have remote controlled their session and from there (logged on as the user ) moved the files manually from the old location to the new one. Also, they have at least modify rights at the old location if not full rights.

Luis
0
 
victornegriCommented:
Have you tried recreating the destination folders? I know this suggestion is not logical because it seems as though it's a problem with the source folder but I ran into a similar problem a few months ago and it fixed it.
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
moonraker169Author Commented:
I have not, I am going to try that tonight. Right now i have different target folders for different security groups (Using advanced settings on folder redirection policy) and those are sub folders of one common share. I will create a share for each security group and target the share rather than sub folders on it to see how that works...

Thanks, I will let you know if that works.
0
 
moonraker169Author Commented:
Ok, I am using a brand new share and the policy still does not copy the files. I am running out of ideas hear..
0
 
victornegriCommented:
Did you pre-create the folders or did you let the policy do it?

can you paste a portion of the folder redirection logs?
0
 
moonraker169Author Commented:
I created a new share and told the policy to use it as a root folder. The policy created each user folder naming them %username% and created the "My Documents" folder and set up exclusive rights for %username% but it failed to copy the files for most users. Interestingly enough, it did copy the files succesfully for some user...

This is the full sequence of folder redirection event logs for one of the users:


-Group Policy Object name = {785677AF-5766-4F01-9C31-46A90D0F4F1A}
-File system path = \\devcon.local\SysVol\devcon.local\Policies\{785677AF-5766-4F01-9C31-46A90D0F4F1A}\User
-Directory path = LDAP://CN=User,CN={785677AF-5766-4F01-9C31-46A90D0F4F1A},CN=Policies,CN=System,DC=devcon,DC=local
-Display name = Loopback
-Found folder redirection settings for policy Loopback.
-The user was found to be a member of the group s-1-5-21-3482768576-4211519190-1175046632-1431. The corresponding path was \\devcon\dfs1\orlando\homes\%USERNAME%\My Documents.
-Successfully obtained redirection data for My Documents, (Flags: 0x19).
-Successfully obtained redirection data for My Pictures, (Flags: 0x2).
-Successfully gathered folder redirection settings for policy Loopback.
-Redirecting folder My Documents to \\devcon\dfs1\orlando\homes\%USERNAME%\My Documents.
-Previous folder path Z:\MGonzalez expanded to Z:\MGonzalez.
-New folder path \\devcon\dfs1\orlando\homes\%USERNAME%\My Documents expanded to \\devcon\dfs1\orlando\homes\mgonzalez\My Documents.
-Contents of redirected folder My Documents will be copied to the new location.
-Redirecting folder My Pictures to \\devcon\dfs1\orlando\homes\%USERNAME%\My Documents\My Pictures.-
-Previous folder path Z:\MGonzalez\My Pictures expanded to Z:\MGonzalez\My Pictures.
-New folder path \\devcon\dfs1\orlando\homes\%USERNAME%\My Documents\My Pictures expanded to \\devcon\dfs1\orlando\homes\mgonzalez\My Documents\My Pictures.
-Contents of redirected folder My Pictures will be copied to the new location.
-Previous contents of folder My Pictures at Z:\MGonzalez\My Pictures will be deleted.
-Querying the DS for user mgonzalez's home directory.
-Obtained home directory :
-Could not delete directory Z:\MGonzalez\My Pictures, error 3
-Could not delete all files from Z:\MGonzalez\My Pictures for redirected folder My Pictures after copy to new location at \\devcon\dfs1\orlando\homes\%username%\my documents\my pictures, error 3.
-Successfully redirected folder My Pictures.
-Previous contents of folder My Documents at Z:\MGonzalez will be deleted
-Could not delete directory Z:\MGonzalez, error 3.
-Could not delete all files from Z:\MGonzalez for redirected folder My Documents after copy to new location at \\devcon\dfs1\orlando\homes\%username%\my documents, error 3.
-Successfully redirected folder My Documents.
-Disabling permission for user redirection of My Documents.
-Successfully updated the shortcut to My Pictures in <\\devcon\dfs1\orlando\homes\mgonzalez\My Documents>.


0
 
victornegriCommented:
is Z:\MGonzalez a mapped drive or is it a local drive?

Folder redirection happens early in the login process and mapped drives may not be mapped yet.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now