I am trying to enable HyperV for virtualization in Android Studio with ryzen. When I activate it from windows features, it gives me the error 0x80073701 , and when I try to use Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
it in the powershell, it throws me
Enable-WindowsOptionalFeature : The referenced assembly could not be found.
At line:1 char:1
+ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand
I also tried with DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
, but it gives me an error 14081 . I certainly don't understand the reason for this, since I tried it a while ago and it worked. And what I have been able to find in google has not worked for me. any help is welcome
Apparently this is a problem that occurs randomly on different Windows 10 devices.
This can be caused by corrupted or missing files on the system which does not allow certain features to run. As discussed here in this Microsoft forum .
Having tried the following commands without any positive results
The most promising solutions are the following:
either
In this link you can see a tutorial on how to repair Windows 10