Permission Required to View Process Image Detail

svhuser
svhuser used Ask the Experts™
on
Hello,

I am trying to put together a login script that will gather info about a user's login session processes using a command like this:

tasklist.exe /v /fo list

I would like for a standard AD domain user to display al list of processes on, and also what user owns them.  I am able to do this while logged in as a domain admin, but get incomplete information as a non-admin.  Specifically, it will only return "N/A" in the user name field where I would normally expect "DOMAINNAME\Username" attached to the process.  

I don't want to make everyone a local admin to make this work, so I am looking for a specific setting probably in the Local Security Policy either under User Rights Assignment or Security Options.  If anyone knows the setting, I can analyze is and decide if the reduced security is acceptable.

Thanks,
John Kirkland
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
When running the same command as a domain user on a Windows XP Professional computer, it properly populates the user name field.  

Does anyone know the differences between the security in the two systems?

Thanks,
John Kirkland
which is the other system is it windows 7? try runas admin if it is windows 7 and see if it helps.
Commented:
We ended up going a different route creating a script to find the owner of a specific process running on a machine without being local admin.  Thanks for the assistance!

Author

Commented:
We worked around the issue.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial