Windows Edge browser default user data path changes

Windows Edge browser default user data path changes

1 default path

windows EdgeBrowser default user data path:

C:\Users\用户名\AppData\Local\Microsoft\Edge\User Data

Where the browser plug-in folder is Default\Extensionsthe folder under it.

2 Modify user data path

The default is cunder the drive, so it will usually be transferred to other drive letters.
First create a folder directory and put the previous data copyinto the folder.

2.1 Modify user data path

  1. Via command line flags
  2. Via registry (higher priority)
2.1.1 Via command line flags

When you enter Microsoft Edgethe [Properties] page, you will see the original command line in the "Target" column, and then add the new property configuration.

# 用户数据文件夹配置
--user-data-dir="D:\\AppData\Edge\\User Data"
# 磁盘缓存目录
--disk-cache-dir=""

Parameters are separated by 空格spaces, so if there are spaces in the path, they can be 双引号quoted.

2.1.2 Through the registry

Enter in [Start Menu or Run] to regeditopen the Registry Editor, expand it HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft, and check whether Edgethe folder exists. If it does not exist, right-click Microsoft, select [New - Item], and name it Edge. No need to create if it exists.
Insert image description here

Right-click Edge, select New - String Value, and name it as follows:

DiskCacheDir:Set the disk cache directory

UserDataDir: Set the user data directory
Insert image description here
and then double-click to modify its data to the specified directory.

2.2 Modify the plug-in path

If you just want to modify the plug-in location, you can cmdexecute it from the command line mklink /D.

mklink /D "原路径" "目标路径"

Guess you like

Origin blog.csdn.net/weixin_51623642/article/details/131609755