Process.PriorityBoostEnabled Property

Gets or sets a value indicating whether the associated process priority should temporarily be boosted by the operating system when the main window has the focus.

Namespace: System.Diagnostics
Assembly: System (in system.dll)

public bool PriorityBoostEnabled { get; set; }
/** @property */
public boolean get_PriorityBoostEnabled ()

/** @property */
public void set_PriorityBoostEnabled (boolean value)

public function get PriorityBoostEnabled () : boolean

public function set PriorityBoostEnabled (value : boolean)

Property Value

true if dynamic boosting of the process priority should take place for a process when it is taken out of the wait state; otherwise, false. The default is false.

Exception typeCondition


Priority boost information could not be retrieved from the associated process resource.


The platform is Windows 98 or Windows Millennium Edition (Windows Me), which does not support this property.


The process identifier or process handle is zero. (The process has not been started.)


You are attempting to access the PriorityBoostEnabled property for a process that is running on a remote computer. The property is available only for processes running on the local computer.


The process Id is not available.

When a thread runs in a process for which the priority class has one of the dynamic priority enumeration values (Normal, High, or RealTime), the system temporarily boosts the thread's priority when it is taken out of a wait state. This action prevents other processes from interrupting the processing of the current thread. The PriorityBoostEnabled setting affects all the existing threads and any threads subsequently created by the process. To restore normal behavior, set the PriorityBoostEnabled property to false.


Boosting the priority too high can drain resources from essential operating system and network functions, causing problems with other operating system tasks.

Windows 98, Windows 2000 SP4, Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions