PowerEdge: How to configure Persistent Memory NVDIMM on Windows Server 2019 Guest OS

Summary: This article provides information about how to configure Persistent Memory NVDIMMs on Windows Server 2019 Guest OS.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

On the previous article, "Configuring NVDIMM-N on PowerEdge Servers with Windows Server 2019," you learned about how NVDIMM-N works and how to configure Persistent Memory on Windows Server 2019.


This article explains how to configure NVDIMM PMEM on Windows Server 2019 Guest OS (VM). Example of how to configure NVDIMM on WS2019 Guest OS.

----------------
Configuration
----------------

Server: R740xd fully updated (BIOS, Firmware, Drivers, and OS)

  • 2 x CPUs (Intel(R) Xeon(R) Gold 6126T CPU @ 2.60GHz)
  • 2 x NVDIMM-N (16GB DDR4 2666MHz) + 12x regular RDIMMS (also 16GB DDR4 2666MHz)
  • Boot Optimization Storage Solution (BOSS) - 2x M.2 SATA SSD in HW RAID used for the OS Installation
     
    Note: Dell Technologies recommends updating BIOS, firmware, drivers, and Operating System as part of your scheduled update cycle. BIOS, firmware, driver, and OS updates are intended to improve the reliability, stability, and security of your system.

 

-------------------------------------------------------------
Storage-Class Memory support for VMs - Limitations
-------------------------------------------------------------

  • No VM Migrations
  • No runtime resizing
  • No Thin-Provisioning or Snapshots
  • Implemented through PowerShell

 

------------------------------------------------------
Configuring NVDIMM PMEM in a Windows VM
------------------------------------------------------

  • Enable Persistent Memory in the R740xd BIOS.

    BIOS Memory Selection 
    Figure 1. BIOS Memory Settings

    Memory Settings page Persistent Memory selection 
    Figure 2. Memory Settings

    Persistent Memory selection 
    Figure 3. Persistent Memory Menu
     
  • Install Windows Server 2019.
  • Install the Hyper-V role.
  • Verify if an SCM disk has been detected by the Hypervisor.

    Device manager persistent memory devices 
    Figure 4. Memory Devices on Device Manager

    get-pmemphysicaldevice command output 
    Figure 5. PMEM Devices listed on PowerShell

    get-physicaldisk output 
    Figure 6. Physical Disks
     
  • Create a PMEM Disk.

    get-pmemunusedregion output 
    Figure 7. PMEM Unused Regions

    get-pmemunusedregion | non-pmemdisk output 
    Figure 8. Creating New PMEM disks

    HOW16794_en_US__10Figure9
    Figure 9. PMEM Disks on Get-Physical Disk output
     
  • Initialize the new PMEM Disks, create new volumes, then format them. Use the parameter -DAX $True in order to properly enable SCM for Hyper-V utilization. You cannot present NVDIMM to VMs if -DAX option is not present.

    HOW16794_en_US__11Figure10
    Figure 10. Identify PMEM Disks only

     Initialize Disk, Create New Volume and Format Volume command examples 
    Figure 11. Initialize Disk, Create New Volume, and Format Volume
     
  • Confirm that DAX is enabled.

    DAX mode commands 
    Figure 12. DAX Mode Enabled
     
  • Create a new Gen2 Virtual Machine, then Install Windows Server 2019.
  • Shut down the VM.
  • Add the PMEM Controller to the VM.

    Commands to add PMEM Controller 
    Figure 13. Adding VM PMEM Controller
     
  • Create .vhdpmem file (new file extension). You must specify the -Fixed parameter. The vhdpmem disk does not work with dynamic VHD configuration.

    Command examples to create .vhdpmem file 
    Figure 14. Creating New VHDPMEM VHD
     
  • Attach VHDPMEM to the VM.

    Commands to attach vhdpmem disk 
    Figure 15. Attaching VHDPMEM Disk to VM
     
  • Start the VM.
  • Connect to the VM (PowerShell, Console, or RDP) and verify if PMEM disks are available.
    PMEM disk view inside VM 
    Figure 16. PMEM in the VM
     
  • Initialize Disk, create a new volume, then format it. For the SQL guys (SQL 2016 or above), if you want to take advantage of NVDIMMs, format the volume as DAX inside the VM (use the -IsDAX $True parameter).

    Initialize Disk, Create Volume and Format Volume 
    Figure 17. PMEM on VM - Initialize Disk, Create Volume, and Format Volume


    -----------------------------------
    Reference Powershell Cmdlets
    -----------------------------------
  • Get PMEM Physical Device Information
    Get-PmemPhysicalDevice
  • Get Physical Disk Information
    Get-PhysicalDisk
  • Get PMEM Unused Region and Create New PMEM Disk
    Get-PmemUnusedRegion | New-PmemDisk -Atomicity BlockTranslationTable
  • Get PMEM Disk Information, Initialize Disk, Create New Partition, and Format the Volume in DAX Mode
    Get-Disk -FriendlyName Persistent* | Initialize-Disk
    Get-Disk -FriendlyName Persistent* | New-Partition -UseMaximumSize -AssignDriveLetter | Format-Volume -FileSystem NTFS -isDAX $True
  • Verify if DAX is Enabled
    Get-Volume -DriverLetter x,x | Get-Partition | FT DriverLetter,IsDAX
  • Get VM, Add PMEM Controller to the VM and Verify PMEM Controller Information
    Get-VM
    Add-VMPmemController -VMName xxxxxx
    Get-VMPmemController -VMName xxxxxx
  • Attach VHDPMEM File to the VM, Get VM Disk Information
    Add-VMHardDiskDrive -VMName xxx -ControllerType PMEM -Path X:\xxxxx.vhdpmem
    Get-VMHardDiskDrive -VMName xxxxxx

 

 


Have any comments, questions, or suggestions? Contact us on WinServerBlogs@dell.com

Affected Products

Microsoft Windows Server 2019, Microsoft Windows Server 2022, Microsoft Windows Server 2025, PowerEdge C6600, PowerEdge C6615, PowerEdge C6620, PowerEdge HS5610, PowerEdge HS5620, PowerEdge MX760c, PowerEdge R260, PowerEdge R360, PowerEdge R660 , PowerEdge R660xs, PowerEdge R6615, PowerEdge R6625, PowerEdge R760, PowerEdge R760XA, PowerEdge R760xd2, PowerEdge R760xs, PowerEdge R7615, PowerEdge R7625, PowerEdge R860, PowerEdge R960, PowerEdge T160, PowerEdge T360, PowerEdge T560, PowerEdge XE8640, PowerEdge XE9640, PowerEdge XE9680, PowerEdge XR5610, PowerEdge XR7620, PowerEdge XR8000r, PowerEdge XR8610t, PowerEdge XR8620t ...
Article Properties
Article Number: 000122093
Article Type: How To
Last Modified: 25 Aug 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.