Sincronizza i file offline prima della sospensione: valore del Registro di sistema SyncAtSuspend (HKLM NetCache)ComputerHKLM\Software\Policies\Microsoft\Windows\NetCache

ID criterio
Pol_SyncAtSuspend_2
Ambito
Configurazione computer
Supportato in
Solo Windows Server 2003, Windows XP e Windows 2000
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Rete › File offline

Registro

SyncAtSuspend

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Azione:
Opzioni
VoceValore memorizzato
Rapida0
Completa1
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Rapida
"SyncAtSuspend"=dword:00000000
; Completa
"SyncAtSuspend"=dword:00000001
CMD
:: Opzioni (usarne solo una)

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

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