HYPER-V · MABS

Install Hyper-V Role on a MABS Virtual Machine: Nested Virtualization Guide

A practical troubleshooting guide for installing the Hyper-V role on a Microsoft Azure Backup Server virtual machine running on Hyper-V, including nested virtualization, PowerShell checks and validation.

Practical Runbook Hyper-V Troubleshooting
Detailed Runbook PowerShell + Validation Production Troubleshooting
Have a question about this runbook? Post your issue to the TechRunbook Community and get help from other IT professionals.
Ask the Community →

Before you start

If the MABS server is itself a Hyper-V virtual machine, installing the Hyper-V role inside that VM requires nested virtualization. The physical Hyper-V host must expose the required processor virtualization extensions to the MABS guest.

Confirm that you have administrative access to both the MABS VM and the physical Hyper-V host before making the change.

Confirm the initial Hyper-V installation error

Run the following command inside the MABS server:

Install-WindowsFeature -Name Hyper-V -IncludeAllSubFeature -IncludeManagementTools

A common failure is:

Hyper-V cannot be installed: The processor does not have required virtualization capabilities.

This indicates that the guest operating system cannot currently see the processor virtualization capabilities required by Hyper-V.

Check virtualization from inside the MABS VM

Run:

systeminfo.exe

Review the Hyper-V Requirements section. You can also collect processor capability information with:

Get-CimInstance Win32_Processor |
Select-Object Name,
VMMonitorModeExtensions,
VirtualizationFirmwareEnabled,
SecondLevelAddressTranslationExtensions

The values provide a quick indication of whether the guest can access the virtualization capabilities needed by Hyper-V.

Check the MABS VM processor configuration on the parent Hyper-V host

Run the following command on the physical Hyper-V host that owns the MABS VM:

Get-VMProcessor -VMName "MABS-VM-NAME" |
Select-Object VMName, ExposeVirtualizationExtensions

If nested virtualization is not enabled, the setting will normally show:

ExposeVirtualizationExtensions : False

Enable nested virtualization

Shut down the MABS VM before changing its processor virtualization setting:

Stop-VM -Name "MABS-VM-NAME"

Enable the virtualization extensions:

Set-VMProcessor -VMName "MABS-VM-NAME" -ExposeVirtualizationExtensions $true

Verify the setting:

Get-VMProcessor -VMName "MABS-VM-NAME" |
Select-Object VMName, ExposeVirtualizationExtensions

Expected result:

VMName     ExposeVirtualizationExtensions
------     --------------------------------
MABS01     True

Start the MABS server and validate again

Start the VM:

Start-VM -Name "MABS-VM-NAME"

After Windows starts, run:

systeminfo.exe

Then run:

Get-CimInstance Win32_Processor |
Select-Object Name,
VMMonitorModeExtensions,
VirtualizationFirmwareEnabled,
SecondLevelAddressTranslationExtensions

Confirm that the required virtualization capabilities are now visible inside the guest.

Install the Hyper-V role

Install-WindowsFeature -Name Hyper-V -IncludeAllSubFeature -IncludeManagementTools

Restart the server if Windows requests it:

Restart-Computer

Validate the Hyper-V role

After the restart, confirm that the Hyper-V management service is available:

Get-Service vmms, vmcompute |
Select-Object Name, Status, StartType

Check the Hyper-V host configuration:

Get-VMHost |
Select-Object ComputerName, LogicalProcessorCount, VirtualMachinePath, VirtualHardDiskPath

If the role is installed successfully, the MABS server can now operate as a nested Hyper-V host.

Understand the resulting architecture

After nested virtualization is enabled and Hyper-V is installed, the architecture looks like this:

Physical Hyper-V Host
│
├── MABS VM
│   │
│   └── Hyper-V Role
│       ├── Nested VM 1
│       ├── Nested VM 2
│       └── Nested VM 3
│
└── Other VMs

The Hyper-V role installed inside MABS is a nested Hyper-V environment. It does not automatically give MABS protection access to every VM running directly on the physical Hyper-V host.

Separate nested Hyper-V from MABS protection design

Installing Hyper-V inside the MABS VM and protecting workloads hosted on the parent Hyper-V server are separate configuration questions.

If the requirement is for MABS to protect VMs running directly on the physical Hyper-V host, verify the intended MABS protection architecture, host connectivity, storage access and Microsoft-supported configuration for the environment.

If the requirement is to create and protect VMs inside the MABS VM, the nested Hyper-V configuration provides the virtualization layer for those workloads.

Troubleshooting checklist

  • Confirm the MABS server is a Hyper-V VM.
  • Confirm the physical Hyper-V host supports nested virtualization.
  • Check ExposeVirtualizationExtensions on the MABS VM.
  • Power off the MABS VM before changing the processor setting.
  • Enable nested virtualization with Set-VMProcessor.
  • Start the MABS VM and verify CPU virtualization capabilities from inside Windows.
  • Install the Hyper-V role.
  • Restart when required.
  • Verify the Hyper-V Virtual Machine Management service.
  • Confirm the resulting architecture matches the intended MABS deployment.

Frequently Asked Questions

Why does Hyper-V installation fail inside a virtual machine?

The guest operating system needs access to processor virtualization capabilities. On a Hyper-V VM, these capabilities are exposed by enabling nested virtualization on the parent Hyper-V host.

How do I enable nested virtualization for the MABS VM?

Shut down the MABS VM on the physical Hyper-V host, run Set-VMProcessor -VMName "MABS-VM-NAME" -ExposeVirtualizationExtensions $true, verify the setting, and start the VM again.

How do I verify virtualization from inside the MABS server?

Use systeminfo.exe and Get-CimInstance Win32_Processor to inspect the virtualization capabilities visible to the guest.

Does installing Hyper-V inside MABS automatically protect the parent Hyper-V VMs?

No. Installing the Hyper-V role inside the MABS VM creates a nested Hyper-V environment. MABS protection of workloads on the parent Hyper-V host is a separate configuration and should be planned according to the intended backup architecture.

TECHRUNBOOK DEEP-DIVE

Why nested virtualization changes the troubleshooting path

When Hyper-V is installed directly on a physical Windows Server, the operating system can use the processor virtualization extensions exposed by the physical firmware and CPU. When Windows Server itself is running inside a Hyper-V VM, the guest needs those capabilities to be exposed by the parent hypervisor.

For this reason, an error about missing processor virtualization capabilities should first be investigated at the parent Hyper-V VM processor configuration rather than by repeatedly running the Windows feature installation command.

Use PowerShell to verify the complete chain

A useful troubleshooting sequence is to check the VM processor configuration on the parent host, then check processor capabilities from inside the guest, and finally validate the Hyper-V services after installation.

# Parent Hyper-V host
Get-VMProcessor -VMName "MABS-VM-NAME" |
Select-Object VMName, ExposeVirtualizationExtensions

# MABS VM
Get-CimInstance Win32_Processor |
Select-Object Name,
VMMonitorModeExtensions,
VirtualizationFirmwareEnabled,
SecondLevelAddressTranslationExtensions

# MABS VM after Hyper-V installation
Get-Service vmms, vmcompute |
Select-Object Name, Status, StartType

Document the change

For production environments, record the MABS VM name, parent Hyper-V host, nested virtualization setting, change time, administrator, restart requirement and post-change validation results. This makes future troubleshooting easier and provides a clear record of why the MABS VM is configured as a nested Hyper-V host.

Validate before putting nested workloads into production

Before creating production workloads inside the nested Hyper-V layer, validate CPU, memory, storage and network behavior for the intended workload. Also confirm that the resulting MABS and Hyper-V design aligns with your organization's support and backup requirements.

Related TechRunbook resources

Was this runbook helpful?