Open in the explorer

Set App Installer Source Auto Update Interval In Minutes

Définir l’intervalle en minutes de mise à jour automatique de source du programme d’installation de l’application

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Desktop App Installer FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Programme d'installation d'application de bureau
Supported on
At least Windows Server 2016, Windows 10 Version 1809 FR: Windows Server 2016, Windows 10 version 1809 ou versions supérieures
ADMX file
DesktopAppInstaller.admx
Internal name
DesktopAppInstaller/SourceAutoUpdateInterval

Explanation

This policy controls the auto-update interval for package-based sources. The default source for Windows Package Manager is configured such that an index of the packages is cached on the local machine. The index is downloaded when a user invokes a command, and the interval has passed.

If you disable or do not configure this setting, the default interval or the value specified in the Windows Package Manager settings will be used.

If you enable this setting, the number of minutes specified will be used by the Windows Package Manager.

French text from Windows 11 26H2

Cette stratégie contrôle l’intervalle de mise à jour automatique pour les sources basées sur les packages. La source par défaut de Gestionnaire de package Windows est configurée de sorte qu’un index des packages soit mis en cache sur l’ordinateur local. L’index est téléchargé lorsqu’un utilisateur appelle une commande et que l’intervalle est écoulé.

Si vous désactivez ou ne configurez pas ce paramètre, l’intervalle par défaut ou la valeur spécifié dans les paramètres de Gestionnaire de package Windows sont utilisés.

Si vous activez ce paramètre, le nombre de minutes spécifié est utilisé par le Gestionnaire de package Windows.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppInstaller
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: DesktopAppInstaller/SourceAutoUpdateInterval
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Source Auto Update Interval In Minutes
Set-ItemProperty -Path $k -Name 'SourceAutoUpdateInterval' -Value 5 -Type DWord  # maximum 43200

Disable

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

Revert to "Not configured"

# Revert to "Not configured": DesktopAppInstaller/SourceAutoUpdateInterval
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller'
Remove-ItemProperty -Path $k -Name 'SourceAutoUpdateInterval' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Source Auto Update Interval In MinutesIntervalle en minutes de mise à jour automatique de la sourceSourceAutoUpdateIntervalNumeric boxdecimalSourceAutoUpdateIntervalREG_DWORD
Max: 43200 · Default (UI): 5

Availability

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016