Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Never robocopy vista user accounts without /xj

Reply
 
Old 02-25-2007   #1 (permalink)
mister.jones


 
 

Never robocopy vista user accounts without /xj

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...)


My System SpecsSystem Spec
Old 02-25-2007   #2 (permalink)
Sean Cai [MSFT]


 
 

RE: Never robocopy vista user accounts without /xj

Hi,

Thank you very much for your great share! I believe your information will
benefit who will use this command.

Thank you again and have a great day!

Sean Cai, MCSE2000
Microsoft Online Support

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================

My System SpecsSystem Spec
Reply

« Resize Fonts | font »
Thread Tools


Similar Threads
Thread Forum
First Time User of RoboCopy-Syntax Question Vista file management
User Accounts at Logon vs User Accounts in Parental Control Vista General
User Accounts, Switch User, Hibernate, Sleep, Restart Vista account administration
user accounts don't show up on manage accounts Vista account administration
Standard user accounts can access files of other accounts??!! Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46