Your Ad Here

Home Articles | Tutorials | Troubleshooting | Tweaks | Subsribe to RSS Feed Subscribe to RSS Affiliated sites

Follow me  Follow gusac on Twitter Subscribe Subscribe to RSS


Your Ad Here

How to configure pagefile on Windows 2008 server core

19.Sep.2009 | by Gusac | Filed in: Articles, Tutorials

On Windows 2008 Server Core, the paging file is set to be system-managed by default and is created on the system drive. To change the paging file configuration on Server Core, we will have to perform two tasks.  Luckily, WMI command line (wmic) works on Windows 2008 core server and we will use it to configure pagefile.

Things we need to do:

  • Disable the Automatic system pagefile management
  • Set the desired pagefile size

At command prompt, perform the following steps:

Disable automatic system pagefile management:
wmic computersystem where name=”%computername%” set AutomaticManagedPagefile=False

Set the desired pagefile size:
wmic pagefileset where name=”C:\\pagefile.sys” set InitialSize=1024,MaximumSize=3096

Above command will set the page file on C: drive with initial size of 1 GB and maximum size of 3 GB).
Note:The value for pagefile size must in Megabytes (MB)

Once you do that, reboot the system so that changes can take effect.


 
Site viewed: times.