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.