Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

My computer running Windows 7 is getting old, and Flash content stutters a bit too much. I am finding that elevating the priority of the plugin process helps a lot.

I know of the /high switch to start an executable with 'High' priority, but I don't know how to raise the priority of a child process (plugin executable kicked off by a (parent) browser process) automatically.

I'd like to do this without installing any additional software on the machine. If there's a way to do this from the browser itself (I use Firefox and Chrome), it'd be even better.

Also, FMI: Are there any possible unintended consequences that I may be overlooking?

share|improve this question

Whenever I play a Flash video in Firefox a couple of instances of FlashPlayerPlugin_11_7_700_224.exe start up (version number will obviously change over time). You can run the following command to set the priority of a process from the command line:

wmic process where name="FlashPlayerPlugin_11_7_700_224.exe" setpriority 32768

However, doing this when you start Firefox will not work since the FlashPlayerPlugin process is started on-demand, and killed once it is no longer required. So you can create a batch file that you can run as and when required, or perhaps schedule the file to be executed every say 10 mins. or so.

share|improve this answer

There are tools outside which can adjust the priority to what you want.

One of them is Prio. Here you can save the priority in taskmgr:

enter image description here

Each time you run the Program now, it will be started with the saved priority.

share|improve this answer
    
You have to keep Prio running for this, right? Looks like they just automated the polling of the task list and setting priority when the specified task is detected. – Karan Jul 9 '13 at 19:27
    
this is a small DLL which is loaded during Windows boot. – magicandre1981 Jul 10 '13 at 4:11

Open your Firefox shortcut icon properties, and paste %comspec% /c start /HIGH FireFox.exe into the Target Location box.

Click Apply

That is all.

This particular shortcut will now always start Firefox at a HIGH priority, and you can make other icons for NORMAL priority, if you want, too.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .