configure Performance Options in Registry

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

 

Performance Options -> Advanced -> Adjust for best performance:

All to do is to change the DWORD value of Win32PrioritySeparation under this registry hive:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl

Adjust for best performance of Programs
Set Win32PrioritySeparation to 0x26 (decimal 38) for Programs.

or

Set Win32PrioritySeparation to 0x18 (decimal 24) for Background Services.
Adjust for best performance of Background Services.


Performance Options -> DEP (Data Execution Prevention)

Turn on dep for essential windows programs and services only
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\NoExecuteState
Set LastNoExecuteRadioButtonState to 0x000036bc (decimal 14012)

also you can do it with bcdedit:

There are four options to set the DEP mode with bcdedit:
- Optin:
Enables DEP only for OS components, including the Windows kernel and Windows drivers.
Administrators can enable DEP for selected executable files with the Application Compatibility Toolkit (ACT).


- Optout:
Enables DEP for the OS and all processes, including the Windows kernel and Windows drivers.
However, administrators can disable DEP on selected executable files with the Control Panel System applet.


- AlwaysOn:
Enables DEP for the OS and all processes, including the Windows kernel and Windows drivers.
All attempts to disable DEP are ignored, and all DEP configuration options are disabled.


- AlwaysOff: Disables DEP. Attempts to enable DEP selectively are ignored, and the DEP GUI is disabled.

Samples:

Turn it on: bcdedit.exe /set {current} nx Optin
Turn it off: bcdedit /set nx AlwaysOn