Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows Server » Fix Windows Server frequent disconnects and shutdown
  • ArchiveUnarchiveDelete134
    Manage a GitLab Project: How to archive or unarchive and delete GitLab projects Version Control System
  • images 3 4
    Fix an appropriate resource file could not be found for the file for BitLocker Management Windows Server
  • djhfhjhg
    What is the difference between iDRAC, IPMI, and ILO Network | Monitoring
  • Screenshot 2021 03 16 at 21.14.05
    Unable to locate the account: Fix call to DsGetDcNameWithAccount failed with return value 0x0000054B Windows Server
  • updates
    How to stop Windows from applying updates Windows
  • VMware
    How to install Windows Server 2022 on VMware Workstation Virtualization
  • How to configure Volume Shadow Copies VSS on Windows Server
    Volume Shadow Copies: How to configure VSS on Windows Server Windows
  • Screenshot 2021 10 07 at 00.00.32
    How to fix this computer is a domain controller: The snap-in cannot be used on a domain controller Windows Server

Fix Windows Server frequent disconnects and shutdown

Posted on 04/02/202515/02/2025 Christian By Christian No Comments on Fix Windows Server frequent disconnects and shutdown
fix frequent shutdown due to licensing issues - Windows

In this article, we shall discuss how to fix Windows Server frequent disconnects and shutdown. Before proceeding, I am currently using ACEMAGIC Mini PC for this specific lab environment with an  excellent computing power and impressive performance. You may want to see how to install Windows Server unto ACEMAGICIAN Mini PC. Also, see  how Install Proxmox VE on a Beelink EQ12 Mini PC, how to install ESXi on a Beelink EQ12 Mini PC, and how to join a computer to the Domain.

If you are experiencing frequent disconnects and shutdowns, below are some common causes. I will only discuss the fix applicable to me in the next session.

  • Overheating and Hardware Issue
  • Network Disconnects (Frequent RDP & Service Drops)
  • Unexpected Shutdowns (Power, Hardware, or OS Issues)
  • Scheduled Tasks or Auto-Restarts, and
  • Licensing or Activation Issues (Grace Period Expired). This is the elephant in the room in my case.

Here are some related error code “Fix Windows 11 Remote Desktop Connectivity Error code 0x204“, and how to Fix Remote Desktop Connection issues (Error 0x204).

Reason for Frequent Shutdown and RDP disconnection

As earlier stated, my focus will be on the root cause and not dive into other possible causes. The RDP console prompted an error code 0x19 which indicates a security or certificate issue when attempting to connect to a remote desktop session.

With the above information, the error code 0x19 can occur due to Licensing or Activation Issues. This is because, the grace period for activating Windows has expired. RDP relies on a fully activated Windows installation for secure and proper communication. Without proper activation, the system may block RDP connections, prompting the error code 0x19.

Session disconnected

Please see How to prevent a remote shutdown and restart in Windows, how to prevent users from shutting down in a Virtual Machine, and how to use command prompt to shutdown and restart your computer.

Troubleshooting Windows to see why the frequent Shutdown

I had to check the Power and Sleep settings via the control panel and Windows settings to see if there is a wrong configuration for sleep settings. There was none as you can see below.

Note: Ensure settings are configured to prevent the system from shutting down unexpectedly

Windows Power and Sleep
Windows Settings – Sleep and Power
Power and sleep - Control Panel
Windows Control Panel – Power Option

Finally, took a look at the event viewer and found the culprit from the time-service log. Here it says, the time provider has indicated that the current hardware and operating system is not supported and has stopped.

Event Log

Here is a related guide “Upgrade Expired Evaluation Configuration Manager to Full Version“, and Microsoft SQL Evaluation period has expired: How to upgrade SQL Server instance.

This prompted me to take a look the activation status “This version of windows is expired”.

Note: You might see this error if you entered an invalid product key or a product key for a different version of Windows. You can learn more about different Windows Activation errors. An image in this guide “How to upgrade Windows Server Evaluation to Full Version” also shows a similar issue where the OS will shutdown after every hour due to expiration of the evaluation period.

Windows version expired

Windows Evaluation Period

After installing the Windows Server Evaluation, you will have 180 days to use the full functionality. After this period expires, the system will enter an unlicensed state and restrict access to certain features. Merely entering the product key at this point will not fix this issue as it is an evaluation copy.

Note: Windows does allow you to extend the evaluation period for certain editions, including Windows Server. You can extend the evaluation period using a command in PowerShell or Command Prompt.

Here is a comprehensive guide on this topic ‘Manage Windows Product key with Software Licensing Manager“. To check the current license status, please run the command below.

slmgr /dli

To extend the evaluation period (for another 180 days), use the command

slmgr /rearm

After running the above command, restart the computer to apply the changes.

Note: The “slmgr /rearm” command can be used only 3 times (allowing you to extend the evaluation for a maximum of 540 days).Once the evaluation period ends after these extensions. You will need to convert the evaluation copy to a full licensed version.

Convert the evaluation copy to a full licensed version

According to Microsoft, Windows Server Evaluation Edition is a trial version of Windows Server designed for testing and evaluation purposes. It comes with a limited evaluation period (usually 180 days), after which the system will start shutting down regularly if not activated.

Since the extension can only be made three times, it is better we convert to a full licensed version and this is what I will be showing you in this section.

To do this, please launch PowerShell with Admin rights and run he command below to get the possible target upgrade version.

DISM /Online /Get-TargetEditions

As you can see, this can be upgraded to the Data Center Edition. To convert the evaluation to the full version, please run the command below.

DISM /online /Set-Edition:ServerDatacenter /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
Convert Windows Server 2022 to Windows Server 2025 Data Center Edition.jpg 20-20-05-068

As some point, you will be requested to restart your server. Hit the “Y” button on your keyboard and hit the Enter key. As you can see below, we have successfully converted the evaluation copy to a full version.

Datacenter - Windows server converted

Windows Activation

When converting a Windows Server Evaluation copy to a full licensed version, activation may not work immediately due to internet or Activation Server issues. In this case. you can activate manually via the Windows Settings or PowerShell as shown below.

Windows product key
activate windows

To do this via PowerShell, replace your_license_key with following volume license keys according to Windows Edition and activate Windows afterwards

slmgr /ipk your_license_key
slmgr /ato
install product key windows

I hope you found this article very useful on how to fix Windows Server frequent disconnects and shutdown. Please feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:Microsoft Windows, RDP, Windows Activation, Windows Server 2016

Post navigation

Previous Post: Install Remote Server Administration Tools on Windows 11
Next Post: Prevent Microsoft Teams from starting automatically on Windows

Related Posts

  • mbamclient
    How to deploy MBAM Client as part of a Windows Deployment Windows Server
  • WinRM set up for specific IP
    Configure WinRM to accept connection from a specific IP Address Windows
  • 33
    The wim file needs to be remounted: Fix error 0xc1510114 Windows Server
  • banner
    How to deploy Folder Redirection in Windows Windows
  • ansible business cards 1600x0 c default
    Kerberos error: Clock skew too great while getting initial credentials Windows Server
  • Enable TPM and ecure boot on HyperV to run windoows 11
    How to run Windows 11 on HyperV Virtualization

More Related Articles

mbamclient How to deploy MBAM Client as part of a Windows Deployment Windows Server
WinRM set up for specific IP Configure WinRM to accept connection from a specific IP Address Windows
33 The wim file needs to be remounted: Fix error 0xc1510114 Windows Server
banner How to deploy Folder Redirection in Windows Windows
ansible business cards 1600x0 c default Kerberos error: Clock skew too great while getting initial credentials Windows Server
Enable TPM and ecure boot on HyperV to run windoows 11 How to run Windows 11 on HyperV Virtualization

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • ArchiveUnarchiveDelete134
    Manage a GitLab Project: How to archive or unarchive and delete GitLab projects Version Control System
  • images 3 4
    Fix an appropriate resource file could not be found for the file for BitLocker Management Windows Server
  • djhfhjhg
    What is the difference between iDRAC, IPMI, and ILO Network | Monitoring
  • Screenshot 2021 03 16 at 21.14.05
    Unable to locate the account: Fix call to DsGetDcNameWithAccount failed with return value 0x0000054B Windows Server
  • updates
    How to stop Windows from applying updates Windows
  • VMware
    How to install Windows Server 2022 on VMware Workstation Virtualization
  • How to configure Volume Shadow Copies VSS on Windows Server
    Volume Shadow Copies: How to configure VSS on Windows Server Windows
  • Screenshot 2021 10 07 at 00.00.32
    How to fix this computer is a domain controller: The snap-in cannot be used on a domain controller Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,836 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.