Specify network directories to sync at logon/logoff time only: registry value CscSuspendDirsUserHKCU\Software\Policies\Microsoft\Windows\System
- Policy ID
- CscSuspendDirectories
- Scope
- User Configuration
- Supported on
- At least Windows Vista
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- System › User Profiles
Registry
CscSuspendDirs
REG_EXPAND_SZUserHKCU\Software\Policies\Microsoft\Windows\System Current key
- Enabled value
- Depends on the option value
- Element
- Sync these network directories at logon/logoff only:
- Value type
- REG_EXPAND_SZ
- Maximum length
- 4096
- Expandable string (REG_EXPAND_SZ)
- true
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System] ; Value names and types follow the ADMX. Replace <enter value> below with your own data ; hex(2) and hex(7) data must be written as hexadecimal (UTF-16LE) "CscSuspendDirs"=hex(2):<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKCU\Software\Policies\Microsoft\Windows\System" /v "CscSuspendDirs" /t REG_EXPAND_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\System' -Name 'CscSuspendDirs' -PropertyType ExpandString -Value '<enter value>' -Force | Out-Null