定期的に勝手にWindows Severが止まる!?
なぜか定期的に勝手にWindows Serverが止まってしまう問題に遭遇したら、使っていた評価版ライセンスが切れていたことを発見した。
PS C:\> Get-WinEvent -FilterHashtable @{LogName='System'; Id=1074} -MaxEvents 10 | fl TimeCreated,Message
TimeCreated : 8/20/2026 12:36:24 PM
Message : The process C:\Windows\system32\wlms\wlms.exe (WIN2019-VM) has initiated the シャットダウン of computer WIN2019-VM on behalf of user NT AUTHORITY\SYSTEM for the following reason: その他 (計画済)
Reason Code: 0x80000000
Shutdown Type: シャットダウン
Comment: この Windows インストールのライセンスの有効期限が切れています。オペレーティング システムはシャットダウンします。
TimeCreated : 8/20/2026 11:35:36 AM
Message : The process C:\Windows\system32\wlms\wlms.exe (WIN2019-VM) has initiated the シャットダウン of computer WIN2019-VM on behalf of user NT AUTHORITY\SYSTEM for the following reason: その他 (計画済)
Reason Code: 0x80000000
Shutdown Type: シャットダウン
Comment: この Windows インストールのライセンスの有効期限が切れています。オペレーティング システムはシャットダウンします。
TimeCreated : 8/20/2026 10:07:49 AM
Message : The process C:\Windows\system32\wlms\wlms.exe (WIN2019-VM) has initiated the シャットダウン of computer WIN2019-VM on behalf of user NT AUTHORITY\SYSTEM for the following reason: その他 (計画済)
Reason Code: 0x80000000
Shutdown Type: シャットダウン
Comment: この Windows インストールのライセンスの有効期限が切れています。オペレーティング システムはシャットダウンします。
TimeCreated : 8/19/2026 8:14:37 PM
Message : The process C:\Windows\system32\wlms\wlms.exe (WIN2019-VM) has initiated the シャットダウン of computer WIN2019-VM on behalf of user NT AUTHORITY\SYSTEM for the following reason: その他 (計画済)
Reason Code: 0x80000000
Shutdown Type: シャットダウン
Comment: この Windows インストールのライセンスの有効期限が切れています。オペレーティング システムはシャットダウンします。
TimeCreated : 8/19/2026 7:14:08 PM
Message : The process C:\Windows\system32\wbem\wmiprvse.exe (WIN2019-VM) has initiated the restart of computer WIN2019-VM on behalf of user WIN2019-VM\rackware for the following reason:
この理由のタイトルが見つかりません
Reason Code: 0x80070015
Shutdown Type: restart
Comment:
TimeCreated : 8/19/2026 12:58:14 PM
Message : The process C:\Program Files\VMware\VMware Tools\vmtoolsd.exe (WIN2019-VM) has initiated the シャットダウン of computer WIN2019-VM on behalf of user NT AUTHORITY\SYSTEM for the following reason:
レガシ API シャットダウン
Reason Code: 0x80070000
Shutdown Type: シャットダウン
Comment:
TimeCreated : 8/19/2026 10:54:13 AM
Message : The process C:\Program Files\VMware\VMware Tools\vmtoolsd.exe (WIN2019-VM) has initiated the シャットダウン of computer WIN2019-VM on behalf of user NT AUTHORITY\SYSTEM for the following reason:
レガシ API シャットダウン
Reason Code: 0x80070000
Shutdown Type: シャットダウン
Comment:
TimeCreated : 6/17/2026 8:35:54 AM
Message : The process C:\Windows\system32\SystemSettingsAdminFlows.exe (WIN-3DCTMD1ME3B) has initiated the 再起動 of computer WIN-3DCTMD1ME3B on behalf of user WIN-3DCTMD1ME3B\Administrator for the
following reason: その他 (計画外)
Reason Code: 0x5000000
Shutdown Type: 再起動
Comment:
TimeCreated : 6/17/2026 8:35:52 AM
Message : The process SystemSettingsAdminFlows.exe has initiated the 再起動 of computer WIN-3DCTMD1ME3B on behalf of user WIN-3DCTMD1ME3B\Administrator for the following reason: その他 (計画外)
Reason Code: 0x5000000
Shutdown Type: 再起動
Comment:
TimeCreated : 6/16/2026 10:05:51 PM
Message : The process C:\Windows\system32\SystemSettingsAdminFlows.exe (WIN-3DCTMD1ME3B) has initiated the 再起動 of computer WIN-3DCTMD1ME3B on behalf of user WIN-3DCTMD1ME3B\rackware for the following
reason: その他 (計画外)
Reason Code: 0x5000000
Shutdown Type: 再起動
Comment:
ライセンスの状況
Notification Modeになっていた
PS C:\> cscript.exe $env:SystemRoot\System32\slmgr.vbs /xpr
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
Windows(R), ServerStandardEval edition:
Windows is in Notification mode
PS C:\> cscript.exe $env:SystemRoot\System32\slmgr.vbs /dlv
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
Software licensing service version: 10.0.17763.8880
Name: Windows(R), ServerStandardEval edition
Description: Windows(R) Operating System, TIMEBASED_EVAL channel
Activation ID: 7783a126-c108-4cf7-b59f-13c78c7a7337
Application ID: 55c92734-d682-4d71-983e-d6ec3f16059f
Extended PID: 03612-04311-000-000000-00-1041-17763.0000-3322025
Product Key Channel: Retail:TB:Eval
Installation ID: 257189532202863178623443967411223633663384060339490688866794885
Use License URL: https://activation-v2.sls.microsoft.com/SLActivateProduct/SLActivateProduct.asmx?configextension=Retail
Validation URL: https://validation-v2.sls.microsoft.com/SLWGA/slwga.asmx
Partial Product Key: Y7XRX
License Status: Notification
Notification Reason: 0xC004F00F.
Remaining Windows rearm count: 6
Remaining SKU rearm count: 6
Trusted time: 8/20/2026 2:28:52 PM
Rearmの実施
Remaining SKU rearm countが6あるので、re-arm(再武装、評価版 (Evaluation Edition) の試用期間カウンターをリセットして、再度評価期間を付与)する。
rearmの実施
PS C:\> cscript.exe $env:SystemRoot\System32\slmgr.vbs /rearm
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
Command completed successfully.
Please restart the system for the changes to take effect.
再起動後は、以下のように再延長された。
PS C:\> cscript.exe $env:SystemRoot\System32\slmgr.vbs /xpr
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
Windows(R), ServerStandardEval edition:
Initial grace period ends 8/30/2026 3:10:48 PM
PS C:\> cscript.exe $env:SystemRoot\System32\slmgr.vbs /dlv
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
Software licensing service version: 10.0.17763.8880
Name: Windows(R), ServerStandardEval edition
Description: Windows(R) Operating System, TIMEBASED_EVAL channel
Activation ID: 7783a126-c108-4cf7-b59f-13c78c7a7337
Application ID: 55c92734-d682-4d71-983e-d6ec3f16059f
Extended PID: 03612-04311-000-000000-00-1041-17763.0000-3322025
Product Key Channel: Retail:TB:Eval
Installation ID: 257189532202863178623443967411223633663384060339490688866794885
Use License URL: https://activation-v2.sls.microsoft.com/SLActivateProduct/SLActivateProduct.asmx?configextension=Retail
Validation URL: https://validation-v2.sls.microsoft.com/SLWGA/slwga.asmx
Partial Product Key: Y7XRX
License Status: Initial grace period
Time remaining: 14397 minute(s) (10 day(s))
Remaining Windows rearm count: 5
Remaining SKU rearm count: 5
Trusted time: 8/20/2026 3:12:59 PM