Please take a look at the article listed below:
320046 HOW TO: Use the File Ownership Script Tool (Fileowners.pl) in Windows http://support.microsoft.com/?id=320046
Thank You.
Diana
This posting is provided "AS IS" with no warranties, and confers no rights.