Maßnahme bei Serververbindungstrennung: Registrierungswert GoOfflineAction (HKCU NetCache)BenutzerHKCU\Software\Policies\Microsoft\Windows\NetCache

Richtlinien-ID
Pol_GoOfflineAction_1
Bereich
Benutzerkonfiguration
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_DWORDBenutzer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Aktion:
Optionen
EintragGespeicherter Wert
Offline arbeiten0
Nie offline arbeiten1
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\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 "HKCU\Software\Policies\Microsoft\Windows\NetCache" /v "GoOfflineAction" /t REG_DWORD /d 0 /f
:: Nie offline arbeiten
reg add "HKCU\Software\Policies\Microsoft\Windows\NetCache" /v "GoOfflineAction" /t REG_DWORD /d 1 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\NetCache' -Force | Out-Null

# Optionen (nur eine verwenden)
# Offline arbeiten
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\NetCache' -Name 'GoOfflineAction' -PropertyType DWord -Value 0 -Force | Out-Null
# Nie offline arbeiten
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\NetCache' -Name 'GoOfflineAction' -PropertyType DWord -Value 1 -Force | Out-Null