A. Pagefile information is stored in the registry as a multi_string (so you HAVE to use regedt32.exe) and can be changed locally as follows:
- Start the registry editor (regedt32.exe)
- Move to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
- Double click PagingFiles
- There is one line for each page file, the format is
<location> <initial size> <maximum size>
C:\pagefile.sys 120 140
Click here to view image
- Click OK
- Close the registry editor
- Reboot the machine
To change on another machine you should use the resource kit REG.EXE utility but the command below will replace the current page file and will NOT check you have enough disk space so you may want to create a script that does check. Make sure the machine is rebooted after the change.
Manager\Memory Management\PagingFiles"="<location> <initial
size> <max size>" \\<remote machine>
C:\> reg update "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PagingFiles"="C:\pagefile.sys 120 140" \\titanic.savilltech.com
Make sure you test this before trying to use on live machines.