RDP Logoff Message: Please Wait for the System Event Notification Service

The RDP logoff message “Please wait for the System Event Notification Service” has many causes. This post covers one of them, which came from SQL Server Management Studio.

Gouache painting of a small wooden revolving door model stopped by a single vermilion wedge jammed beneath one panel

The Error

This is the message the users saw:

Please wait for the System Event Notification Service

What the Client Saw

One of my clients found that users logging in or logging out got this message. The server had to be rebooted to clear it.

Gouache painting of the same small revolving door model standing free, with the vermilion wedge lying on the ground beside it

Why It Happens

There are some known issues between the System Event Notification Service (SENS) and the Visual Studio shell. SQL Server Management Studio is built on that shell. My client opened a ticket with Microsoft to investigate.

How to Check

Check whether SQL Server Management Studio is running on the machine. Check for any other software that uses the Visual Studio shell too.

The Fix

The first workaround was to kill the SSMS process in Task Manager. Then SENS starts working again.

The second workaround is a registry change that disables telemetry for the Visual Studio shell used by SSMS:

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\Telemetry]
"DisableSqmUploader"=dword:00000001

Confirm It Worked

After SSMS was killed, SENS worked again, and the server didn’t need a reboot.

How to Prevent It

Before you reboot, check which software on the machine uses the Visual Studio shell. If you find another solution, please write it in a comment so others can use it. And let me know if you have seen this error on your production server.

Quick reference card: RDP Logoff Wait Message

This message is not a server that needs a reboot, it is a service waiting on one stuck program.

Published by Pinal Dave on SQLAuthority. More of my work at pinaldave.com.


Discover more from SQL Authority with Pinal Dave

Subscribe to get the latest posts sent to your email.

Registry, SQL Error Messages, SQL Server, SQL Server Management Studio, Windows
Previous Post
SQL SERVER – Msg 7399, Level 16 – The OLE DB Provider “ADsDSOObject” for Linked Server “AD” Reported an Error
Next Post
SQL SERVER – Startup Error – Your SQL Server Installation is Either Corrupt or Has Been Tampered With

Related Posts

5 Comments. Leave new

  • Thanks a Ton, we had several terminal servers affected with this logoff issue. We had SQL Management studio installed on these terminal server. Your solution worked !!!

    Reply
  • Thanks Dave. Do you know if this is only happening with specific versions of ssms? We get this behavior randomly so it’s difficult to narrow down.

    Reply
  • Hi We are using Oracle Cloud based server, and no other way to access the server is via RDP, now no users can access the server via rdp due to this error, is iOK to restart the whole server?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.