Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » Fix Windows Server frequent disconnects and shutdown
  • veeamONE integration with VBR
    Install Veeam ONE and Add VBR: Fix failed to connect to VBR Backup
  • sep hybrid backup tiny
    SEP sesam Hybrid Backup and Disaster Recovery Solution Backup
  • front
    How to trigger SQS from a Lambda Function in the same account AWS/Azure/OpenShift
  • username
    Is my AD user or service account password correct? Run App as a different User and switch Users in Windows Windows
  • How to Change Active Directory Group Scope
    How to change Active Directory Group Scope Windows Server
  • image 166
    How to deploy a .NET application to AWS Elastic Beanstalk using AWS Tool Kit AWS/Azure/OpenShift
  • whatsappImage
    How to add WhatsApp UWP on Windows 11 Windows
  • How to use DBeaver on MacOS
    Install DBeaver on macOS: Connect to PostgreSQL Database Oracle/MSSQL/MySQL

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

  • Task Scheduler Greyed Out
    How to fix Task Scheduler Service Greyed Out in Service MMC Windows
  • nonexistent AD
    Fix Active Directory Domain Controller (AD DS) for this domain could not be contacted Windows Server
  • article 1280x720.192a2586
    Windows Deployment Services: How to setup and install WDS role Windows Server
  • FileZilla
    Access FTP Server from your browser: How to create a shortcut and access Filezilla from Windows Explorer Windows Server
  • dns error
    Domain Name System Protocol: Client Registration Issue Windows Server
  • hero activedirectory 2
    Concept of Active Directory Computer Account Windows Server

More Related Articles

Task Scheduler Greyed Out How to fix Task Scheduler Service Greyed Out in Service MMC Windows
nonexistent AD Fix Active Directory Domain Controller (AD DS) for this domain could not be contacted Windows Server
article 1280x720.192a2586 Windows Deployment Services: How to setup and install WDS role Windows Server
FileZilla Access FTP Server from your browser: How to create a shortcut and access Filezilla from Windows Explorer Windows Server
dns error Domain Name System Protocol: Client Registration Issue Windows Server
hero activedirectory 2 Concept of Active Directory Computer Account Windows Server

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
 
  • veeamONE integration with VBR
    Install Veeam ONE and Add VBR: Fix failed to connect to VBR Backup
  • sep hybrid backup tiny
    SEP sesam Hybrid Backup and Disaster Recovery Solution Backup
  • front
    How to trigger SQS from a Lambda Function in the same account AWS/Azure/OpenShift
  • username
    Is my AD user or service account password correct? Run App as a different User and switch Users in Windows Windows
  • How to Change Active Directory Group Scope
    How to change Active Directory Group Scope Windows Server
  • image 166
    How to deploy a .NET application to AWS Elastic Beanstalk using AWS Tool Kit AWS/Azure/OpenShift
  • whatsappImage
    How to add WhatsApp UWP on Windows 11 Windows
  • How to use DBeaver on MacOS
    Install DBeaver on macOS: Connect to PostgreSQL Database Oracle/MSSQL/MySQL

Subscribe to Blog via Email

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

Join 1,841 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

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.