The Computer Oracle

How to find out whether Hyper-V is currently enabled/running

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle2

--

Chapters
00:00 How To Find Out Whether Hyper-V Is Currently Enabled/Running
00:29 Answer 1 Score 46
00:55 Accepted Answer Score 41
02:16 Answer 3 Score 15
02:27 Answer 4 Score 4
02:52 Answer 5 Score 0
03:07 Thank you

--

Full question
https://superuser.com/questions/1026651/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows81 #hyperv

#avk47



ANSWER 1

Score 46


Run Powershell as Administrator.

PS C:\Windows\system32>

Run the command:

Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V

If it is enabled, you'll see the answer like this:

FeatureName      : Microsoft-Hyper-V
DisplayName      : Hyper-V Platform
Description      : Provides the services that you can use to create and manage virtual machines and their resources.
RestartRequired  : Possible
State            : Enabled
CustomProperties :

More info here and here.




ACCEPTED ANSWER

Score 41


You can check if the services are running:

Win+R -> services.msc Look in the list for all services beginning with Hyper-V. If any of them are Running, it's on. (Specifically, the core of it I believe is labelled Hyper-V Virtual Machine Management)

You can check the system log to see if any activity has occurred guide here:

  1. Open Event Viewer. Click Start, click Administrative Tools, and then click Event Viewer.

  2. Open the Hyper-V-Hypervisor event log. In the navigation pane, expand Applications and Services Logs, expand Microsoft, expand Hyper-V-Hypervisor, and then click Operational.

  3. If Windows hypervisor is running, no further action is needed. If Windows hypervisor is not running, perform the following steps.

  4. Open the System log. (In the navigation pane, expand Windows Logs and then select System.)

  5. Look for events from Hyper-V-Hypervisor for more information. For example, event ID 41 indicates a problem with the BIOS configuration: “Hyper-V launch failed; Either VMX not present or not enabled in BIOS.” (To filter for these events, from the Actions pane, click Filter Current Log, and then for Event sources, specify “Hyper-V-Hypervisor”.)




ANSWER 3

Score 15


Powershell : get-service | findstr vmcompute

Running vmcompute Hyper-V Host Compute Service




ANSWER 4

Score 4


In my case with the cmdlet

Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V

Hyper-V was enabled but hypervisorlaunchtype was off

So I checked the status of hypervisorlaunchtype with (look for hypervisorlaunchtype):

BCDEdit /enum

And I enabled hypervisorlaunchtype with the following command as administrator:

Bcdedit /set hypervisorlaunchtype auto



ANSWER 5

Score 0


In "windows start search" search for "windows features" and you will find Hyper-v check box.

Now you can not only check the current status, but you also can change it.