Configurer la synchronisation en arrière-plan : valeur de Registre BackgroundSyncEnabled et 6 autresOrdinateurHKLM\Software\Policies\Microsoft\Windows\NetCache
- ID de stratégie
- Pol_BackgroundSyncSettings
- Étendue
- Configuration ordinateur
- Pris en charge sur
- Au minimum Windows Server 2008 R2 ou Windows 7
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Catégorie
- Réseau › Fichiers hors connexion
Registre
BackgroundSyncEnabled
REG_DWORDOrdinateurHKLM\Software\Policies\Microsoft\Windows\NetCache Clé actuelle
- Valeur si activée
- 1
- Valeur si désactivée
- 0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache] ; Options (en utiliser une seule) ; Activé "BackgroundSyncEnabled"=dword:00000001 ; Désactivé "BackgroundSyncEnabled"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Activé reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncEnabled" /t REG_DWORD /d 1 /f :: Désactivé reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null # Options (en utiliser une seule) # Activé New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'BackgroundSyncEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Désactivé New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'BackgroundSyncEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
BackgroundSyncPeriodMin
REG_DWORDOrdinateurHKLM\Software\Policies\Microsoft\Windows\NetCache Clé actuelle
- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- Intervalle de synchronisation (minutes)
- Type de valeur
- REG_DWORD
- Valeur minimale
- 1
- Valeur maximale
- 1440
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache] ; Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données "BackgroundSyncPeriodMin"=dword:<saisir la valeur>
CMD
:: Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncPeriodMin" /t REG_DWORD /d "<saisir la valeur>" /f
PowerShell
# Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'BackgroundSyncPeriodMin' -PropertyType DWord -Value '<saisir la valeur>' -Force | Out-Null
BackgroundSyncMaxStartMin
REG_DWORDOrdinateurHKLM\Software\Policies\Microsoft\Windows\NetCache Clé actuelle
- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- Écart de synchronisation (minutes)
- Type de valeur
- REG_DWORD
- Valeur minimale
- 0
- Valeur maximale
- 3600
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache] ; Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données "BackgroundSyncMaxStartMin"=dword:<saisir la valeur>
CMD
:: Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncMaxStartMin" /t REG_DWORD /d "<saisir la valeur>" /f
PowerShell
# Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'BackgroundSyncMaxStartMin' -PropertyType DWord -Value '<saisir la valeur>' -Force | Out-Null
BackgroundSyncIgnoreBlockOutAfterMin
REG_DWORDOrdinateurHKLM\Software\Policies\Microsoft\Windows\NetCache Clé actuelle
- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- Durée maximale autorisée sans synchronisation (minutes)
- Type de valeur
- REG_DWORD
- Valeur minimale
- 0
- Valeur maximale
- 4294967295
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache] ; Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données "BackgroundSyncIgnoreBlockOutAfterMin"=dword:<saisir la valeur>
CMD
:: Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncIgnoreBlockOutAfterMin" /t REG_DWORD /d "<saisir la valeur>" /f
PowerShell
# Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'BackgroundSyncIgnoreBlockOutAfterMin' -PropertyType DWord -Value '<saisir la valeur>' -Force | Out-Null
BackgroundSyncBlockOutStartTime
REG_DWORDOrdinateurHKLM\Software\Policies\Microsoft\Windows\NetCache Clé actuelle
- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- Heure de début du blocage (HHMM)
- Type de valeur
- REG_DWORD
- Valeur minimale
- 0
- Valeur maximale
- 2400
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache] ; Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données "BackgroundSyncBlockOutStartTime"=dword:<saisir la valeur>
CMD
:: Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncBlockOutStartTime" /t REG_DWORD /d "<saisir la valeur>" /f
PowerShell
# Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'BackgroundSyncBlockOutStartTime' -PropertyType DWord -Value '<saisir la valeur>' -Force | Out-Null
BackgroundSyncBlockOutDurationMin
REG_DWORDOrdinateurHKLM\Software\Policies\Microsoft\Windows\NetCache Clé actuelle
- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- Durée du blocage (minutes)
- Type de valeur
- REG_DWORD
- Valeur minimale
- 0
- Valeur maximale
- 1440
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache] ; Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données "BackgroundSyncBlockOutDurationMin"=dword:<saisir la valeur>
CMD
:: Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncBlockOutDurationMin" /t REG_DWORD /d "<saisir la valeur>" /f
PowerShell
# Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'BackgroundSyncBlockOutDurationMin' -PropertyType DWord -Value '<saisir la valeur>' -Force | Out-Null
BackgroundSyncEnabledForForcedOffline
REG_DWORDOrdinateurHKLM\Software\Policies\Microsoft\Windows\NetCache Clé actuelle
- Cochée
- 1
- Décochée
- 0
- Élément
- Activer la synchronisation en arrière-plan pour les partages placés en mode de travail hors connexion par l’utilisateur
- Type de valeur
- REG_DWORD
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache] ; Options (en utiliser une seule) ; Cochée "BackgroundSyncEnabledForForcedOffline"=dword:00000001 ; Décochée "BackgroundSyncEnabledForForcedOffline"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Cochée reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncEnabledForForcedOffline" /t REG_DWORD /d 1 /f :: Décochée reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncEnabledForForcedOffline" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null # Options (en utiliser une seule) # Cochée New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'BackgroundSyncEnabledForForcedOffline' -PropertyType DWord -Value 1 -Force | Out-Null # Décochée New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'BackgroundSyncEnabledForForcedOffline' -PropertyType DWord -Value 0 -Force | Out-Null