ITsVISTA
Information that makes life easier when it comes to installing, managing, and using Windows Vista.
Start About FAQ Blogroll Shop

ITsVISTA KB-Link: KB974028

The “wmic computersystem set AutomaticManagedPageFile=FALSE” command causes the loss of existing pagefile settings on a Windows Vista, Windows Server 2008, Windows 7, or Windows Server 2008 R2-based computer

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.

For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB974028.

Get notified of new posts for FREE via RSS or E-mail

Subscribe to ITsVISTA!

Related Posts