The paging file configuration can be done in the computer properties under Advanced—Performance Options. If the Hyper-V host has been installed with the Server Core installation mode, this UI will not be available. So we will use a script that can be run at the command prompt: $Pagefile = Get-WmiObject Win32_ComputerSystem $Pagefile.AutomaticManagedPagefile = $false $Pagefile.Put() $NewPagefile = gwmi -query "select * from Win32_PageFileSetting where name='C:\ pagefile.sys'" $NewPagefile.InitialSize = [int]”10240” $NewPagefile.MaximumSize = [int]”10240” $NewPagefile.Put() A general good rule of thumb is to have a page file of between 4 GB and 6 GB. We usually don’t configure more than 10 GB. But again, only change the size of the paging file when the default value is not optimal configured automatically.