Amphetamine will help prevent sleep modes and screensavers, and also your system from shutting down/restarting.
Available in a fully portable or installer version, it's primarily intended for PC tech usage while remaining easy enough to utilize even for the casual user. Amphetamine can prevent three things, (all are individually optional): Screensaver, Sleep Mode, and System Shutdown/Restart. While there are other similar apps designed to prevent screensaver and sleep modes, there aren't many that prevent Windows from shutting down as well. FoolishIT has additionally added more extended functionality that you wonâ€™t find in the others.
Optional/extended functionality for performing custom actions when a shutdown/restart is initiated and prevented by Amphetamine include:
Ensure preconfigured services are started.
Ensure preconfigured programs are running.
Run a program/script.
Email you (the administrator) notifying you of the prevention.
Version History for Amphetamine:
Improvements to the Shutdown/Restart prevention:
-Added Group Policy setting to block Windows Update from initiating automatic reboots when users are logged in. Because this is not guaranteed to prevent automated restarts on non-enterprise editions of Windows in all circumstances, see the following addition.
-Added blocking of "MusNotification.exe" which prevents Windows 10 from initiating automated restarts due to Windows Update (this also prevents displaying Windows Update notifications, such as updates available or the need for restart after an update is installed.)
-Added blocking of "shutdown.exe" which many apps will use instead of API (laziness) that can also be used with a force flag which would override Amphetamine; now the file is blocked entirely from all usage.