TONYSO

Tonyso Credo: "Look for a pattern, and solve it for everything"

Hyper-V How To: Manually Configure Hyper-V Pagefile

Hyper-V How To: Manually Configure Hyper-V Pagefile

  • Comments 1
  • Likes

Hyper-V automatically configures your pagefile settings, but if, for some troubleshooting purposes, you may want to change them manually. Here's how:

1. To check current pagefile stats, from the command line type:

wmic pagefile get /format:list

2. To disable automatic system pagefile management, from the command line type:

wmic computersystem set AutomaticManagedPagefile=False

3. To set the desired pagfile location and size (i.e. Initial size = 1000MB, Maximum size = 5000MB):

wmic pagefileset where name=”c:\\pagefile.sys” set InitialSize=1000,MaximumSize=5000

4. Restart the server.

5. To check the results view the PagingFiles value in HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment