Wednesday, February 16, 2011

Change Virtual Memory using Group Policy Preference

To change Virtual Memory on Windows 7, the following registry key should be modified:

Value type: REG_MULTI_SZ
Value Name: PagingFiles
Value Data: c:\pagefile.sys 73725 73725

In Value Data there is a location and page file name, first 73725 is initial size, second 73725 is max size.
Registry path is:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management


 To deploy this Registry Key you can use Group Policy Preference.
Open Group Policy Management Editor, Preferences, Right click on Registry -> New -> Registry Item. 

Enter the values from the beginning of this article:

Apply this GPO to the Computer accounts and restart the computers.


  1. This is useful, but didn't work exactly this way for me. I followed these steps and applied the GPO to a Win7 client and it didn't work, kind of munged the value data upon inspection through regedit. It _looks_ like REG_MULTI_SZ wants binary data rather than string. I worked around this by choosing Registry Item->New->Registry wizard and browsing to this reg item on my local machine. GPO works great now.

    Thx for the good idea.