共用方式為


DisablePagingExecutive

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

DisablePagingExecutive

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

Data type Range Default value

REG_DWORD

0 | 1

0

Description

Specifies whether kernel-mode drivers and kernel-mode system code can be paged to disk when not in use.

Value Meaning

0

Drivers and system code can be paged to disk as needed.

1

Drivers and system code must remain in physical memory.

Activation Method

To make changes to this entry effective, you must restart the system.

Tip

  • Setting this value to 1 is useful when debugging drivers, because all of the code and data is always memory resident. It also improves performance on machines with a lot of memory, because it prevents disk reads to get code or data.