R
Rob S
Hi,
I've been looking at this problem all afternoon and I'm vexed - would
appreciate some advice. I am running a terminal server (2003) which
runs several instances of the same program - let's call it
proggie.exe.
I'm writing a simple script that a user can run to show them how many
proggie.exe's are running, and who is running them. I've been through
pslist, pmon and a few others and have settled on QUERY PROCESS * (or
QPROCESS *) which seems to do exactly what I want. But only as
Administrator. As Admin I get an output like this:
nag2 rdp-tcp#12 3 1052 proggie.exe
super rdp-tcp#16 4 344 proggie.exe
super rdp-tcp#16 4 2472 proggie.exe
As super (the user who is running the script) it comes out like this:
(unknown) rdp-tcp#12 3 1052 proggie.exe
super rdp-tcp#16 4 344 proggie.exe
super rdp-tcp#16 4 2472 proggie.exe
ie. anyone who isn't super isn't identified.
Any ideas how I can give super enough rights to enable this function?
I've tried adding super to query.exe to no avail.
many thanks
-Rob
robatwork at mail dot com
I've been looking at this problem all afternoon and I'm vexed - would
appreciate some advice. I am running a terminal server (2003) which
runs several instances of the same program - let's call it
proggie.exe.
I'm writing a simple script that a user can run to show them how many
proggie.exe's are running, and who is running them. I've been through
pslist, pmon and a few others and have settled on QUERY PROCESS * (or
QPROCESS *) which seems to do exactly what I want. But only as
Administrator. As Admin I get an output like this:
nag2 rdp-tcp#12 3 1052 proggie.exe
super rdp-tcp#16 4 344 proggie.exe
super rdp-tcp#16 4 2472 proggie.exe
As super (the user who is running the script) it comes out like this:
(unknown) rdp-tcp#12 3 1052 proggie.exe
super rdp-tcp#16 4 344 proggie.exe
super rdp-tcp#16 4 2472 proggie.exe
ie. anyone who isn't super isn't identified.
Any ideas how I can give super enough rights to enable this function?
I've tried adding super to query.exe to no avail.
many thanks
-Rob
robatwork at mail dot com