Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Windows Server 2025 / Stop Windows Server from Auto-Shutdown Every Hour

October 22, 2025

Stop Windows Server from Auto-Shutdown Every Hour

One of the Windows Server virtual machines has started shutting down automatically every hour without any apparent reason. This behavior typically occurs when an Evaluation edition of Windows is installed on the computer or virtual machine and has expired (usually after 90 or 180 days). If the evaluation period has expired, the Windows License Monitoring Service (WLMS) will automatically shut down the operating system after one hour of operation. This applies to evaluation versions of Windows Server and to Windows 10/11 Enterprise (including LTSC).

In my case, this is indicated by a watermark in the bottom right corner of the desktop displaying the following message:

Windows Server 2025 Standard Evaluation
Windows License is expired

Desktop watermark: Windows License is expired

You can also check the Windows activation status using the command:

slmgr /dli

Name: Windows(R), ServerStandardEval edition
Description: Windows(R) Operating System, TIMEBASED_EVAL channel

slmgr /dli - check Windows activation status

You can also see here that the VM has an expired evaluation version of Windows Server (TIMEBASED_EVAL channel) installed, License Status: Notification, Notification Reason: 0xC004FC07.

After the Windows Server evaluation period expires, the operating system automatically shuts down every hour to encourage users to purchase a full license. Windows shutdown is initiated by the wlms.exe process, which logs this action in the Event Viewer (Event ID: 1074):

The process C:\WINDOWS\system32\wlms\wlms.exe (SRV01) has initiated the shutdown of computer SRV01on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Planned) Reason Code: 0x80000000 Shutdown Type: shutdown
Comment: The license period for this installation of Windows has expired. The operating system is shutting down.

Event ID: 1074 The license period for this installation of Windows has expired. The operating system is shutting down

Microsoft doesn’t recommend using trial versions of its products beyond the evaluation period, especially for running production workloads.

If you want to keep using the Windows evaluation version on your computer and prevent the automatic shutdowns, you can follow these steps:

  • Extend your Windows trial period for another 180 days (can be extended up to 5 times): slmgr /rearm slmgr /rearm - extend Windows trial license
  • Convert an evaluation edition of Windows Server to a fully-featured Standard or Enterprise edition. Then activate the operating system by either entering your product key or performing Windows Server activation on a KMS server.
  • Disable the WLMS service, which initiates the OS shutdown.

As the host shutdown is triggered by the Windows Licensing Monitoring Service (WLMS), you can prevent the shutdowns by disabling this service. However, even the local administrator account doesn’t have the necessary permissions to change this service’s settings

Windows Licensing Monitoring Service (WLMS)

To stop the service, open a command prompt as SYSTEM using the PsExec tool:

.\PsExec64.exe -i -s cmd.exe

You can now disable the service from the command prompt running with NT Authority/System permissions:

sc config WLMS start= disabled

disable WLMS service - cmd

Reboot the host to stop the WLMS service. Windows will no longer automatically reboot every hour due to the expired trial period.

If the Windows Server host reboots unexpectedly and the evaluation license has not expired (or not used), check the Event Viewer system logs to identify which user or process initiated the reboot or shutdown. The linked post explains how to use the Event Viewer to filter system logs by Event ID 1074 from the User32 source to identify who initiated the Windows shutdown.

Check the Event Viewer to find out who restarted or shut down Windows.

Also, check the Task Scheduler for any scheduled tasks that initiate a Windows restart or shutdown.

0 comment
0
Facebook Twitter Google + Pinterest
Questions and AnswersWindows 11Windows Server 2025
previous post
Restoring a Missing Windows Update Service in Windows 11 (10)
next post
How to Enable or Disable Windows Defender Firewall

Related Reading

Find a Process Causing High Disk Usage on...

July 16, 2025

Cannot Install Network Adapter Drivers on Windows Server

May 6, 2025

Configuring Windows Protected Print Mode (WPP)

May 28, 2025

Blocking NTLM Connections on Windows 11 and Windows...

October 6, 2025

WMIC Command Not Found on Windows

May 19, 2025

Unable to Map Drive: An extended error has...

May 13, 2025

Encrypt Any Client-Server App Traffic on Windows with...

June 16, 2025

Fix: Microsoft Defender Not Updating Automatically in Windows

July 15, 2025

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • How to Delete a Windows Service via CMD or PowerShell

    October 16, 2025
  • Resource Fair Sharing in Windows Server Remote Desktop Services (RDS)

    October 6, 2025
  • How to Disable (Enable) Credential Guard in Windows 11

    October 6, 2025
  • Wrong Network Profile on Windows Server after Reboot

    September 30, 2025
  • How to Get Windows 10 Extended Security Updates After End-Of-Life

    September 24, 2025
  • Blocking NTLM Connections on Windows 11 and Windows Server 2025

    September 23, 2025
  • Windows Stucks at ‘Getting Windows Ready, Don’t Turn Off Computer’

    September 15, 2025
  • Clean Up ETL Log Files in ProgramData

    September 9, 2025
  • Fix: Slow Startup of PowerShell Console and Scripts

    September 3, 2025
  • DPI Scaling and Font Size in RDP (RDS) Session

    August 27, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Converting Windows 10 to Enterprise LTSC Without Losing Data
  • Permanently Disable Driver Signature Enforcement on Windows 11
  • Fix: Windows Update Tab (Button) is Missing from Settings
  • Fix: Your IT Administrator Has Limited Access to Virus & Threat Protection
  • How to Remove ‘Some Settings are Managed by Your Organization’ on Windows 11 or 10
  • How to Add or Reinstall the Microsoft PDF Printer on Windows
  • Fix: Multiple Connections to a Server or Shared Resources by the Same User
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top