Article directory
Windows Edge browser default user data path changes
1 default path
windows Edge
Browser default user data path:
C:\Users\用户名\AppData\Local\Microsoft\Edge\User Data
Where the browser plug-in folder is Default\Extensions
the folder under it.
2 Modify user data path
The default is c
under the drive, so it will usually be transferred to other drive letters.
First create a folder directory and put the previous data copy
into the folder.
2.1 Modify user data path
- Via command line flags
- Via registry (higher priority)
2.1.1 Via command line flags
When you enter Microsoft Edge
the [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 regedit
open the Registry Editor, expand it HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft
, and check whether Edge
the folder exists. If it does not exist, right-click Microsoft
, select [New - Item], and name it Edge
. No need to create if it exists.
Right-click Edge, select New - String Value, and name it as follows:
DiskCacheDir
:Set the disk cache directory
UserDataDir
: Set the user data directory
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 cmd
execute it from the command line mklink /D
.
mklink /D "原路径" "目标路径"