We have posted on this subject before though the pieces of the puzzle were a bit incoherent due to the comments providing the proper methodology and eventually a link to Sander Berkouwer’s blog post with up to date information.
- MPECS Inc. Blog: Server Core - From Scratch to Hyper-V Production
- MPECS Inc. Blog: Server Core - Move that Swap/Page File - WMI Error Code = 0x80041017
As is indicated in the second blog post’s comments we find the following methodology:
- Create the dedicated partition after the OS partition using DiskPart.
- We install Server Core to a 50GB partition and FULL to a 75GB partition.
- We use RAM * 2.5 as a rule.
- For larger GB where only the Hyper-V Role is running then RAM * 1.
- We assign the letter S:
- Note the double slash in the file path.
As per Sander we can check the registry for the settings as well:
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Some additional reading:
- Sander Berkouwer’s Blog: Page files in Server Core
- Sander’s blog has been a constant source of _great_ information for all things Server Core and Hyper-V among others.
- Sander Berkouwer’s Twitter Feed
- Microsoft Support: KB979386: You receive an error message after you put the page file on another drive other than the drive C in a guest operating system.
- A VM’s Swap File cannot be placed on a VHD that is attached to the VM via Hyper-V SCSI bus.
Microsoft Small Business Specialists
Co-Author: SBS 2008 Blueprint Book