Unable to disable Hyper-V in Windows 10

24

7

Hi I installed Docker for Windows which enabled Hyper-V on my windows 10 machine. Unfortunately this caused Virtual Box to not work anymore, therefore I removed Docker again, but Hyper-V is still activated.

If I try to disable Hyper-V with any of those ways: http://www.poweronplatforms.com/enable-disable-hyper-v-windows-10-8/ on the reboot it will first try to apply the changes and than say that the changes couldn't be applied and reverts, so Hyper-V is activated again.

Has anybody an idea what could be the issue here?

Jakob Abfalter

Posted 2016-11-05T13:24:16.510

Reputation: 403

No error with any of the methods? Did you check your Eventlog for hints what the error could be? What error(s) did you get from Virtual Box? – Seth – 2016-11-05T14:02:22.770

Virtual Box gives me a bluescreen whenever I try to boot a vm. Will try to find some error logs – Jakob Abfalter – 2016-11-05T15:39:43.040

copy the folder C:\windows\logs\cbs to the desktop, zip the folder and share the zip (onedrive). I'll try to help you – magicandre1981 – 2016-11-05T16:57:22.023

@magicandre1981 from the VM or his host? – Seth – 2016-11-05T20:40:24.863

from the system where you try to remove Hyper-V and get the "reverting changes" message after reboot – magicandre1981 – 2016-11-06T06:37:04.100

@magicandre1981 https://www.dropbox.com/s/xy906argjlqj8hh/CBS.zip?dl=0 here you go

– Jakob Abfalter – 2016-11-06T16:47:16.390

"00000193 (F) Failed execution of queue item Installer: Network Drivers ". I also need the files C:\Windows\Inf\setupapi.dev.log and C:\Windows\winsxs\poqexec.log – magicandre1981 – 2016-11-06T17:30:26.607

https://www.dropbox.com/s/36awvgmr6f1dpmz/win_logs.zip?dl=0 – Jakob Abfalter – 2016-11-06T17:43:24.483

I see errors related to the virtualbox driver file VBoxNetAdp6.inf Remove Virtualbox also completely (make sure no drivers are left after uninstall VB) before trying to remove Hyper-V – magicandre1981 – 2016-11-07T05:41:06.090

Removed Vbox + drivers + registry entries. Sadly had no effect. Still thanks for trying to help – Jakob Abfalter – 2016-11-07T16:50:10.983

@Jakob Abfalter - Thanks for posting this question. I was debating on whether to install this on my machine, your experience has made my decision crystal clear. – dcp – 2017-09-18T21:25:59.923

Answers

23

For others who have the same problem, but cant find a solution yet:

Probably you have some leftover internet adapters on your machine. (sometimes, they are disabled and not visible in the Hyper-V manager)

Go to your Network Center and see if you still have network adapters from the 'Hyper-V' kind. (you cant remove/delete them on right click)

To still get them off your system, go to: Properties > Configure > Driver Software (tab)

From there, choose 'Remove device'. Wait a little, and press F5 (refresh). Repeat this process until all network adapters of Hyper-V are gone.

Now try and uninstall Hyper-V again and see it work. (reason previous uninstall failure: unable to cleanly uninstall hyper-v, due uncontrolled dependencies)

Raymond Fraikin

Posted 2016-11-05T13:24:16.510

Reputation: 231

Minor point: Under Windows 10, it's not 'Remove device' but 'Uninstall Device'. Same effect, though, and everything else works as printed on the box. – Dan – 2019-03-26T16:19:48.250

4

Remove all Hyper-V virtual network adapters/switches before disabling Hyper-V from optional features.

To remove virtual switches you setup use the appropriate dialog:

How to remove switches

Norman Zhi

Posted 2016-11-05T13:24:16.510

Reputation: 41

Could you expand on it a bit? If you include some more information and how you came up with that solution it would certainly improve this answer. – Seth – 2017-01-25T06:54:19.913

@Seth I don't know if this answer is correct or not, but here is how you should remove switches: You need to open Hyper-V Manager and then do this: https://i.stack.imgur.com/N4cHJ.png.

– None – 2017-01-25T07:08:30.970

You uploaded that picture and made an edit. Why not just include the picture in the post? – Seth – 2017-01-25T08:37:28.453

So I am to believe that the reason the author was unable to remove Hyper-V is because they had a virtual Hyper-V network adapator installed? How did you conclude the author even has a virtual switch configured? – Ramhound – 2017-01-25T15:48:39.183

I'm saying that might be the solution, because in my case this turns out to be the problem. I actually had the virtual switches screwed up across insider preview updates, unable to find them in virtual switch configuration, so I had to uninstall them in device manager. – Norman Zhi – 2017-01-26T10:43:54.630

I had the same problem because I disabled the network interface in the network and sharing center (the adapter was renamed as broken) – Elias Platek – 2017-11-28T11:27:08.400

1

Check if you have inadvertently disabled a Hyper-V virtual switch in Control Panel\Network and Internet\Network Connections. If so, try removing it from device manager then disable Hyper-V.

Brandon Mitchell

Posted 2016-11-05T13:24:16.510

Reputation: 111

Thanks for the answer. I have already solved this problem by freshly installing Windows – Jakob Abfalter – 2017-03-16T09:19:41.773

0

I had a similar issue where I could not install Intel(r) HAXM (Hardware Accelerated Execution Manager). I opened PowerShell in Administrator mode and ran this command: Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

for more info http://www.poweronplatforms.com/enable-disable-hyper-v-windows-10-8/

Mxaza

Posted 2016-11-05T13:24:16.510

Reputation: 1