2

Windows 10 does not always shutdown because "an app is preventing you from shutting down". Is there a setting to force shutdown regardless of "potential save loss"? I don't care if I lose work. This has become a problem for me because sometimes I stand up and walk away, and I come back 3 hours later and my computer is still on...

enter image description here

Kellen Stuart
  • 618
  • 3
  • 10
  • 20

2 Answers2

2

Create a shortcut, for example on your Desktop, to the command

shutdown /t 30 /s

and name it something description such as "Shutdown in 30 seconds".

As you'd expect, double-click the shortcut to run it. Your machine will shutdown after 30 seconds. Head to START and type shutdown /a if you didn't intend to do that!

Another useful shortcut is for a restart,

shutdown /t 30 /r

You can adjust the timeout up or down from 30 seconds as you like. (It must be non-zero; I tend to use 10 seconds as my "do it now" value.)

Chris Davies
  • 4,560
2

You can create a registry value which will instruct Windows to automatically kill tasks on shutdown.

Open regedit and navigate to Computer\HKEY_USERS\.DEFAULT\Control Panel\Desktop.

Right click in the right pane and create a new string key. Name the new key AutoEndTasks.

Double click on the newly created key and give it a value of 1.

Now Windows will close your apps automatically and shutdown.