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
Gives: No component store corruption detected
. Same for sfc /scannow
From: https://social.technet.microsoft.com/Forums/windowsserver/en-US/70c203d9-68b1-4d55-9500-c82303fca1fb/solved-cannot-disable-hyperv-error-reverting-changes?forum=winserverhyperv
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://superuser.com/questions/1142717/unable-to-disable-hyper-v-in-windows-10
).
https://file.io/cAjE2d gives the dism.log
.
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
sfc /scannow
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V
Found on Spiceworks: https://community.spiceworks.com/topic/1959059-hyper-v-windows-10-removal?utm_source=copy_paste&utm_campaign=growth
And if that still fails I'll completely remove Baidu - but I hope you guys by then found something smarter for me to do : )
User contributions licensed under CC BY-SA 3.0