Non-default server disconnect actions: registry value Pol_CustomGoOfflineActions_1 (HKCU CustomGoOfflineActions)UserHKCU\Software\Policies\Microsoft\Windows\NetCache\CustomGoOfflineActions
- Policy ID
- Pol_CustomGoOfflineActions_1
- Scope
- User Configuration
- Supported on
- Windows Server 2003, Windows XP, and Windows 2000 only
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Network › Offline Files
Registry
(list values)
REG_SZUser- Enabled value
- Depends on the option value
- Element
- Customize actions:
- Value type
- REG_SZ
- Explicit value name
- true
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\NetCache\CustomGoOfflineActions] "<enter name>"="<enter value>"
CMD
reg add "HKCU\Software\Policies\Microsoft\Windows\NetCache\CustomGoOfflineActions" /v "<enter name>" /t REG_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\CustomGoOfflineActions' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\CustomGoOfflineActions' -Name '<enter name>' -PropertyType String -Value '<enter value>' -Force | Out-Null