Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I really like Mark Russinovich's Process Explorer so I'm always running it. I would like to automate this task of manually starting this process up every time I logon.

But I want this program to run as domain administrator even though I logon as a local user. The reason being is I can manage (kill) processes/services running under domain accounts.

So how do I do that?

I suppose if I create a local service using sc create command I won't be able to interact with Process Explorer then? Will I be able to see the icon in the task tray and open it etc etc?

So is this at all possible?

share|improve this question
up vote 1 down vote accepted

You can use the runas command:

runas /user:Administrator "C:\Program Files\Process Explorer\procexp.exe"

The only problem is that a command prompt will ask you for your password and will remain up for the whole time Process Explorer is open.

share|improve this answer
This is a partial solution. I could put this command into a BAT file and put it in the startup folder, but as you've said, there's a problem with password promting. I was more leaning towards Task Scheduler or a system Service that would do this. – Robert Koritnik Aug 31 '10 at 16:10
I accepted this answer because it came very close to what I needed. The only problem being the password. – Robert Koritnik Sep 15 '10 at 8:39

Task Scheduler almost meets your requirements.

In Windows 7 (and I think Vista?):

  • It is possible to trigger a task on log on.

  • It is possible to designate who the task should run as (However, I don't think doing this will have the desired effect - as running the software as as another user might not make it visible to the current user).

  • It is possible to set an task to run "with highest privileges" (ie, administrator / UAC elevated) if needed.

share|improve this answer

You can turn any program into a service with SrvAny, although I'm not certain SrvAny will work under Windows 7. You'll need to set it up so that the service is allowed to interact with the desktop. Try running it as Local System first. If that doesn't work, try it with the domain admin credentials.

share|improve this answer
I've tried doing this as well but windows doesn't get displayed and I can't interact with Process Explorer. but It was a nice try. Thanks. – Robert Koritnik Sep 15 '10 at 8:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.