Home
Contact
Forums
Awards
Press
Subscribe
Social
About
 ___
Authors:
Jason Doucette
Matthew Doucette
 ___
Games:
Duality ZF
Decimation X
Score Rush
 ___
Articles:
Blog
Games
Tech
Windows
Webmaster
Coding
 ___
Web Utilities:
Domain Hacks
Suggest
 ___
Freeware:
ZoomView
AntiSpam Mailto
 ___
Quotes:
Inspirational
Intelligence
Education
Action
Scientific
Chess
Financial
Programming
 ___
Social:
YouTube
Facebook
Twitter
 ___
Books
Videos
Wallpapers
 ___
Music
Color List
TI-99/4A
Parsec
Optical Illusions
Web Design
Trivia
Domains
Donations
Copyrights
Disclaimer
Links
 ___
Forums
About
Contact
Run Tasks in Low Priority


Thursday, July 22, 2004
By: Matthew Doucette
(printer friendly version)

This article explains how to have any Windows (XP/2000) task or program run in various priority settings by default.

Most tasks default to "Normal" base priority.  "Windows Task Manager" runs in "High" base priority by default.  Also, "Windows Task Manager" is how to manually set already executing tasks to different priority settings.  But this is a pain if you have to do this all the time.  Typically, if you ever want to change a task's default priority setting, you will probably want to set it to a lower priority, either "BelowNormal" or "Low".

 

How To Run Tasks in Low Priority Automatically in Windows XP:

Create a backup copy of the task's icon, for your own sake (in case you wish to revert your changes).

Right-click the task's icon, "Properties", "Shortcut", "Target:", and modify as follows (I used Adobe Photoshop as the example)...

Change:

"C:\Program Files\Adobe\Photoshop 6.0\Photoshp.exe"

To:

C:\WINDOWS\system32\cmd.exe /c start "Adobe Photoshop" /belownormal "C:\Program Files\Adobe\Photoshop 6.0\Photoshp.exe"

Done!

The highlighted red text of both sections are the same.  Pay attention to the quotation marks, they must be included.

 

How To Run Tasks in Low Priority Automatically in Windows 2000:

A take-off of the Windows XP example above...

Change:

"C:\Program Files\Adobe\Photoshop 6.0\Photoshp.exe"

To:

C:\WINNT\system32\cmd.exe /c start "Adobe Photoshop" /belownormal "C:\Program Files\Adobe\Photoshop 6.0\Photoshp.exe"

 

How It Works:

  • /c is a command line parameter to cmd.exe.  It "Carries out the command specified by string and then terminates."  This is necessary as you do not want cmd.exe running in the background after opening the task.

  • start is actually a program. Try running "start /?" (without quotes) from the command prompt to see all the options.

  • "Adobe Photoshop" (with quotes) is the title of the task. You can set this text to whatever you want. I set it the same as the original task.

  • The /belownormal sets the priority to "below normal".  You can double check this in Windows Task Manager (CTRL-ALT-DEL) after you run the task.  You could have also used /low to set the priority to "low".

  • "C:\Program Files\Adobe\Photoshop 6.0\Photoshp.exe" (with quotes) is the original task itself. Notice that this does not change from before to after.  

 

Does It Work For All Applications?

No!

I have found that some applications can not be changed (Microsoft Word and iTunes for example).

Contact us if you know why.

 

Benefits To Running Tasks In Below Normal Priority:

Running a task in low priority does not mean that it will run slow.  Unless it is competing heavily with another CPU-intensive program, it will run (almost) as fast as normal.

The benefit of low priority is it will take the "back seat" whenever you want to use the computer to do something non-CPU-intensive, like open up Internet Explorer or check your email.  Normally, when you do something CPU-intensive, like running an Adobe Photoshop filter, your computer becomes inoperable while the task executes.  This does not have to happen.  A CPU-intensive task should give you a few seconds of CPU resources to accomplish something as simple as checking your email, if you want it to.  Setting the CPU-intensive task to a lower priority accomplishes exactly that.  The few seconds lost by that CPU-intensive task will, more than likely, be unnoticeable.  Even if it was noticeable, wouldn't you want your computer to response to you when you ask it to do something else, even at the cost of slowing down a long-running CPU-intensive task?

However, there are limitations.  Remember that a lower priority task will always take the back seat to a higher priority task until that higher priority task is finished.  This means if you have two long-running tasks competing for CPU resources, and they are set at different priority levels, then one will take the "back seat" to the other until one is finished.

 

Credit:

Credit goes to Jason Doucette for discovering the solution to this problem and for providing the information so that I could write this article.

 

Also See:

 

 

About the Author:  I am Matthew Doucette of Xona Games, an award-winningteam-of-two indie studio concentrating on "intense retro" games (Xbox LIVE, PSN, WiiWare, and Windows PC). We've released Decimation X (XBLIG), a 1-4 player shmup, #1 best selling and #1 top rated XBLIG in Japan. We're working on Duality ZF (XBLA), a groundbreaking 1-4 player shmup, which placed #1 in Canada and #5 in the world in Microsoft's Dream Build Play 2010 contest. It features dual play, the ability to control two fighters at once, and a massively upgradable 32-stage spread/laser weapon system. 4 player dual play allows up to eight fighters at once.  Many of these features are never before seen shoot'em up firsts. Both games feature beautiful electronic Imphenzia soundtracks.  Help spread the word with our official dualityzf.com and decimationx.com websites.

P.S. Watch out for Score Rush (official website scorerush.com), another 1-4 player shmup. Coming soon to XBLIG.

*Shmup also known as: shoot'em up, 2D shooter, scrolling shooter, space shooter, spaceship shooter, retro shooter, etc.



> Home
> Discuss
> Contact
  ©Xona.com™


Email:
"Xona Games" and "Xona.com" trademarked and copyrighted by Xona Games Inc.,
Jason Doucette, and Matthew Doucette.
6,775,189 page views (since 2004-Jul-27)
© Xona Games Inc.