DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk2 min

How to Set a CPU Reservation for a Hyper-V Virtual Machine

Use Set-VMProcessor on the Hyper-V host to set and verify a VM’s CPU reserve, and learn what the percentage controls.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set a Hyper-V VM’s CPU reservation on the host with the Set-VMProcessor PowerShell cmdlet. For example, run Set-VMProcessor -VMName "Web01" -Reserve 20 in an elevated PowerShell session to set a 20% reserve for the VM.

Set the reservation with PowerShell

  1. On the Hyper-V host, open PowerShell as an administrator.

  2. Run the command below, replacing Web01 with the VM’s name and 20 with the percentage you want to reserve:

    Set-VMProcessor -VMName "Web01" -Reserve 20

    The documented -Reserve range is 0 through 100. See Microsoft’s Set-VMProcessor documentation.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  3. Check the setting with:

    Get-VMProcessor -VMName "Web01"

    Inspect the returned Reserve property. The processor settings apply uniformly to all virtual processors assigned to that VM.

What a CPU reservation does

A reserve is a minimum-allocation control: it specifies the percentage of processor resources reserved for the VM. Microsoft’s System Center VMM 2019 documentation describes the percentage in relation to one logical processor and says a value of zero means no specific percentage is reserved. This is a scheduling control, not a guarantee of application throughput; the cited documentation does not establish a universal relationship between a chosen percentage and workload performance. See VMM VM settings.

Choose the right CPU control

Control Purpose
Reserve Sets the minimum CPU resources to allocate to the VM.
Maximum or limit Caps the CPU resources the VM may consume.
Relative weight Sets the VM’s priority when the host distributes CPU among VMs competing for resources.

Use a reserve when the goal is a minimum allocation, not a cap or a higher relative priority. Microsoft describes these as separate per-VM resource controls in its Virtual Machine Resource Controls guidance.

Can you set it in a graphical interface?

System Center Virtual Machine Manager (VMM) 2019 documents a VM processor setting labeled “Reserve CPU cycles (%)”. That label and interface belong to VMM; they should not be assumed to match every version of Hyper-V Manager. The PowerShell cmdlet above is the clearest documented route when the management-tool version is uncertain.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Is CPU Groups required?

No. A per-VM CPU reserve is an individual VM setting. CPU Groups are a separate mechanism for grouping VMs and assigning shared allocations, caps, or processor affinity. Microsoft says CPU Groups are managed through the Host Compute Service and are not managed through Hyper-V Manager, WMI, or PowerShell management interfaces. For one VM’s reservation, use its per-VM processor setting; CPU Groups are unnecessary.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.