KB974028

Pagefile settings are stored in the following registry entry on a computer that is running Windows Vista, Windows Server 2008, Windows 7, or Windows Server 2008 R2:

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

If you run the following command, the REG_MULTI_SZ value of this registry entry is set to “C:\pagefile.sys 0 0”:

wmic computersystem set AutomaticManagedPageFile=FALSE

This issue causes the loss of existing pagefile settings for operating systems that have the following pagefile settings:

  • The initial and maximum pagefile sizes are explicitly specified. For example:

    C:\pagefile.sys 4095 4095

  • Multiple pagefiles are on multiple volumes. For example:

    C:\pagefile.sys 8200 8200 D:\pagefile.sys 8200 8200 E:\pagefile.sys 8200 8200

Note: The problem also occurs if the AutomaticManagedPagefile property of the WMI Win32_ComputerSystem class is set to “FALSE” by program code by using the COM interface.

Leave a Reply