Hi Guys,
Not many people looking or interested on that issue, however I think I have found an answer for that.
I did a little research and found:
- A graceful shutdown initiated by calling an API such as ExitWindowsEx() or InitiateSystemShutdown().
- For ExitWindowsEx(); CSRSS acting upon the calling process' behalf and simply sends a window message to a window owned by the WINLOGON.EXE process for the current session to simulate the interactive user choosing the equivalent action from the WINLOGON user interface. So in the case of ExitWindowsEx() being called to initiate a shutdown, a window message is sent to the WINLOGON process for that session, requesting a shutdown, and WINLOGON behaves from that point just as if shutdown had been requested via its user interface.
-- And that is the reason when we see shutdown initiated by Winlogon.exe.