Open in the explorer

Tasks are critical if slack is less than or equal to

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Microsoft Project 2016 › Project Options › Calculation › Calculation options for 'Project1'
Supported on
At least Windows Server 2008 R2 or Windows 7
ADMX file
proj16.admx
Internal name
proj16/L_PjCritIfLess

Explanation

Specifies the number of days of slack Project uses to determine critical tasks.

If you enable this setting, tasks are marked as critical if the slack is less than or equal to the value you specified.

If you disable or do not configure this setting, the user's default setting is used.

Registry

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\ms project\options\calculation
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: proj16/L_PjCritIfLess
$k = 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\calculation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Tasks are critical if slack is less than or equal to
Set-ItemProperty -Path $k -Name 'show as critical if slack' -Value 0 -Type DWord  # between 0 and 9999

Disable

# Disable: proj16/L_PjCritIfLess
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": proj16/L_PjCritIfLess
$k = 'HKCU:\software\policies\microsoft\office\16.0\ms project\options\calculation'
Remove-ItemProperty -Path $k -Name 'show as critical if slack' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Tasks are critical if slack is less than or equal toL_pjcritifless29Numeric boxdecimalshow as critical if slackREG_DWORD
Min: 0 · Max: 9999 · Default (UI): 0

Application

Microsoft 365 Apps / Office (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.