Solved

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

Posted on 2007-11-27
8
676 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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
 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

685 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