Martin Stevnhoved Posted November 15, 2016 Posted November 15, 2016 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'.
Administrators Paul Posted November 16, 2016 Administrators Posted November 16, 2016 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
Martin Stevnhoved Posted November 17, 2016 Author Posted November 17, 2016 I guess the shutdown would always be triggered by som user. Often it is a real user, but sometimes it could be SYSTEM or NETWORK SERVICE. Â Paul and lordcom 2
Martin Stevnhoved Posted November 29, 2018 Author Posted November 29, 2018 ping? Think this would be a quickfix/-win.
Administrators Paul Posted December 20, 2018 Administrators Posted December 20, 2018 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 Martin Stevnhoved 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now