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

I am running windows server with websites and sql server 2008 and IIS 6. It is working fine.

Now I need to move my websites to another windows server and I have hard time setting correct file security for the new server.

Is there any way to compare or move or see difference file security between two servers?

share|improve this question

You could use XCACLS to dump the permissions on both directories to text files and then a diff application (e.g. WinDiff) to compare them.

Alternatively you could use robocopy.exe to copy the from source to destination and preserve the permissions.

share|improve this answer
We have a Web infrastructure with Dev>Test>Staging>Production and I use the Robocopy option to keep the files/permissions in sync. +1 for an old fav – Charles Dec 16 '10 at 12:43

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.