未激活的windows server自动关机故障

在server 2012 hyper v里运行的一台server 2012经常自动关机,日志没查看到明显故障提示,查看hyper v settings发现虚拟硬盘挂接的是avhd格式,与父盘合并后重新挂载,暂时故障消失。

3月11号更新:问题其实是windows license没激活导致的关机。日志里有详细的记录,不过记录不是在error和warning而是正常的日志里。绕过去的办法是使用pstools删除wlms服务。

?详细步骤如下:

How to remove the Windows Licensing Monitoring Service from the evaluation media of Windows 2008 R2 and Windows 7 Operating Systems

24/06/2012

  • Download the ps tools from http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
  • Extract it to the local disk (I have done it under c:\)
  • Open the command prompt in an elevated mode (run as administrator).
  • Navigate to the ps tools folder (in my case its c:\psexec)
  • Run the command psexec �I �d �s cmd

Technorati 标记: windows server, 自动关闭;WLMS, pstools

  • Click ‘Agree’ on the license agreement.

未激活的windows server自动关机故障_第1张图片

  • This will open the command prompt as ‘nt authority\system’ (To verify it run the command whoami on the new command prompt)

clip_image003

  • Run the command ‘sc delete WLMS‘ to delete the Windows licensing monitoring service.

clip_image004

  • Run the command regedit to modify the registry
  • Navigate to HKLMàSystemàCurrentControlSet àServices

未激活的windows server自动关机故障_第2张图片

  • Delete the key ‘WLMS’ key.

未激活的windows server自动关机故障_第3张图片

From <https://ajithkv.wordpress.com/2012/06/24/how-to-remove-the-windows-licensing-monitoring-service-from-the-evaluation-media-of-windows-2008-r2-and-windows-7-operating-systems-2/>

你可能感兴趣的:(windows)