Javascript required
Skip to content Skip to sidebar Skip to footer

How to Disable Hyper V in Windows 10

  1. Home
  2. Windows
  3. Windows 10

Good morning all,

I was just wondering, has anyone had any trouble uninstalling Hyper-V on Windows 10? I cannot seem to get rid of the darn thing for the life of me.

The error that popped up was, " The changes couldn't be completed. Please reboot your computer and try again. Error Code: 0x800F0831".

In looking up that error code, I got a hit on TechNet that says .Net 3.5 needs installed... I have it installed already.

I looked in general at hyper-v uninstall errors... tried the bcedit option in the elevated command prompt, as well as the powershell scripts, DISM, etc. I removed my PC from the domain, made sure firewall was good, etc. Still nothing.

Anyone have any ideas? I want to run VirtualBox instead, to the point that I might go nuclear on this W10 install before I use Hyper-V.

Thanks!


Logy

I HAVE SLAIN THE BEAST!

I was able to get it by the following commands...

First, in my last post, I did (with cmd Run as Administrator)

Dism /Online /Cleanup-Image /RestoreHealth

Then, I found another command,

Dism.exe /online /Cleanup-Image /StartComponentCleanup

I then ran

sfc /scannow

and then finally, I ran

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

in PowerShell (running as admin).

I am not sure if I had followed that order with Visual Studio still installed, that I would have got it. Nonetheless, I have the ability to run 64bit VM's in VirtualBox because Hyper-V is disabled. I think that there was just enough wrong with my Windows install that it needed these commands, after I ran sfc it said it had found some errors and corrected them. I believe the order isn't perfect either, but this is what worked for me. Thanks to all for your help.

Popular Topics in Windows 10

The help desk software for IT. Free.

Track users' IT needs, easily, and with only the features you need.

17 Replies

MI50

Have your tied this:

Press Windows key + X

Click Programs and Features

Click Turn Windows features on or off

Expand Hyper-V

Uncheck it.

Also try option 2 in this article with powershell

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

NoITForYou
NoITForYou This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Jan 24, 2017 at 17:06 UTC

Anything else in Event Viewer? Perhaps uninstall and reinstall .Net?

Logy

MI32 wrote:

Have your tied this:

Press Windows key + X

Click Programs and Features

Click Turn Windows features on or off

Expand Hyper-V

Uncheck it.

Also try option 2 in this article with powershell

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

First thing I tried, and I mentioned that I did try the Powershell commands they recommend. Not looking for someone to Google it for me for the first time, already have myself...
Logy

Mike4003 wrote:

Anything else in Event Viewer? Perhaps uninstall and reinstall .Net?

Nothing that I saw. I'll give that a whirl... Not real hopeful though since I can't *technically* reinstall .Net 3.5.
essjae
essjae This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Jan 24, 2017 at 17:36 UTC

Are you running anything like Visual Studio with the emulators that use Hyper-V?  I think the Android emulator installs Hyper-V along with a couple other things.  IIRC, that caused some weird stuff when trying to uninstall.

After you used bcedit to disable hyper-v did you try installing Vbox? Was it still saying Hyper-V was running?

Logy

smjain wrote:

Are you running anything like Visual Studio with the emulators that use Hyper-V?  I think the Android emulator installs Hyper-V along with a couple other things.  IIRC, that caused some weird stuff when trying to uninstall.

After you used bcedit to disable hyper-v did you try installing Vbox? Was it still saying Hyper-V was running?

Good call, I am running Visual Studio. VirtualBox doesn't necessarily complain that Hyper-V is there, you just can't get 64-bit VM's with Hyper-V enabled. The way I understood it was, Hyper-V basically gets in the way of VirtualBox being able to access VT-x within your BIOS, so that you can't run your VM's in 64bit.
Logy

Okay, because this problem is such a devil to fix, I'm going to try and document as much as I possibly can.

The uninstall and reinstall of .Net did not seem to invoke any sort of changes, and neither did uninstalling Visual Studio. What's odd is, I did run the

Dism /Online /Cleanup-Image /RestoreHealth

command and now have a different error code on the dialog when I attempt to disable that feature. The error code now is 0x80073701.

I am wondering if DISM had an issue with that RestoreHealth command, because after I tried to remove Hyper-V and I received that error, I went ahead and restarted. Nothing different yet.

Logy

I HAVE SLAIN THE BEAST!

I was able to get it by the following commands...

First, in my last post, I did (with cmd Run as Administrator)

Dism /Online /Cleanup-Image /RestoreHealth

Then, I found another command,

Dism.exe /online /Cleanup-Image /StartComponentCleanup

I then ran

sfc /scannow

and then finally, I ran

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

in PowerShell (running as admin).

I am not sure if I had followed that order with Visual Studio still installed, that I would have got it. Nonetheless, I have the ability to run 64bit VM's in VirtualBox because Hyper-V is disabled. I think that there was just enough wrong with my Windows install that it needed these commands, after I ran sfc it said it had found some errors and corrected them. I believe the order isn't perfect either, but this is what worked for me. Thanks to all for your help.

mkenney99

Bummer, I tried those steps (and they took forever!), but no luck on removing Hyper-V. Upon reboot, Windows 10 says the changes cannot be completed, and it's back on yet again.

dancrane
dancrane This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Sep 13, 2017 at 16:38 UTC

Might be able to quick and dirty fix it by running bcdedit /set hypervisorlaunchtype off

kevinburton

The problem is that there is something wrong with my Hyper-V installation. I would like to remove it and then add it back in to resolve the issue. This just masks the problem. The "best" solution doesn't seem to work for me either. Thanks for the suggestion.

spicehead-9byjo

You sir are a fucking god and I created an account just to tell you that you saved me from doing a fresh install of windows and are amazing..

DHogan67

Ef Yeah! This little tidbit saved me from having to re-install VMware workstation again. Doing the happy dance! :-D

spicehead-l0ewf

I tried run these commands, and they are really taking time, what is the average time to run these commands, or is my system faulty that it runs them for too long?

UBloMe69

After none of this worked for me I went through Turn Windows Features on/off looking for anything that could help, Hyper V was already un-selected and all of the above commands did not work.  What I found was "Virtual Machine Platform". That box was checked and enabled. I unchecked it, rebooted and to my delight was able to get VMware running.

Sirdpol

Alright. I have been in these shoes before. Infact, the size was bigger! I had up to 3 Hyper V OSs displaying at startup... Lol.

Here is what I did:
1. Run Windows Powershell or cmd as an Admin.
2. In the terminal window (...system32\), type "bcdedit" (without the quotes)

3. From 2, a list of jargons (Boot options) would be displayed, your Current OS should be displayed there as well.

- Look for a boot option with unnecessarily complex Identifier: i.e 436a323-34eade43-blah blah blah... That should be the Hyper V boot path.
4. Copy the identifier from 3.
Warning: Be sure it is not the identifier of the Normal windows OS... So, you would not smudge off the wrong thing and bootloop your pc. You should be able to distinguish Hyper V Boot from Normal OS from each boot Description. The one with your installed OS should have the name of the Windows version. In my case, it was:
Description: Windows 10.

So, dont tamper with that.

5. Run"bcdedit /delete "{Identifier copied from 4} /f"
Without the quotes. Press enter.
If it brings "blah blah blah successfully", you have successfully removed the Boot up prompting to choose between Normal Windows and Hyper V Os...

I hope this helps.

spicehead-o9a0k
I also found that  "Virtual Machine Platform" was checked in Windows Features. I was then able to install Intel HAXM as it was the main goal in pursuing the solution that worked the OP, Logy. Hard to say if his list of Powershell commands did anything, but Virtual Machine Platform was the last thing I checked before my problems went away.
Thanks to...  UBloMe69... (nice name) for pointing me in the right direction. Hopefully this helps other people facing the same issue.

I had previously had both Virtual Box and Docker installed and working so I don't know if that had any effect on my configuration.

How to Disable Hyper V in Windows 10

Source: https://community.spiceworks.com/topic/1959059-hyper-v-windows-10-removal