In the system, you can set the "do not ask before shutdown" to achieve the "one key shutdown" purpose. However, in the Win7 system, the "Cancel shutdown prompt" is set, but the "one program needs to close" prompt will still appear when the computer is shut down.
When the shutdown occurs, most of the system is "waiting for task Host Windows." You can view the "Cancel shutdown prompt" in the settings.
Click start → control Panel, and then open administrative tools → Task Scheduler, open the program scheduler library → Microsoft → Windows → RAC option in the left window of the Task Scheduler, and then click on the right side of the Show all tasks that are running correctly.
In the "All running Tasks" pop-up, see if there are any scheduled tasks running and, if so, delete them.
The "scheduled task" here refers to the task of preventing the system from shutting down automatically after the "Cancel shutdown" prompt.