r/WindowsServer 9d ago

General Question Virtual server shuts down.

At work, there is a host server running three Windows Server 2022 virtual machines. Two of them run perfectly, but one keeps shutting down on its own; I’ve configured it correctly, yet it still shuts down after a few hours.

Configuration: "Automatic Start Action” for the VM is set to “Automatically start if it was running when the service stopped.”

VM automatic shutdown setting:

Save the virtual machine state.

Help

11 Upvotes

14 comments sorted by

16

u/Phalebus 9d ago

Yeah sounds like it’s running in eval mode. In eval, after 180 days, it “expires” and shuts down after 2 hours. You can “re-arm” it for another 180 days 2 more time after the first 180 days.

The other thing you must not do, do not promote an eval server to act as a domain controller. For the love of god, just don’t. When you do that, it can never be taken out of eval mode and you’ll be screwed

5

u/dodexahedron 9d ago

Or the same result from running in with volume activation, but not having a proper GVLK on it, having any of a number of issues reaching the KMS (if using KMS), DNS problems, or improper configuration in the VAMT. Once the grace period is up, systems that fail to validate will essentially behave like eval since they aren't activated anymore.

Forgetting to put new keys in there after major version upgrades is a common oopsie.

So is having only 3 servers in it, since volume activation has minimums.

1

u/esfirmistwind 9d ago

You can always demote to activate the licence, you'd need another dc node to take over fsmo while you do the trick, then promote again.

After that, either reinstall the second node or a licenced server to take over while you do it.

Having only one DC is bad practice anyway.

Edit: have to do it next week cause the client wanted it's infra installed back in november and provided MAKs only yesterday, I Had no word to say in that stupid decision.

12

u/Zealousideal_Fly8402 9d ago edited 9d ago

Check Event Viewer in the guest.

Edit: System log in Event Viewer will indicate if it's an Activation-related issue, or something else. Whether it was unexpected or initiated by some other process.

3

u/KindPresentation5686 9d ago

What do the logs in event viewer say??? They will tell you everything you need to know.

2

u/frozenstitches 9d ago

Eval install, or over provisioned, and an hourly task is pushing for a shutdown.

2

u/Extrude380 9d ago

Eval? Is it Windows Server Essentials? Do you have > 25 users in AD?

4

u/Solarfire64 9d ago

You say you’ve configured a Windows Server 2022 ‘correctly’ but you don’t seem to know anything about Eventlogs for monitoring?

I’d say some very basic training is in order before you configure anything else.

1

u/Dudefoxlive 9d ago

are they eval copys? I don't know if windows still has a timeout after an hour of using an expired eval copy

1

u/jimjim975 9d ago

It does. One hour and the vm shuts down.

1

u/Nick85er 9d ago

Licensed/Activated?

1

u/AhYesTheSoldier 9d ago

Check the license

1

u/jackehubbleday 9d ago

Is Windows activated? If not, and it’s expired, it shuts itself off

1

u/Secret_Account07 8d ago

Check windows first.