11

I was rebooting a remote server (Windows Server 2008 R2 Standard) over remote desktop and the session now shows the blue screen during the shutdown sequence, and the message "Please wait for the System Event Notification Service..."

It seems that everything is still running on the server (for instance, http://jeffhandley.com is still responding), but I need to get the machine to finish the reboot sequence.

How can I force the machine past this point? It's been stuck there for about 30 minutes.

Jeff Handley
  • 211
  • 1
  • 2
  • 3
  • Oh dear... after killing the process for SENS (System Event Notification Service), the server shut down immediately and now it won't boot. Uh oh... – Jeff Handley Dec 08 '10 at 07:48
  • do you have Windows Live Messenger installed on the server? That seems to be the culprit for this problem for a lot of people. – MattB Dec 08 '10 at 14:53

4 Answers4

5

This was happening with me on 2012 R2 as well. So, For this you have to log in from another account with admin rights

  1. Start "Remote Desktop Services Manager"
  2. Identify the user ID in the Users tab
  3. In the Processes tab sort by ID Go down to the user ID
  4. Kill the winlogon.exe process with the user ID, session will be logged off
  5. Now you can log in again!

Original Article

To Stop this from happening again, see this article please wait for the system Event Notification service Problem. This article states:

Yes, the issue with this was related to SSMS trying to send telemtry data back to Microsoft, this was hanging and causing the process not to exit. The solution we went with was to disable the sending of telemetry all together using this registry key:

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\Telemetry]Name = DisableSqmUploader

Type = REG_DWORD

Data = 0000000

Sayyed Dawood
  • 151
  • 1
  • 6
2

Either wait for it to finish (but obviously you don't want to) or take a shot at using PsService to find the executable name and PsKill to kill the process directly, letting the server continue rebooting.

PsService

PsKill

Jeff McJunkin
  • 1,372
  • 1
  • 8
  • 16
0

This is how I fixed it:

1- logging in to the server using the psexec utility:

psexec \\192.168.4.2 -u administrator -p pass cmd

2- Finding all of the running tasks:

tasklist /v

3- Finding all of the PID's of winlogons and killing them using the power-shell:

kill -id PidNumber
VahidN
  • 101
  • 2
0

As advised in the comments in this link, there's a problem with SENS. I couldn't run sc queryex successfully, so I took the (much more risky) method of killing every svchost.exe instance:

sc \server taskkill /IM svchost.exe /F

While it's slowly terminating these processes, I keep an eye on the Windows machine until it gets past this error message; then I stop taskkill.

Risky? Yes. You may kill the wrong service and hose your machine. I was stuck, so I had no other option.

ashes999
  • 133
  • 1
  • 1
  • 6