Answered Mess with file owner in windows 2008

  • Tuesday, March 25, 2008 11:35 AM
     
     
    There is a windows 2008 file server with shared folder in my domain. When users copy their files to it, the owner of files changes to Administrator. How to keep the user the owner of files?

All Replies

  • Friday, March 28, 2008 8:46 AM
    Moderator
     
     Answered

     

    Hi Alex,


    Typical copy command does not preserve the ownership of the files.

     

    Use the 'Xcopy /o' in command prompt to copy files with their ownership and ACL information. It will keep the file ownership while copying between different hosts.