Monday, October 05, 2009

Moving PageFile.Sys to other drive in Windows Server 2008

Open command prompt and use the following commands

  • wmic computersystem where name=”MyCoreServer” set AutomaticManagedPagefile=False
  • wmic pagefileset where name=”d:\\pagefile.sys” set InitialSize=2500,MaximumSize=10240
  • The second command creates a new pagefile.sys on d: drive with an initial size of 2,5 GB and a maximumsize of 10,24 GB

    Afterwards – reboot.


    No comments: