Jump to content

Improve shutdown notification


Martin Stevnhoved

Recommended Posts

Hi.

When receiving the notification "The computer 'XXX' in group 'XXX' is shutting down" I am always wondering who is shutting down the server.

Could it be possible to add information about which user initiated the shutdown? I know that Windows write it to the eventlog, so the information should be available. 

If it could possible to match the users with RDP connections, so we also can see what client the user was connected from, it would something near perfect.

  • The computer 'XXX' in group 'XXX' is shutting down by user 'XXX' logged on interactively.
  • The computer 'XXX' in group 'XXX' is shutting down by user 'XXX' logged on remotely from client 'XXX'.
Link to comment
Share on other sites

  • Administrators

Hi Martin,

This would be cool to have but what happens if there is no logged in user? Would you also like to show if the shutdown was triggered by a Pulseway user?

-Paul

Link to comment
Share on other sites

  • 2 years later...
  • 3 weeks later...
  • Administrators

Hi Martin,

I did look into this and Windows APIs do not provide you with the information on who triggered the power event. It can be hardware triggered, it can be triggered through a software via the API, it can be a user signed into the console session or it can be one of the remote desktop sessions which are active. Guesswork will not be a great approach for this.

-Paul

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...