Windows 2016. I want to remove Hyper-V but fail to do so. With the GUI:
The request to add or remove features on the specified server failed. Removal of one or more roles, role services, or features failed. The referenced assembly could not be found. Error: 0x80073701
With the command prompt (DISM) and Powershell, I'm able to remove some parts of Hyper-V, but I strand when I try to remove Hyper-V-Offline & Hyper-V-Online roles, let alone all of Hyper-V...
C:\Users\Administrator> dism /online /cleanup-image /scanhealth
No component store corruption detected. Same for
I disabled the volume containing the clients (but that didn't solve the problem either. By now I have re-enabled the volume). No network devices for Hyper-V are shown in device manager. "Completely remove Hyper-V Virtual Machines" by Zeng Yinghua - tool did not work (cmdlet not found). Disabling the AV (Baidu) did not work.
But still disabling (parts of) Hyper-V fails (for example,
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-Offline or
Disable-WindowsOptionalFeature). It hangs for quite a while on 8.3% progress before it continues quickly and finish with an error.
This article doesn't seem to offer me any new insights either (
https://file.io/cAjE2d gives the
I'll do this advice once more but I'm pretty sure by now I need some real experts :)
Dism /Online /Cleanup-Image /RestoreHealth
Dism.exe /online /Cleanup-Image /StartComponentCleanup
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V
And if that still fails I'll completely remove Baidu - but I hope you guys by then found something smarter for me to do : )