question

Ian12-3798 avatar image
0 Votes"
Ian12-3798 asked ElevenYu-MSFT commented

Hyper-V randomly turning off

Every maybe 3 days, I will find my vm turned off. Only I have access to the server it sits on so thats not the issue.
I cant find anything in the event logs of the vm to suggest it was an error of some kind. I've even gone onto hyper-v manager to set it to auto start (which it isnt doing).

Its a windows 2016 essentials server vm thats sat on a windows 2016 essentials server.

The only thing running on the vm is IIS. So why would it randomly turn off?

windows-server-hyper-vwindows-server-essentials
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

I am following up to see if there is any progress.

Please let us know if you have any further question. Thanks.

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered DSPatrick commented

Might check here in case of licensing issues.
Microsoft\Windows\Server Infrastructure Licensing\Operational

--please don't forget to upvote and Accept as answer if the reply is helpful--


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Just checking if there's any progress or updates?

--please don't forget to upvote and Accept as answer if the reply is helpful--






0 Votes 0 ·
ElevenYu-MSFT avatar image
0 Votes"
ElevenYu-MSFT answered ElevenYu-MSFT commented

Hi,

We can first check from below three aspects:

  1. Check if the VM has been licensed or not. (Settings > Update & Security > Activation)
    If not, the VM will be automatically turned off

  2. Monitor to see if there is memory issue. We need to always make sure there is enough memory assigned if we use dynamic memory.

  3. Check host event logs Event Viewer>> Applications and Services Logs>> Microsoft>> Windows>> Hyper-V VMMS and Hyper-V Worker
    The "Admin" and "Analytic" event logs on host under "Applications and Services Logs\Microsoft\Windows\Hyper-V-VMMS" should have detailed information on what happened to the VM. You can also check "Hyper-V-Worker" events to see if you can find any anomalies.

Thanks,


If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I've checked its activated which it is
I've checked for a memory issue which there isnt
I've checked the event logs for which there are no errors...

0 Votes 0 ·

Hi,

Not only checking errors.

You also need to check information logs to see if you can find what program triggered the VM shutdown.

0 Votes 0 ·