Rather than try to do this manually, I'd recommend a command-line tool courtesy of the good folks at SysInternals, which is designed to do exactly that: PAGEDEFRAG. When run, it will force a defrag on your page file the next time your machine is rebooted. You can also use it to force a defrag of the page file on each reboot, which is handy.
Learn more: What is virtual memory? Read a definition from WhatIs.com.
Dig Deeper on Enterprise infrastructure management
Related Q&A from Serdar Yegulalp
This week, our expert answers the question of how to get DVD data off a disc, even if the user's PC doesn't have an optical drive. Continue Reading
This week, our expert answers a question on how to connect a phone or tablet to a USB drive with a micro-USB connector. Continue Reading
Open source and free suites such as LibreOffice and OpenOffice could save organizations money, but not effort in comparison with Microsoft Office. Continue Reading