Set disk cache size, in bytes: registry value DiskCacheSizeUserHKCU\Software\Policies\Microsoft\Edge
- Policy ID
- DiskCacheSize
- Scope
- Computer Configuration, User Configuration
- Supported on
- Microsoft Edge version 77, Windows 7 or later
- Source
- Microsoft Edge Policy Templates (version 155.0.4283.45)
- Category
- Microsoft Edge
Registry
DiskCacheSize
REG_DWORDUserComputer…\Software\Policies\Microsoft\EdgeHKCU\Software\Policies\Microsoft\Edge Current key
HKLM\Software\Policies\Microsoft\Edge
HKLM\Software\Policies\Microsoft\Edge
- Enabled value
- Depends on the option value
- Element
- Set disk cache size:
- Value type
- REG_DWORD
- Maximum value
- 2000000000
- Minimum value
- 0
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "DiskCacheSize"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DiskCacheSize" /t REG_DWORD /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\Edge' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DiskCacheSize' -PropertyType DWord -Value '<enter value>' -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "DiskCacheSize"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DiskCacheSize" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DiskCacheSize' -PropertyType DWord -Value '<enter value>' -Force | Out-Null