
03-13-2007
|
|
|
|
RE: Robocopy broken?
Daniel,
I just read this in another thread...hope it helps.
Just because I spent some time figuring this one out:
When copying user accounts to another place in Windows Vista, be sure to
exclute JUNCTIONS. There is a junction in '\Users\...\AppData\Local' named
'Application Data' which points to its parent folder, thus effectively
creating a LOOP.
Robocopy if used without /xj follows this junction and copies its contents
and follows this junction and copies its contents and follows this junction
.....
You effectively get a very long directory tree, which you cannot see if you
also copied permissions, because this folder has security permissions set to
deny folder listing and traversal for everybody.
To remove the mess, you have to
1. remove the "Everybody Deny" security restraint and apply this to all
subfolders
2. rename 15-20 "Application Data" folders to "a", because the names gets
too long for explorer
3. delete the folders
Perhaps someone might find this helpful.
BTW, whoever had this idea to create a junction to the parent folder should
get a big spanking (or no ice cream for the next two years, or whatever they
do at Microsoft for punishing...)
"Daniel Erkan" wrote:
> I'd like to use robocopy for some automated file copying.
> Everything it is supposed to do, is copy my users folder using /MIR.
> However, everytime it goes crazy with the hidden, localized AppData
> shortcut folders and goes in a loop, creating infinte of these folders,
> creating a structure like /appdata/appdata/appdata/appdata/appdata and
> so on.... until it gets kicked by the filesystem.
> I could offer a (German) log, if that's a help to anybody.
>
> Any ideas on how to fix that?
>
> Thanks!
>
|