For example if I press the shutdown button in the GUI, the shutdown command is executed in the background. How would I look that up? Is there maybe a history of OS commands?
When I look up the history in the command line, it is just the history of the commands I executed.
Windows does not call shutdown.exe to shutdown, it just calls the ExitWindowsEx API function directly.
To find out which API function Explorer.exe calls, you need to use a debugger or API Monitor ...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.