I have a setup where I'm booting to a vhd in windows 7. My drive has 2 main partitions that I use. For whatever reason, inside the VHD, the page file was put to my "secondary" partition. I'm wanting to change the drive letter of this partition inside my VHD, but it won't let me because the page file is on there. How can I move the page file for this VHD setup to a different drive?
In Windows 7, you can have one page file on each drive, and manually configure them per drive through the interface. So you can totally disable the page file on the drive you wish.
Windows sets the initial minimum size of the paging file equal to the amount of random access memory (RAM) installed on your computer plus 300 megabytes (MB), and the maximum size equal to three times the amount of RAM installed on your computer.
To manually configure the virtual memory: