Privilege used by MoveFileEx()
When calling MoveFileEx() and using MOVEFILE_DELAY_UNTIL_REBOOT for dwFlags. During the actual moving of file what privilege do开发者_Python百科es it use?
Thanks Kazuo!
Th MSDN doesn't really say anything about this special situtation, but the hint "This value can be used only if the process is in the context of a user who belongs to the administrators group or the LocalSystem account." gives the only logic result that the Administrator privileges will be used to move the file (since the account that called this API might not be there).
精彩评论