How can I set my PC to shut down automatically without using the mouse or keyboard?

March 12, 2026 5 answers
Asked by staccato
I'm looking for a way to automatically choose the "Shut down anyway" option on my PC, which I use primarily as a console in Steam's Big Picture mode. I've been facing a lot of frustration because the shutdown prompt keeps popping up, and I can't access it using my gamepad. Long-pressing the power button feels a bit risky. I've tried searching for solutions, but it's not just about connecting a keyboard or mouse. Is there a way to change a setting or use a utility to bypass this prompt?

Answers

biscuit.tin.
That shutdown prompt usually appears because there are apps blocking the shutdown process. I managed to resolve the issue by disabling unnecessary background apps and startup programs. Once I cleaned those up, the prompt hardly ever shows up anymore.
Reply to this answer
PageTurner
That prompt usually appears when Windows detects apps still running and wants your confirmation before shutting down. To skip that dialog, you can edit a registry setting. Find the AutoEndTasks value under HKEY_CURRENT_USERControl PanelDesktop and set it to 1. This change tells Windows to automatically close any running applications without needing your confirmation. You can also adjust the HungAppTimeout and WaitToKillAppTimeout settings in the same place to reduce the wait time for unresponsive apps. After making these changes, your computer should shutdown automatically without waiting for user input.
Reply to this answer
!seam5mm
You can bind the shutdown command `shutdown /s /t 0` to your gamepad to make it easier. If you want to ensure any hanging apps are closed too, add `/f` to the command.
Reply to this answer
loopDeLoop
You can use the built-in command `shutdown.exe`. If you want something a bit more powerful, consider downloading PsShutdown from the Sysinternals suite. Both tools can be configured with switches to force shutdown, reboot, and more!
Reply to this answer
_towel rack
If you're using Steam Big Picture mode, you can access the exit menu which also has a shutdown option. It's way easier than trying to juggle a mouse or keyboard!
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions