Open in the explorer

Random delay for scheduled task triggers

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Winget-AutoUpdate
Supported on
Winget-AutoUpdate version 2.6.0 or later
ADMX file
WAU.admx
Internal name
WAU/UpdatesTime_Delay

Explanation

This policy setting specifies the delay for the scheduled task.
A scheduled task random delay adds a random amount of wait time (up to the specified maximum) before the task starts.
This helps prevent many devices from running the task at the exact same time. This is not applicable to "on logon" triggers.

If this policy is enabled, the scheduled task will have a random delay set based on the time inputted.

If this policy is disabled or not configured, the default no delay.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Romanitho\Winget-AutoUpdate
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: WAU/UpdatesTime_Delay
$k = 'HKLM:\Software\Policies\Romanitho\Winget-AutoUpdate'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Random delay HH:mm
Set-ItemProperty -Path $k -Name 'WAU_UpdatesTimeDelay' -Value '<value>' -Type String

Disable

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

Revert to "Not configured"

# Revert to "Not configured": WAU/UpdatesTime_Delay
$k = 'HKLM:\Software\Policies\Romanitho\Winget-AutoUpdate'
Remove-ItemProperty -Path $k -Name 'WAU_UpdatesTimeDelay' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Random delay HH:mmUpdatesTimeDelayTimeText boxtextWAU_UpdatesTimeDelayREG_SZ

Application

Winget-AutoUpdate (Romanitho) — October 2026 templates

October 2026 templates from pl4nty/web-admx-tool.