Friday, January 4, 2013

Windows Server 2008 R2 Random Shutdowns

Context:

Windows Server 2008 R2
VirtualBox

Problem:

Windows Server randomly shuts itself down every hour.

System log shows:

The process wlms.exe has initiated the power off of computer WIN-P4EMG3VI42J on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Unplanned)
 Reason Code: 0x0
 Shutdown Type: power off
 Comment:


Solution:

Windows is unactivated and needs to be activated.

If you look in the Application log, you should see this message "The license period for this installation of Windows has expired.  The operating system will shutdown every hour."

2 comments:

  1. taskkill /F /IM wlms.exe & takeown /F %windir%\System32\wlms\wlms.exe & icacls %windir%\System32\wlms\wlms.exe /deny *S-1-1-0:(X) & shutdown -a

    ReplyDelete