04-14-2010, 08:52 PM
Is there a way to get the user name of the process owner (like what is shown in Task Manager)?
Process User Name
|
04-14-2010, 08:52 PM
Is there a way to get the user name of the process owner (like what is shown in Task Manager)?
04-15-2010, 10:31 AM
Member function str.GetProcessUserName
function$ pid [flags] ;;flags: 1 with domain Macro Macro1386 str s If need for all processes, faster would be WTSEnumerateProcesses.
04-15-2010, 02:55 PM
works like a charm. THANKS!!!
10-29-2013, 10:43 PM
Hello,
I found the above example and would like the ability to output the Client Name found under the Users tab in Windows Task Manager instead of the User. Im trying to display the application used by a remote user (remote desktop) to other users that connect afterwards. For example: User1 connect to a remote server and opens ms paint, then when User2 connected to the same server, I would like the screen to flash "MSPAINT used by User1" on User2's screen. I have the following script working so far with the above example and Member function str.GetProcessUserName Macro out If im going about this completely wrong, please help me get back on track. Thanks!!! |
« Next Oldest | Next Newest »
|