Allow automatic restart sign-on (ARSO)

This commit is contained in:
ge0rdi
2026-07-17 19:19:10 +02:00
parent 37fdea7964
commit 95bbb17faf
+1 -1
View File
@@ -989,7 +989,7 @@ static bool ExecuteShutdownCommand(TMenuID menuCommand)
if (!ProceedWithShutdown(flags)) if (!ProceedWithShutdown(flags))
return true; return true;
flags |= SHUTDOWN_FORCE_OTHERS; flags |= SHUTDOWN_FORCE_OTHERS | SHUTDOWN_ARSO;
if (SetShutdownPrivileges()) if (SetShutdownPrivileges())
{ {