Hi! DOES NOT need admin rights. W2K and up... #include <array.au3> ; Needed to display array in example.
#include <security.au3> ; Get OWNER from SID.
$tag_WTS_PROCESS_INFO= _
"DWORD SessionId;" & _
"DWORD ProcessId;" & _
"PTR pProcessName;" & _
"PTR pUserSid"
; ############ Example code #######################
MsgBox(0,"Process by name or number(PID)", "'Owner' of Explorer.exe is " & _ProcessListOWNER_WTS("Explorer.exe"))
$temp=_ProcessListOWNER_WTS()
$t