Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone have advice for easily copying files between a Windows XP machine [#A] (NTFS drive) --> External Hard Drive [NTFS] --> another Windows XP machine [#B] (NTFS drive) and getting the permissions set proprely?

Machine #A has all the data files setup so that User A [UUID] has full control on. When the files are copied over to the external hard drive, the permissions are fine. But when the external hard drive is then connected to Machine #B, the files will not copy.

I tried running cacls and xcacls to get User B [different UUID] and it works pretty well, but it chokes on atypical filenames.

Is there a better way?

Thanks in advance!

share|improve this question
up vote 4 down vote accepted

If these machines aren't part of a domain and the permissions are naming local user accounts on each machine you're not going to see the permissions (which reference the SIDs from the security and accounts manager (SAM) databases on each machine) show the right users when moving machine-to-machine. The only SIDs that work moving machine-to-machine are the "well known" SIDs (things like "Authenticated Users", "Users", etc).

Consider naming "Administrators" in the permissions-- that's a well-known SID and will work on both machines.

share|improve this answer
Good point... are these standalone or domain joined computers? – Sean Earp Jun 23 '09 at 19:32

Use Robocopy, which can copy over the NTFS attributes and properties including ACLs.

share|improve this answer

additionally, it's always a good idea to give the often-called "Linux for Windows" => Cygwin, a try! There you have for example the rsync tool, which could be very helpful for your purpose I think. It can handle the file permissions, too and even let you backup / transfer the files securely via SSH.

Could be a pain to get your hands on it if you never had any Linux experience - but it's definitely worth it! In your case it is, at least for me, best practice!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.