Keep tasks on nearest working day
| Registry value | keeptaskonnearestworkingtimewhenmadeautoscheduled |
| Group Policy | Keep tasks on nearest working day |
| German version | Vorgänge am nächstgelegenen Arbeitstag halten |
| Intune settings catalog | Keep tasks on nearest working day (User) |
| Scope | User · HKCU |
| ADMX | proj16.admx · L_KeepTasksOnNearestWorkingDay |
Group Policy path
Registry
| Value | Data |
|---|---|
HKCU\Software\policies\microsoft\office\16.0\ms project\options\scheduling | |
| keeptaskonnearestworkingtimewhenmadeautoscheduled | Enabled = 1 · Disabled = 0 |
Not configured = the value does not exist – the application default applies and users may change the setting.
PowerShell
Check the current value (read-only)
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
$key = "$root\Software\policies\microsoft\office\16.0\ms project\options\scheduling"
foreach ($name in @('keeptaskonnearestworkingtimewhenmadeautoscheduled')) {
try { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
catch { '{0}: not configured' -f $name }
}Admin rights needed: HKCU\Software\Policies is read-only for standard users. An elevated session writes to the admin's own HKCU – to set it for another signed-in user, change $root to Registry::HKEY_USERS\<SID>.
Enable
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
try {
$key = "$root\Software\policies\microsoft\office\16.0\ms project\options\scheduling"
if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
New-ItemProperty -Path $key -Name 'keeptaskonnearestworkingtimewhenmadeautoscheduled' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null # Enabled
'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }Disable
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
try {
$key = "$root\Software\policies\microsoft\office\16.0\ms project\options\scheduling"
if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
New-ItemProperty -Path $key -Name 'keeptaskonnearestworkingtimewhenmadeautoscheduled' -PropertyType DWord -Value 0 -Force -ErrorAction Stop | Out-Null # Disabled
'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }Reset to Not configured
# --- Settings --- $root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>' $key = "$root\Software\policies\microsoft\office\16.0\ms project\options\scheduling" Remove-ItemProperty -Path $key -Name 'keeptaskonnearestworkingtimewhenmadeautoscheduled' -ErrorAction SilentlyContinue 'Policy values removed (Not configured).'
Intune (settings catalog)
Keep tasks on nearest working day (User)
Settings catalog → Add settings → search for the name above.
Intune Settings Catalog Viewer ↗
Alternative: custom profile (OMA-URI)
| OMA-URI | ./User/Vendor/MSFT/Policy/Config/proj16v2~Policy~L_Proj~L_ProjectOptions~L_PjSchedule~L_PjSchedDoc/L_KeepTasksOnNearestWorkingDay |
| Data type | String |
| Value | <enabled/> · <disabled/> |
Cloud Policy
Cloud Policy (config.office.com → Customization → Policy Management) offers many user policies of the Microsoft 365 Apps – search for Keep tasks on nearest working day. It also applies to unmanaged devices and wins over GPO and Intune for the same setting.
Microsoft explanation
This policy setting will enable a constraint to be applied to tasks when they are toggled from Manually Scheduled Mode to Automatically Scheduled Mode, allowing the task date to be as close to the user-entered date as possible.
If you enable this policy setting, the task date will be as close to the user-entered date as possible when tasks are toggled from Manually Scheduled Mode to Automatically Scheduled Mode.
If you disable or do not configure this policy setting, the task date will not to be as close to the user-entered date when tasks are toggled from Manually Scheduled Mode to Automatically Scheduled Mode.
Same category: Microsoft Project 2016 › Project Options › Schedule › Scheduling options for 'Project1'
- Set default start date for new tasksnew tasks start on current date
- Set new tasks to be automatically schedulednewtasksaremanuallyscheduled
- Update manually scheduled tasks when editing linksupdatemanuallyscheduledtaskswheneditinglinks
- Tasks can be made inactivecanmakeinactivetasks
- Show tasks schedule warningsshowtaskwarnings
- Show tasks schedule suggestionsshowtasksuggestions
- New tasksnew tasks start on current date
- Duration is entered indefault duration units
- Work is entered indefault work units
- Default task typedefault task type
- New tasks are effort drivennew tasks effort driven
- Autolink inserted or moved tasksedit with auto link
All policies in this category · All 140 policies of proj16.admx