Created
January 10, 2014 22:43
-
-
Save chetan/8364142 to your computer and use it in GitHub Desktop.
Move the page file to another drive (E), set it to 30GB-100GB, and reboot immediately
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wmic computersystem set AutomaticManagedPageFile=FALSE | |
wmic.exe pagefileset create name="E:\pagefile.sys" | |
wmic.exe pagefileset where name="E:\\pagefile.sys" set InitialSize=30720,MaximumSize=102400 | |
wmic.exe pagefileset where name="C:\\pagefile.sys" delete | |
shutdown -r -t 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2007/12/27/page-files-in-server-core.aspx