Configura sincronizzazione in background: valore del Registro di sistema BackgroundSyncEnabled e altri 6ComputerHKLM\Software\Policies\Microsoft\Windows\NetCache

ID criterio
Pol_BackgroundSyncSettings
Ambito
Configurazione computer
Supportato in
Almeno Windows Server 2008 R2 o Windows 7
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Rete › File offline

Registro

BackgroundSyncEnabled

REG_DWORDComputer
Valore abilitato
1
Valore disabilitato
0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache]

; Opzioni (usarne solo una)
; Abilitato
"BackgroundSyncEnabled"=dword:00000001
; Disabilitato
"BackgroundSyncEnabled"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Abilitato
reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncEnabled" /t REG_DWORD /d 1 /f
:: Disabilitato
reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null

# Opzioni (usarne solo una)
# Abilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'BackgroundSyncEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'BackgroundSyncEnabled' -PropertyType DWord -Value 0 -Force | Out-Null

BackgroundSyncPeriodMin

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Intervallo di sincronizzazione (minuti)
Tipo di valore
REG_DWORD
Valore minimo
1
Valore massimo
1440
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache]

; Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati
"BackgroundSyncPeriodMin"=dword:<inserisci valore>
CMD
:: Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati

reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncPeriodMin" /t REG_DWORD /d "<inserisci valore>" /f
PowerShell
# Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati

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 '<inserisci valore>' -Force | Out-Null

BackgroundSyncMaxStartMin

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Scostamento sincronizzazione (minuti)
Tipo di valore
REG_DWORD
Valore minimo
0
Valore massimo
3600
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache]

; Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati
"BackgroundSyncMaxStartMin"=dword:<inserisci valore>
CMD
:: Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati

reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncMaxStartMin" /t REG_DWORD /d "<inserisci valore>" /f
PowerShell
# Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati

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 '<inserisci valore>' -Force | Out-Null

BackgroundSyncIgnoreBlockOutAfterMin

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Tempo massimo consentito senza sincronizzazione (minuti)
Tipo di valore
REG_DWORD
Valore minimo
0
Valore massimo
4294967295
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache]

; Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati
"BackgroundSyncIgnoreBlockOutAfterMin"=dword:<inserisci valore>
CMD
:: Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati

reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncIgnoreBlockOutAfterMin" /t REG_DWORD /d "<inserisci valore>" /f
PowerShell
# Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati

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 '<inserisci valore>' -Force | Out-Null

BackgroundSyncBlockOutStartTime

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Ora di avvio blocco (HHMM)
Tipo di valore
REG_DWORD
Valore minimo
0
Valore massimo
2400
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache]

; Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati
"BackgroundSyncBlockOutStartTime"=dword:<inserisci valore>
CMD
:: Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati

reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncBlockOutStartTime" /t REG_DWORD /d "<inserisci valore>" /f
PowerShell
# Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati

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 '<inserisci valore>' -Force | Out-Null

BackgroundSyncBlockOutDurationMin

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Durata blocco (minuti)
Tipo di valore
REG_DWORD
Valore minimo
0
Valore massimo
1440
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache]

; Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati
"BackgroundSyncBlockOutDurationMin"=dword:<inserisci valore>
CMD
:: Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati

reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncBlockOutDurationMin" /t REG_DWORD /d "<inserisci valore>" /f
PowerShell
# Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati

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 '<inserisci valore>' -Force | Out-Null

BackgroundSyncEnabledForForcedOffline

REG_DWORDComputer
Selezionato
1
Non selezionato
0
Elemento
Abilita sincronizzazione in background per condivisioni in modalità "Offline" selezionata dall'utente
Tipo di valore
REG_DWORD
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache]

; Opzioni (usarne solo una)
; Selezionato
"BackgroundSyncEnabledForForcedOffline"=dword:00000001
; Non selezionato
"BackgroundSyncEnabledForForcedOffline"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Selezionato
reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncEnabledForForcedOffline" /t REG_DWORD /d 1 /f
:: Non selezionato
reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "BackgroundSyncEnabledForForcedOffline" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null

# Opzioni (usarne solo una)
# Selezionato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'BackgroundSyncEnabledForForcedOffline' -PropertyType DWord -Value 1 -Force | Out-Null
# Non selezionato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'BackgroundSyncEnabledForForcedOffline' -PropertyType DWord -Value 0 -Force | Out-Null