Configure at least the required amount of memory for a virtual machine running Windows Server 2008 R2 and enabled for Dynamic Memory
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016
For more information about best practices and scans, see Run Best Practices Analyzer Scans and Manage Scan Results.
Property | Details |
---|---|
Operating System | Windows Server 2016 |
Product/Feature | Hyper-V |
Severity | Error |
Category | Configuration |
In the following sections, italics indicates UI text that appears in the Best Practices Analyzer tool for this issue.
Issue
One or more virtual machines are configured to use Dynamic Memory with less than the amount of memory required for Windows Server 2008 R2.
Impact
The guest operating system on the following virtual machines might not run or might run unreliably:
<list of virtual machines>
Resolution
Use Hyper-V Manager or Windows PowerShell to increase the minimum memory to at least 256 MB, and the startup memory and maximum memory to at least 512 MB.
Increase memory using Hyper-V Manager
Open Hyper-V Manager. (From Server Manager, click Tools > Hyper-V Manager.)
From the list of virtual machines, right-click the one you want, then click Settings.
In the navigation pane, click Memory.
Change the RAM to at least 512 MB.
Under Dynamic Memory, change the Minimum RAM to at least 256 MB and the Maximum RAM to 512 MB.
Click OK.
Increase memory using Windows PowerShell
Open Windows PowerShell. (From the desktop, click Start and start typing Windows PowerShell.)
Right-click Windows PowerShell and click Run as administrator.
Run a command similar to the following, replacing MyVM with the name of your virtual machine and the memory values with at least the values shown below.
Get-VM MyVM | Set-VMMemory -DynamicMemoryEnabled $True -MaximumBytes 512MB -MinimumBytes 256MB -StartupBytes 512MB
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for