Winodws server 2019 unexpected shutdown

Tim Lok 1 Reputation point
2021-01-04T22:47:25.927+00:00

Hi there,

The windows server 2019 shuts down unexpectedly ever week with shutdown reason - Kernel API. Is there any solution to prevent this? Many thanks.

53398-shutdown-2021010360856pm.png

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,831 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Anonymous
    2021-01-04T23:07:18.397+00:00

    Some of these may render something useful.

    powercfg /requests
    powercfg /lastwake
    powercfg /sleepstudy
    powercfg /systemsleepdiagnostics
    powercfg /systempowerreport

    Also check the licensing status.

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

    0 comments No comments

  2. Tim Lok 1 Reputation point
    2021-01-04T23:15:40.847+00:00

    Hi DSPatrick,

    The windows is activated. Below are the results of your suggested commands.

    PS C:\Windows\system32> powercfg /requests
    DISPLAY:
    None.

    SYSTEM:
    None.

    AWAYMODE:
    None.

    EXECUTION:
    None.

    PERFBOOST:
    None.

    ACTIVELOCKSCREEN:
    None.

    PS C:\Windows\system32> powercfg /lastwake
    Wake History Count - 0

    PS C:\Windows\system32> powercfg /sleepstudy
    Unable to perform operation. An unexpected error (0x7f) has occurred: The specified procedure could not be found.

    PS C:\Windows\system32> powercfg /systemsleepdiagnostics
    No sleep trace files exist. Put the machine to sleep for several minutes, then try again.

    PS C:\Windows\system32> powercfg /systempowerreport
    Unable to perform operation. An unexpected error (0x7f) has occurred: The specified procedure could not be found.

    0 comments No comments

  3. Anonymous
    2021-01-04T23:20:23.287+00:00

    Might check some of the other events for clues.

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


  4. Tim Lok 1 Reputation point
    2021-01-05T00:35:15.43+00:00

    Unable to find any other suspicious events? What else can I check?

    0 comments No comments

  5. Anonymous
    2021-01-15T14:54:53.22+00:00

    Appears to be an essentials licensing violation

    Limitations on Use
    At any one time, Customer may use a Running Instance of the server software in each of the Physical OSE and in one Virtual OSE.
    Customer must run the server software within a domain where the Server’s Active Directory is configured as (i) the domain controller (a single server which contains all the flexible single master operations (FSMO) roles), (ii) the root of the domain forest, (iii) not to be a child domain, and (iv) to have no trust relationship with any other domains. If the server software is used in a Virtual OSE, the Instance in the Physical OSE may be used only to run hardware virtualization software, provide hardware virtualization services, or run software to manage and service Operating System Environment on the Licensed Server. That Instance does not need to meet the requirements in (I) through (iv) above.
    Using the Server Software
    A User Account is a unique user name with its associated password created through the Windows Server 2019 Essentials Console. Customer may use up to 25 user accounts. Each user account permits a named user to access and use the server software on that server. It may reassign a user account from one user to another provided that the reassignment does not occur within 90 days of the last assignment.

    https://www.microsoft.com/licensing/terms/productoffering/WindowsServerStandardDatacenterEssentials/MCA

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

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.