Sincronizza i file offline prima della sospensione: valore del Registro di sistema SyncAtSuspend (HKCU NetCache)UtenteHKCU\Software\Policies\Microsoft\Windows\NetCache
- ID criterio
- Pol_SyncAtSuspend_1
- Ambito
- Configurazione utente
- 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_DWORDUtenteHKCU\Software\Policies\Microsoft\Windows\NetCache Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Azione:
| Voce | Valore memorizzato |
|---|---|
| Rapida | 0 |
| Completa | 1 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\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 "HKCU\Software\Policies\Microsoft\Windows\NetCache" /v "SyncAtSuspend" /t REG_DWORD /d 0 /f :: Completa reg add "HKCU\Software\Policies\Microsoft\Windows\NetCache" /v "SyncAtSuspend" /t REG_DWORD /d 1 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null # Opzioni (usarne solo una) # Rapida New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\NetCache' -Name 'SyncAtSuspend' -PropertyType DWord -Value 0 -Force | Out-Null # Completa New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\NetCache' -Name 'SyncAtSuspend' -PropertyType DWord -Value 1 -Force | Out-Null