Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

Now I need to move my asp.net 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

1 Answer 1

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

 
discard

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.