How to disable hyper v windows 10
How to disable hyper v windows 10
Virtualization applications don’t work together with Hyper-V, Device Guard, and Credential Guard
Many third-party virtualization applications don’t work together with Hyper-V. Affected applications include VMware Workstation and VirtualBox. These applications might not start virtual machines, or they may fall back to a slower, emulated mode.
These symptoms are introduced when the Hyper-V Hypervisor is running. Some security solutions are also dependent on the hypervisor, such as:
Determine whether the Hyper-V hypervisor is running
To determine whether the Hyper-V hypervisor is running, follow these steps:
In the search box, type msinfo32.exe.
Select System Information.
In the detail window, locate the following entry:
A hypervisor has been detected. Features required for Hyper-V will not be displayed.
Cause
This behavior occurs by design.
Many virtualization applications depend on hardware virtualization extensions that are available on most modern processors. It includes Intel VT-x and AMD-V. Only one software component can use this hardware at a time. The hardware cannot be shared between virtualization applications.
To use other virtualization software, you must disable Hyper-V Hypervisor, Device Guard, and Credential Guard. If you want to disable Hyper-V Hypervisor, follow the steps in next two sections.
How to disable Hyper-V
You can disable Hyper-V Hypervisor either in Control Panel or by using Windows PowerShell.
Disable Hyper-V in Control Panel
To disable Hyper-V in Control Panel, follow these steps:
In Control Panel, select Programs and Features.
Select Turn Windows features on or off.
Expand Hyper-V, expand Hyper-V Platform, and then clear the Hyper-V Hypervisor check box.
Disable Hyper-V in PowerShell
To disable Hyper-V by using Windows PowerShell, follow these steps:
Open an elevated PowerShell window.
Run the following command:
Disable Device Guard and Credential Guard
You can disable Device Guard and Credential Guard by using registry keys or group policy. To do it, see Manage Windows Defender Credential Guard.
More information
Third-party information disclaimer
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.
How to disable Hyper-V in command line?
I’m trying to open VMware, it says that VMware player and Hyper-V are not compatible. I found it here, but it’s not working using the command it offers.
Can anyone help with this?
11 Answers 11
Trending sort
Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.
It falls back to sorting by highest score if no posts are trending.
Switch to Trending sort
In an elevated Command Prompt write this :
You can have a Windows 10 configuration with and without Hyper-V as follows in an Admin prompt:
find the new id of the just created «Windows 10 no Hyper-V» bootentry, eg.
After rebooting you can choose between Windows 10 with and without Hyper-V at startup
This command works
Run it then agree to restart the computer when prompted.
I ran it in elevated permissions PowerShell on Windows 10, but it should also work on Win 8 or 7.
dism /online /disable-feature /featurename:microsoft-hyper-v-all
If anyone is getting:
We couldn’t complete the updates, Undoing changes
after trying to disable the Hyper-V, try uninstalling Hyper-V virtual network adapters from your Device Manager->Network Adapters
Open a command prompt as admin and run this command:
After a reboot, Hyper-V is still installed but the Hypervisor is no longer running. Now you can use VMware without any issues.
If you need Hyper-V again, open a command prompt as admin and run this command:
Open command prompt as admin and write :
This is not a direct answer to the OP’s question, but if you have tried all the commands and Hyper-V shows as disabled, BUT still unable to start a virtualisation software like VirtualBox or VMWare and just so it happened that you had enabled WSL2 on your machine
Following solution might will work for you.
Go to Control Panel > Programs & Features > Turn Windows Feature On/OFF
Here is the catch, All the three below should be disabled/unchecked.
The Ultimate Guide to Uninstalling or Disabling Hyper-V in Windows 10
Hyper-V is the first type hypervisor that can be installed on Windows to run virtual machines. Recently we have explained how to install Hyper-V on Windows 10 and Windows Server 2019. But what if you no longer need Hyper-V on your machine? Hyper-V also causes issues if you want to run other second-type hypervisor such as VMware Workstation or VirtualBox on the same Windows machine. This blog post explains how to uninstall Hyper-V in Windows by using the graphical user interface or the command line interface.
How to Uninstall Hyper-V in Control Panel of Windows 10
Using the Control Panel to uninstall Hyper-V is the most convenient method and is preferred by most Windows 10 users. As a result, the Hyper-V feature is uninstalled completely. Let me explain the workflow step by step.
Click Start, type Control Panel, and open Control Panel. There are two alternative methods to open Control Panel. Press the Win+X combination on your keyboard, and, in the menu that opens, click Control Panel. Press Win+R. In the Run field, type appwiz.cpl and press Enter.
Click Turn Windows features on or off in the Control Panel window.
In the Windows Features window that opens, deselect the Hyper-V checkbox. Make sure that checkboxes in Hyper-V subfolders are deselected. Hit OK to save settings and start the Hyper-V uninstallation process.
Hit Restart now to restart your computer to finish the process and uninstall Hyper-V.
How to Uninstall Hyper-V in the Command Prompt of Windows 10
You can uninstall Hyper-V in the command line interface (CLI). At the end of this workflow you get the same result as for the method explained in the previous section when using the graphical user interface (GUI). Check the Hyper-V installation status in the command line before you start to uninstall Hyper-V and after you uninstall Hyper-V to make sure that this hypervisor is removed from your Windows system.
Open the command line (CMD) as administrator. Open the Windows Start menu, type cmd, right click the cmd entry, and click Run as administrator.
Run systeminfo to check whether Hyper-V is installed.
If Hyper-V is not installed, you can see in the Hyper-V requirements section the names of technologies required to install Hyper-V and the status of their availability on the machine.
If Hyper-V is installed, you should see the following message in the Hyper-V Requirements line:
A hypervisor has been detected. Features required for Hyper-V will not be displayed.
As an alternative, you can run msinfo32.exe to check whether Hyper-V is uninstalled in the GUI. The needed information is located in the System Summary section in the bottom of the item list.
Now it is time to uninstall Hyper-V in Windows 10 by using the command line. You should open PowerShell with administrative privileges (type PowerShell in the Start menu, right click PowerShell and click Run as administrator just as you do to run CMD). Run the following command to remove the Hyper-V feature from Windows 10:
Do you want to restart the computer to complete this operation now?
Type Y and hit Enter.
Restart is required after executing this command. You can type N (No) and restart Windows manually.
Removing Hyper-V with DISM
DISM (Deployment Image Servicing and Management) is a tool for working with Windows images (.wim files) and install/uninstall Windows drivers, features, and packages.
Open PowerShell with administrative privileges, and run this command to disable Hyper-V:
DISM /Online /Disable-Feature:Microsoft-Hyper-V
You may need to disable Secure Boot in UEFI/BIOS settings of a computer to finish the uninstallation process and uninstall Hyper-V. The sequence to disable Secure Boot depends on your hardware vendor and differs for different motherboard vendors and models.
How to Disable Hyper-V in BCDEDIT
You can change Hyper-V startup options when Windows boots without uninstalling Hyper-V completely. In this case, Hyper-V is installed but inactivated. Hyper-V is not booted before Windows boots if you disable Hyper-V by using the command line bcdedit tool. Bcdedit is the command line tool to manage Boot Configuration Data or BCD. BCD store is used to describe boot parameters for applications, add boot menu entries, etc. If you use BCD to disable Hyper-V, the Hyper-V feature is disabled but not uninstalled completely from Windows. As you remember, Hyper-V is the first-type hypervisor that boots before Windows boots. The idea of using this method is to disable Hyper-V in boot configuration.
Run the command prompt (CMD) as administrator and run the following command to disable Hyper-V by using bcdedit:
bcdedit /set hypervisorlaunchtype off
Note: If you need to enable Hyper-V again, run bcdedit /set hypervisorlaunchtype on
For more convenience, you can create two boot entries for your Windows machine. One boot entry is used to boot an operating system with Hyper-V, and another one is used to boot an OS without Hyper-V.
Run the following command to copy the default boot configuration to the new entry. “Hyper-V disable” is the name of the new boot entry in my case.
bcdedit /copy
The following output message is displayed:
«The entry was successfully copied to
Run the command to edit Hyper-V boot options for the new boot entry you have created. Copy the value in brackets <> from the above output message and paste to this command:
bcdedit /set
You should see the message: The operation completed successfully.
Edit the name of the default boot entry with Hyper-V to “Windows 10 Hyper-V” for more convenience:
bcdedit /set
Restart your computer.
Now you have two boot menu entries. Select “Hyper-V disable” to boot Windows without Hyper-V or select “Windows 10 Hyper-V” to boot Windows with Hyper-V.
How to Uninstall Hyper-V on Windows Server 2016
The process of removing Hyper-V in Windows Server 2016 is slightly different compared to Windows 10. In this section, I explain how to uninstall Hyper-V in Windows Server 2016. If you use Windows Server 2019, the workflow to uninstall Hyper-V on Windows Server 2019 is identical.
Using the GUI
If your Windows Server is installed with the graphic experience and has a graphical user interface (GUI), then the easiest way to uninstall Hyper-V is using Server Manager and the Remove Roles and Features wizard.
Open Server Manager (Start > Server Manager). Click Manage > Remove Roles and Features.
The Remove Roles and Features wizard opens.
Before You Begin. There is nothing to configure at this step, but you can select the Skip this page by default to avoid displaying this page in the future. Click Next to continue.
Server Selection. Select a server from the server pool and select your server in the list. The server name is Hyper-V-Repl.test.net in my case. Hit Next at each step of the wizard to continue.
Server Roles. Deselect the Hyper-V checkbox in the list of roles to uninstall Hyper-V.
The popup window opens. Check the features that you are about to remove. Select Remove management tools (if applicable) to remove Hyper-V Manager Windows tools. Click Remove Features.
Features. There is no need to remove custom features when you uninstall Hyper-V. Leave features configuration as is.
Confirmation. Check all items that are going to be removed. Select the checkbox if you want your server to restart automatically when the Hyper-V role is removed. Otherwise, you need to restart Windows manually for changes to take effect and finish Hyper-V uninstallation. Click Remove to finish and uninstall Hyper-V.
Using PowerShell
The PowerShell command to uninstall Hyper-V in Windows Server 2016 and 2019 is not the same as in Windows 10.
Open PowerShell as administrator.
Run the following command to uninstall Hyper-V on Windows Server 2016:
Restart the server to finish the removal process.
Issues that Can Occur
Sometimes issues may occur when you try to uninstall Hyper-V in Windows 10 and Windows Server 2016 or 2019. Let me explain some common issues and offer recommendations to help fix these issues.
Case 1
If you see a message that Windows cannot uninstall Hyper-V components, try to check system files and their storage. Different error codes are displayed, for example, 0x800F0831, 0x80073701, etc. Use command line tools to fix this issue. Open the command line (CMD) with administrative privileges and run the following commands.
Dism /Online /Cleanup-Image /RestoreHealth
Dism.exe /online /Cleanup-Image /StartComponentCleanup
sfc /scannow
After executing these commands, logs are written to CBS.log and dism.log. Logs are useful for troubleshooting.
Case 2
Hyper-V is not uninstalled because a virtual network adapter or a virtual switch created by Hyper-V is present in a host Windows system. Remove virtual Hyper-V network adapters, and try to uninstall Hyper-V again. Here are some posts about Hyper-V network adapters and virtual switches from our blog.
Case 3
Conclusion
This blog post has explained how to uninstall Hyper-V in Windows 10 and Windows Server 2016. “How to uninstall Hyper-V in Windows?” is a popular question among users. Hyper-V can be uninstalled with a graphical user interface or a command line interface in Windows 10 and Windows Server 2016/2019. The workflow is different for Windows 10 and Windows Server operating systems. If you have uninstalled Hyper-V, you can use another hypervisor to run virtual machines. Read the blog post about Hyper-V vs VMware and Hyper-V vs VirtualBox comparison to make the right choice.
Remember to back up your virtual machines to protect your data. NAKIVO Backup & Replication is a product that supports backup of VMware VMs and Hyper-V VMs. Download the Free Edition of NAKIVO Backup & Replication from the official website and try the product to protect your virtual machines.
How to Install or Disable Hyper-V in Windows 10
Save to My DOJO
Table of contents
In this article, I will write about a familiar-sounding tool I regularly use to prepare custom images for Azure amongst other tasks – Hyper-V Windows 10. Windows 10 comes with the Windows Client Version of Hyper-V with it built-in so there is no need to download anything extra! It is the same Hyper-V you use within WindowsServer but with Windows 10 Hyper-V limitations, such as clustering features. We will look at how to enable Hyper-V Windows 10 and configure Hyper-V for Windows 10.
Operating System Prerequisites
First, let us check the prerequisites to install Hyper-V on Windows 10 One of the first considerations is the System Prerequisites, including licensing and supported editions of Windows 10.
Windows 10 Licensing
Not every license of Windows 10 has Hyper-V enabled. Only the following versions are eligible for Windows 10 Hyper-V.
You can find your installed Windows Version when using PowerShell with the following command.
The screenshot below shows the PowerShell output when determining if you can enable Windows 10 Hyper-V.
While Hyper-V is “free” in Pro, Enterprise, and Education editions, it means that a user who might otherwise be able to purchase Windows 10 Home would need to buy up on the Windows 10 edition to enable the Hyper-V Role. For home users who want to enable Hyper-V Windows 10, this requirement will need considering.
Let us follow up with the hardware prerequisites to install Hyper-V on Windows 10,
Hardware prerequisites
There are two parts to be considered. First the hardware configuration and second the BIOS and UEFI setup.
Hardware configuration
The screenshot shows my system as an example.
BIOS / UEFI Configuration
You need to enable two Options in your system BIOS / UEFI.
You can find these options in the CPU Settings of your system. See the screenshot below as an example.
How to check the hardware compatibility
To verify hardware compatibility in Windows, open the PowerShell and type systeminfo.
If all listed requirements in the output are showing “yes”, your system is compatible with Hyper-V.
How to install Hyper-V in Windows 10
When all hardware and license requirements are met, you can start the installation of Hyper-V in your Windows.
The easiest way is to search for Hyper-V in the Start Menu. It will then point to “Turn On or Off Windows Feature” Window in the Control Panel
Within the context menu, you enable the Hyper-V feature together with the Platform and Management Tools.
Afterwards, your system will require a reboot.
After the reboot, you should be able to open the Hyper-V Manager on your system and start to configure Hyper-V.
How to install Hyper-V on Windows 10 using PowerShell and other CMD utilities
Aside from the GUI method of installing the Hyper-V feature in Windows 10, you can also use PowerShell to enable the optional feature. This provides advantages for the purposes of automation, build processes, and generally seamless ability to enable Hyper-V Windows 10 or disable Hyper-V Windows 10.
To use Powershell to enable Hyper-V Windows 10, you use the following cmdlet:
In addition to using PowerShell, you can also use the CMD terminal and DISM to install Hyper-V on Windows 10 using the following command:
Verifying the Hyper-V optional feature was enabled successfully
After you enable Hyper-V Windows 10 optional feature and reboot your system, you can easily verify the process to install Hyper-V on Windows 10 was successful. After installation, you should see the Hyper-V Manager listed.
You can also use PowerShell to verify Hyper-V has been installed. To verify the Hyper-V optional feature is installed, use the following cmdlet:
After launching the Hyper-V Manager, you will see the familiar management interface to manage your Hyper-V installation. Hyper-V Manager provides the GUI management tool used to configure and administer your local Hyper-V machines. If you are wondering how to install Windows 10 on a Hyper-V virtual machine, you can do this using the Hyper-V Manager once the Hyper-V role is enabled. You can also perform many different actions, including:
That’s all you need to do in order to install Hyper-V on your Windows 10 system and start to install Windows 10 on Hyper-V virtual machine
How to disable Hyper-V in Windows
Disabling Hyper-V is again pretty simple. You go the back to the “Turn Windows Features on or off” section in the control panel.
Remove the checkmark from the Hyper-V checkbox. This essentially performs a Hyper-V disable task on your Windows 10 host.
Reboot your Windows System and you are done.
How to disable Hyper-V in Windows 10 using command prompt
Again, as mentioned above for installing Hyper-V in Windows 10, you can also disable Hyper-V Windows 10 by using either PowerShell or the CMD terminal and the DISM command once again.
To disable Hyper-V PowerShell, run the following cmdlet:
To disable Hyper-V Windows 10 command line, we can use the DISM tool to do that. Use the following command to disable Hyper-V Windows 10 using DISM:
After performing the Hyper-V disable on your Windows 10 host, you will need to reboot for the changes to take effect.
To properly protect your Hyper-V virtual machines, use Altaro VM Backup to securely backup and replicate your virtual machines. We work hard perpetually to give our customers confidence in their Hyper-V backup strategy.
To keep up to date with the latest Hyper-V best practices, become a member of the Altaro DOJO | Hyper-V now (it’s free).
Closing notes
Hyper-V in Windows 10 can be a pretty good tool for some certain administrative or daily task e.g.:
I hope the blogpost will help some of you to become familiar with Hyper-V Windows 10 and the management tools. If there is anything you wish to ask regarding Hyper-V Windows 10, let me know in the comments below and I’ll get back to you!
How to Disable or Turn off Hyper-V in Windows 10 – Four Options
Since Windows 8, we can create a virtual machine with Hyper-V. As a newly publish function, it has some unignorable shortcomings while compares to VirtualBox and VMware. Such as Hyper-V needs to configure virtual switch manager to connect to the network and it cannot connect to USB flash disk directly. That’s why most people tend to utilize VMware or VirtualBox instead. Besides, Hyper-V conflicts with VMware and VirtualBox. So, let’s go ahead and get started on how to disable or turn off Hyper-V in Windows 10.
Option 1: Disable Hyper-V Windows 10 by Control Panel
Step 1: Type Turn Windows features on or off in the Windows search bar and hit Enter to open it. Or you can navigate to Control Panel > Program > Turn Windows features on or off.
Step 2: Uncheck the box of Hyper-V and click OK. Restart your computer to disable Hyper-V completely.
Option 2: Turn off Hyper-V Windows 10 via Computer Management
Step 1: Right-click on This PC icon then select Manage.
Step 2: In the Computer Management window, expand Services and Applications > Services and double Hyper-V Virtual Management.
Step 3: Tap on Stop button to turn off Hyper-V in Windows 10.
Option 3: Disable Hyper-V Windows 10 by Command Prompt
Step 1: Type cmd in the search bar and Run Command Prompt as administrator.
Step 2: Execute the “bcdedit /set hypervisorlaunchtype off” to disable Hyper-V in Windows 10. Restart to take effect.
Note: To enable Hyper-V in Command Prompt, you can run “bcdedit /set hypervisorlaunchtype auto” instead.
Option 4: Disable Hyper-V Windows 10 PowerShell
Step 1: Right-click on the Start icon and select Windows PowerShell (admin).
Step 2: Copy the command line below and run it.
Step 3: Reboot Windows 10 to make changes effect.
13 people found this article useful This article was helpful
Источники информации:
- http://stackoverflow.com/questions/30496116/how-to-disable-hyper-v-in-command-line
- http://www.nakivo.com/blog/uninstalling-or-disabling-hyper-v-in-windows-10/
- http://www.altaro.com/hyper-v/install-disable-hyper-v-windows-10/
- http://www.isunshare.com/blog/how-to-disable-or-turn-off-hyper-v-in-windows-10-four-options/