Windows – How to compare directory/files and permissions on Windows

windowswindows-server-2003

Is there a tool or command which will compare two directory trees on separate computers and output a list of differences, including differences in permissions?

I was looking at http://winmerge.org/ and it didn't seem to have this feature (it seems to compares file sizes and contents, but not attributes). Took a look through the options, but didn't see a setting to change this.

I've had some problems in the past with permissions getting messed up on some driver directories after an update and it would nice to compare a working installation with a broken one.

Best Answer

Have you throught about using PowerShell to do this?

PS2 includes a cmdlet Get-ACL which enums the NFTS permissions (including owner) for a given folder/file.