Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I like to keep Process Explorer running full-time. I particularly like to use it to display several statistics (e.g.: Usage graphs for CPU, RAM, Network, GPU) in the system tray. However, some of these tray icons (as well as other Process Explorer functions I like having handy) require Administrator permissions to run.

I've tried setting Process Explorer to run as Administrator on startup, and minimize to the system tray, by configuring the following:

  • In Process Explorer
    • Hide When Minimized
    • Allow Only One Instance

  • Shortcut in Start Menu -> Programs -> Startup
    • Run: Minimized
    • Advanced: Run as Administrator

However, this causes one of the following:

  • Process Explorer won't run on startup.
  • Process Explorer will run on startup, but will require UAC response.
  • Process Explorer will run on startup without UAC prompt, but without Administrator permissions.

My ideal solution would result in:

  • Process Explorer runs on startup, with Administrator permissions.
  • UAC response is not required to run Process Explorer on startup.
  • On startup, Process Explorer will be minimized to the system tray.
  • UAC can remain set at "Always Notify" and "Prompt for Credentials".
  • No additional software installations required.

Is this possible?

share|improve this question
    
Have you tried the task scheduler? That should let you run it as administrator I'm not sure about minimised. –  Col Mar 28 '13 at 18:54
    
@Col I have not tried Task Scheduler yet. If you have a process for configuring Task Scheduler in such a way that it meets the goals I've laid out in the question, please post it as an answer. –  Iszi Mar 28 '13 at 19:07
    
I think what you really want is a performance monitor...? –  AthomSfere Mar 28 '13 at 19:25
    
@AthomSfere Not really. The features I've mentioned in Process Explorer are sufficient for my interests right now, plus keeping it in the system tray makes it quickly accessible without actually making it the replacement for Task Manager. –  Iszi Mar 28 '13 at 19:29

2 Answers 2

You can create a task in the Windows Task Scheduler where you run the procexp.exe command and make sure to check the "Run with highest privileges" on the general tab to run it in admin mode. On the trigger tab you should define the task to run "At log on".

This will run the command with admin privileges at startup without asking for UAC verification.

To make sure Process Explorer starts minimized to the tray you should use the /t command line switch as an argument for the command when you add it to the action tab of the scheduled task.

share|improve this answer

I do something similar:

  • Shortcut in Start Menu → Programs → Startup
    • To: SCRIPT1.BAT


  • SCRIPT1.BAT
    FRED /c SCRIPT2.BAT


  • FRED.EXE
    • Is a copy of CMD.EXE
    • Compatibility: Run this program as an administrator


  • SCRIPT2.BAT
    • runs command(s) as administrator, with no system dialog

All files (FRED.EXE, SCRIPT1.BAT, and SCRIPT2.BAT) are in (a bin subdirectory of) my home directory.

Now as a matter of fact I choose to have my windows visible –– I want to see the results of the commands.  But I presume that I could use “Run: Minimized” and maybe START /MIN to keep things off the screen (in the taskbar).

I don’t remember why I did it as a two-stage process, but I probably played with it for several days before I could get it to work correctly.  If you figure out a way to streamline it, please post it.

share|improve this answer
    
And there's no UAC window? Have you disabled UAC? –  Jet Apr 25 at 13:46

Your Answer

 
discard

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.