AccesToken Open with TOKEN_QUERY fails RRS feed

  • Question

  • Hello there,

    I would like to obtain the Owner UserNames of all processes in Systema nd for this reason I have SeDebugPrivilege enabled for my Process Access Token.

    Most of the process succeeds but certain process like various svchost.exe, sqlservr.exe, sqlbrowser.exe, alg.exe fails on OpenProcessToken with Access Denied. However OpenProcess does Succeed with PROCESS_ALL_ACCESS.

    Any help would be greatly appreciated.

    Thanks a lot in advance


    Ahmad , Microsoft Student Partner - India
    Wednesday, March 25, 2009 6:47 AM