I am trying to install "Microsoft Emulator - Windows 10 for Mobile" emulator on a Windows Server 2016 TP4 machine but the installation does not complete successfully. Looking at the log file from the installation, I see this stacktrace:
Calling custom action ManagedCustomActions!Microsoft.Xde.CustomAction.CustomActions.EnableHyperV
An Exception occured while getting Hyper-V State:\n"
Hyper-V feature status: Unknown
Dism.exe /online /Enable-Feature /FeatureName:Microsoft-Hyper-V /All /NoRestart exited with code = -2146498555
Hyper-V feature status: Failed to Enable
CustomAction EnableHyperVCA.844ACA3D_A010_4E95_A942_A25A60050973 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (F0:FC) [10:52:02:848]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (F0:FC) [10:52:02:848]: User policy value 'DisableRollback' is 0
I am on a “Windows Server 2016 TP4” machine and I have already installed Hyper-V for this machine through the Roles and Features Wizard. When I run the Dism.exe command (that failed in the logs) from a Powershell window, I get this message:
PS C:\WINDOWS\system32> DISM.exe /online /Enable-Feature /FeatureName:Microsoft-Hyper-V /All /NoRestar
Deployment Image Servicing and Management tool
Version: 10.0.10586.11
Image Version: 10.0.10586.11
Error: 0x800f0805
The specified package is not valid Windows package.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
I have already enabled “Virtualization Technology” from my BIOS. Please let me know what I might be missing. Thanks!