Get in BIOS menu of your computer after the restart. Opening BIOS setup varies from manufacturer to manufacturers. (Here is how to open your BIOS setup menu in windows 10) Now open Security menu and go to system security submenu. Select Virtualization Technology and enable it. Select Save & Exit. Restart again normally.
I really like the Hyper-V support in Windows 8, however, there are some situations in which I need to disable Hyper-V in order to run some apps which don't like to be executed even in the root partition of the virtualized environment.
What I've been currently doing is disabling the feature completely from the 'Add or remove windows features' dialog and restarting, enabling it again when needed.
I would like to know if there's any better way to do this that comes to mind, it could even be a shortcut that i could double-click and will actually add or remove the feature for me and restart (I guess this may be possible with a PowerShell script).
Disclaimer: I haven't done this for removing a feature, AND as a final caveat there's probably going to be a slew of Windows Update updates to install every time you enable it again.
Having said that, from an elevated command prompt:
and
Here's what running the enable command looks like on my PC, which already has Hyper-V enabled and running:
>dism /Online /enable-feature:Microsoft-Hyper-V /All
Deployment Image Servicing and Management tool Version: 6.2.9200.16384
Image Version: 6.2.9200.16384
Enabling feature(s) [100.0%] The operation completed successfully.
When enabling the feature since it's Hyper-V it might ask you to reboot and run the command again. That seems vaguely familiar. You could wind up having to reboot twice, in other words. But maybe it won't do it to you since that machine already had Hyper-V enabled before.
Mark AllenMark AllenThis is an old answer but for the sake of completeness and because I knew there was a better way than the top result.
From an elevated command prompt:
to disable hypervisor, and:
to reenable it (default value).
Of course it still requires restart.
Ƭᴇcʜιᴇ007Powershell is also possible, using DISM wrapped as PS cmdlets, and one can read the settings first before doing the change.
Refs
You can use Hyper-V Switch that basically employs the bcdedit method already described here but puts a simple one-click GUI over it. It shows you the current configuration state and lets you enable or disable Hyper-V and reboots the computer, too. I’ve made this little tool and it works on my Windows 10 computer.
ygoeygoeI made a PowerShell script to help enable/disable Hyper-V. This checks the state so you don't reboot if you are already in the desired state:
Then create two shortcuts on your desktop 'Hyper-V Off' Target:
One sign of a sewn together revealing composition is the inclusion of objects that seem to have different light sources. Remember how light interacts with your artwork. Choose a color scheme matching so your photos look smooth and professional. Free driver license psd.
and 'Hyper-V On' Target: