Prevent restarts in Windows 10