Unable to install hyper-V role on my remote desktop server

Francois Morin 1 Reputation point
2024-04-07T18:35:15.78+00:00

Hi,

I'm trying to add Hyper-V to our remote desktop server: we have another machine that is specifically an Hyper-V server, and one of the virtual machines is our phone system. I would like to have the Hyper-V role added to our remote desktop server used to manage our accounting software, so that if the hyper-V server was to crash, we can start the phone system machine on the RDP server through Hyper-V.

This is the message I'm getting, trying to add Hyper-V:

PS C:\Windows\system32> Install-WindowsFeature -Name Hyper-V -IncludeManagementTools

Install-WindowsFeature : The request to add or remove features on the specified server failed.

Installation of one or more roles, role services, or features failed.

The referenced assembly could not be found. Error: 0x80073701

At line:1 char:1

  • Install-WindowsFeature -Name Hyper-V -IncludeManagementTools
  • 
        + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
    
        Exception
    
        + FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWind
    
       owsFeatureCommand
    
    

Success Restart Needed Exit Code Feature Result


False No Failed {}

DISM function (/RestoreHealth) and SFC /scannow did not help.

Thanks,

Frank

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,379 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,546 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,251 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Karlie Weng 14,411 Reputation points Microsoft Vendor
    2024-04-09T08:31:54.65+00:00

    Hello,

    If you are not using a core-mode windows system, we could install it via server manager, so that we can know the process more clearly. If there's any error, we will know the process it occurred on.

    Ultimately, before proceeding, ensure you've checked your server's requirements as certain features might not be activated by default.

    https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/system-requirements-for-hyper-v-on-windows


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Francois Morin 1 Reputation point
    2024-04-09T12:37:48.04+00:00

    Hi - I have tried installing Hyper-V from server Manager. It fails unfortunately.

    I have verified requirements, here's the result:

    Hyper-V Requirements: VM Monitor Mode Extensions: Yes

                           Virtualization Enabled In Firmware: Yes
    
                           Second Level Address Translation: Yes
    
                           Data Execution Prevention Available: Yes
    

    Would you have a next step you'd like me to look at?

    Thank you for your help,

    Frank

    0 comments No comments