Windows Kernel Memory Residency Locks in Registry

This article explains where the Windows Registry stores active configurations for system-wide kernel physical memory residency locks and related paging controls. In Windows, kernel-mode components, drivers, and user-space allocations utilize specific registry keys to dictate whether memory pages must remain locked in physical RAM or can be paged out to disk. Below are the precise registry paths, primary values, and configuration behaviors governing these memory residency locks.

Primary Registry Location

The active configuration for kernel physical memory residency and system-wide paging policies is stored in the following registry path:

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

Because CurrentControlSet points dynamically to the active control set used during the current boot session, modifications made here directly target the active runtime profile for the operating system.

Key Values Governing Memory Residency

Within the Memory Management key, several values dictate how physical memory is locked and managed:

Application of Changes

Because these parameters govern low-level kernel initialization and hardware memory management unit (MMU) behavior, modifications made via Regedit do not apply immediately. A complete system restart is required for the kernel executive to read the updated registry values during the boot process.