Set disk cache directory

Policy ID
DiskCacheDir
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

Description

Configures the directory to use to store cached files.

If you enable this policy, Microsoft Edge uses the provided directory regardless of whether the user has specified the '--disk-cache-dir' flag. To avoid data loss or other unexpected errors, don't configure this policy to a volume's root directory or to a directory used for other purposes, because Microsoft Edge manages its contents.

See https://go.microsoft.com/fwlink/?linkid=2095041 for a list of variables you can use when specifying directories and paths.

If you don't configure this policy, the default cache directory is used, and users can override that default with the '--disk-cache-dir' command line flag.

Example value: ${user_home}/Edge_cache

Options

  • Set disk cache directory

Registry

ComputerHKEY_LOCAL_MACHINE
  • DiskCacheDirREG_SZ
UserHKEY_CURRENT_USER
  • DiskCacheDirREG_SZ

Other policies in the same category

View all policies in this category (438)