diff --git a/subsystems/win32/csrsrv/procsup.c b/subsystems/win32/csrsrv/procsup.c index 8d00dc202a3..929a0bc39a6 100644 --- a/subsystems/win32/csrsrv/procsup.c +++ b/subsystems/win32/csrsrv/procsup.c @@ -64,8 +64,8 @@ CsrSetToNormalPriority(VOID) * @name CsrSetToShutdownPriority * * The CsrSetToShutdownPriority routine sets the current NT Process' - * priority to the boosted priority for CSR Processes doing shutdown. - * Additonally, it acquires the Shutdown Privilege required for shutdown. + * priority to the boosted priority for CSR Processes doing shutdown, + * acquiring also the required Increase Base Priority privilege. * * @param None. * @@ -82,8 +82,8 @@ CsrSetToShutdownPriority(VOID) KPRIORITY BasePriority = PROCESS_PRIORITY_NORMAL_FOREGROUND + 6; BOOLEAN Old; - /* Get the shutdown privilege */ - if (NT_SUCCESS(RtlAdjustPrivilege(SE_SHUTDOWN_PRIVILEGE, + /* Get the Increase Base Priority privilege */ + if (NT_SUCCESS(RtlAdjustPrivilege(SE_INC_BASE_PRIORITY_PRIVILEGE, TRUE, FALSE, &Old)))