UAC - file ownership


  • Hello,

    I'm developing on a server using windows 2008. My c# application launches sub processes with different user credentials , after which it checks the file ownership of the created files.

    Due to the following issue, I was forced to turn off the UAC on the system (:

    While this resolved the process.hasExited() issue, I ran into a problem concerning file ownership. With the UAC turned off, windows is unable/unwilling to display the user as owner of the created files, instead referring to the group to which it belongs.

    Is there a workaround for this problem?

    I know disabling UAC isn't "good practice", but some problems just persevered...



    Thursday, April 28, 2011 1:48 PM