- Advertisement -
HomeSystemsWindows ServerWindows Server shuts down unexpectedly

Windows Server shuts down unexpectedly

In This Article:

Problem:

Some of the virtual servers in my infrastructure kept shutting down unexpectedly. All of these VMs are Windows Server 2016 evaluation (datacenter edition) and all my others VMs (Linux, Windows 7) wasn’t presenting these symptoms. Obviously, the problem related to the VM and the operating system itself.

Probably you have tried (or should try first) these solutions already here: Computer Shuts Down Randomly

Solution:

This is another simple solution but difficult to identify. I am using Windows Server 2016 evaluation in my test lab and didn’t notice that the evaluation period has expired. So, I need to rearm the server license to extend the trial period.

Windows will shut down on purpose, to remind you to activate the license! After solving this issue, the servers won’t shut down again, until you rearm the license again (You could do it up to 6 times). Of course, this is not for commercial purpose, only for testing labs.

Follow these steps:

- Advertisement -
  • Open Windows PowerShell
  • To check current license status, run  slmgr -dlv
  • To ream Windows license,  run slmgr -rearm.
  • Restart Windows, run Restart-Computer

For more information go to this well-written post about how to extend the Windows license. Windows Server 2016 Evaluation: How to extend the Trial Period

Note: Curious thing, I had the same issue two years ago, and I totally forgot about it. That is why I consider important documenting everything, even though it could be a simple thing like this, the solution will change depending on your environment/situation.

Juan Mulford
Juan Mulford
I have been active in IT for over fourteen years now. I am a solutions architect, working with storage, virtualization, and VDI solutions. For the past ten years, I have been living and working in Taiwan.

2 COMMENTS

Leave a Reply

- Advertisement -

Popular Articles

mulcas.com-Raspberry-Pi

Raspberry Pi OS in a Virtual Machine with VMware

4
Although the Raspberry Pi OS is designed and optimized for the Raspberry Pi module, it is possible to test and use it without its hardware, with VMware. This solution can be useful if you are a developer (or just a curious guy) and don't have a Raspberry Pi module with you
Unable to delete inaccessible datastore

Unable to delete an "inaccessible" datastore

7
I was switching my storage array, so I migrated the VMs from that old datastore/storage to a new datastore/storage. The old datastore was shared by 3 ESXi hosts, no cluster. After migrating the VMs and unmount/delete the datastore, it was still presented in two of the ESXi hosts and was marked as inaccessible.
This is not a valid source path / URL

This is not a valid source path / URL - SourceTree and Gitlab

0
I have been working on a project with a friend who set up a repository in Gitlab but even though I was able to view all projects on it, I couldn’t really join the repository. I was using SourceTree and Gitlab.
mulcas.com-VMware-OVF-Tool

How to export a Virtual Machine using the VMware OVF Tool

9
The VMware OVF Tool is implemented by VMware for easily importing and exporting virtual machines in Open Virtualization Format (OVF) standard format. Here, I want to show you how to download and install it, and then how to use it from a Windows machine.
Couldn't load private key - Putty key format too new

Couldn't load private key - Putty key format too new

5
couldn't load private key - Putty key format too new.” This issue happens when you use PuTTygen to generate or convert to a ppk key. Here is how to fix it. 
- Advertisement -

Recent Comments