Solved

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

Posted on 2007-11-27
8
673 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Synchronize a new Active Directory domain with an existing Office 365 tenant
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

758 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

22 Experts available now in Live!

Get 1:1 Help Now