Maßnahme bei Serververbindungstrennung: Registrierungswert GoOfflineAction (HKLM NetCache)ComputerHKLM\Software\Policies\Microsoft\Windows\NetCache
- Richtlinien-ID
- Pol_GoOfflineAction_2
- Bereich
- Computerkonfiguration
- Unterstützt unter
- Nur Windows Server 2003, Windows XP und Windows 2000
- Quelle
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
- Kategorie
- Netzwerk › Offlinedateien
Registrierung
GoOfflineAction
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\NetCache Aktueller Schlüssel
- Wert bei Aktivierung
- Hängt vom Wert der Option ab
- Element
- Aktion:
| Eintrag | Gespeicherter Wert |
|---|---|
| Offline arbeiten | 0 |
| Nie offline arbeiten | 1 |
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache] ; Optionen (nur eine verwenden) ; Offline arbeiten "GoOfflineAction"=dword:00000000 ; Nie offline arbeiten "GoOfflineAction"=dword:00000001
CMD
:: Optionen (nur eine verwenden) :: Offline arbeiten reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "GoOfflineAction" /t REG_DWORD /d 0 /f :: Nie offline arbeiten reg add "HKLM\Software\Policies\Microsoft\Windows\NetCache" /v "GoOfflineAction" /t REG_DWORD /d 1 /f
PowerShell
# Gemeinsam: Schlüssel erstellen New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null # Optionen (nur eine verwenden) # Offline arbeiten New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'GoOfflineAction' -PropertyType DWord -Value 0 -Force | Out-Null # Nie offline arbeiten New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetCache' -Name 'GoOfflineAction' -PropertyType DWord -Value 1 -Force | Out-Null