When I go to reboot my laptop (one that I access remotely often), a lot of the time it will hang and a process will completely prevent it from shutting down or rebooting. Is there any registry hack or anything that I can throw on my Windows 7 system that will force those programs to close?
You can create a command script like this..
And save this script on desktop with the name of
And if you are using it remotely then you can try the command
Or you can set the time to shutdown your remote PC too...
Registry setting to auto-end tasks at shutdown: Type
WARNING: this will always shut down Windows, even if an application is open with unsaved changes.
What worked for me to avoid pop-up with buttons
It may be however dangerous not to give enough time for services or applications to shut down gracefully.
Here the following is also proposed:
If that does not work, try also: