Actie bij serververbinding verbreken: registerwaarde GoOfflineAction (HKLM NetCache)ComputerHKLM\Software\Policies\Microsoft\Windows\NetCache
- Beleids-ID
- Pol_GoOfflineAction_2
- Bereik
- Computerconfiguratie
- Ondersteund op
- Alleen Windows Server 2003, Windows XP, en Windows 2000
- Bron
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
- Categorie
- Netwerk › Offlinebestanden
Register
GoOfflineAction
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\NetCache Huidige sleutel
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- Actie:
| Item | Opgeslagen waarde |
|---|---|
| Offline werken | 0 |
| Verbinding nooit verbreken | 1 |
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache] ; Opties (gebruik er maar één) ; Offline werken "GoOfflineAction"=dword:00000000 ; Verbinding nooit verbreken "GoOfflineAction"=dword:00000001
CMD
:: Opties (gebruik er maar één) :: Offline werken reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "GoOfflineAction" /t REG_DWORD /d 0 /f :: Verbinding nooit verbreken reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "GoOfflineAction" /t REG_DWORD /d 1 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null # Opties (gebruik er maar één) # Offline werken New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'GoOfflineAction' -PropertyType DWord -Value 0 -Force | Out-Null # Verbinding nooit verbreken New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'GoOfflineAction' -PropertyType DWord -Value 1 -Force | Out-Null