Solved

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

Posted on 2007-11-27
8
674 Views
Last Modified: 2008-05-31
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
Comment
Question by:moonraker169
  • 4
  • 4
8 Comments
 
LVL 10

Expert Comment

by:victornegri
ID: 20360645
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
 

Author Comment

by:moonraker169
ID: 20361289
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
 
LVL 10

Expert Comment

by:victornegri
ID: 20361381
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
 

Author Comment

by:moonraker169
ID: 20361459
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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:moonraker169
ID: 20365710
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
 
LVL 10

Expert Comment

by:victornegri
ID: 20366911
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
 

Author Comment

by:moonraker169
ID: 20367194
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
 
LVL 10

Accepted Solution

by:
victornegri earned 500 total points
ID: 20367307
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Allow users from Trusted Domain to Access Resources 1 42
Office 365 & Microsoft Azure 8 48
ICACL switch help. How to include current folder 2 36
MDM vs GPO 16 23
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now