Set the roaming profile directory: registry value RoamingProfileLocation (Edge)ComputerHKLM\Software\Policies\Microsoft\Edge
- Policy ID
- RoamingProfileLocation
- Scope
- Computer Configuration, User Configuration
- Supported on
- Microsoft Edge version 85, Windows 7 or later
- Source
- Microsoft Edge Policy Templates (version 155.0.4283.45)
- Category
- Microsoft Edge
Registry
RoamingProfileLocation
REG_SZComputerUser…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge Current key
HKCU\Software\Policies\Microsoft\Edge
HKCU\Software\Policies\Microsoft\Edge
- Enabled value
- Depends on the option value
- Element
- Set the roaming profile directory
- Value type
- REG_SZ
- Maximum length
- 1000000
Apply with .reg · CMD · PowerShell
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 "RoamingProfileLocation"="<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 "RoamingProfileLocation" /t REG_SZ /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 'RoamingProfileLocation' -PropertyType String -Value '<enter value>' -Force | Out-Null
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 "RoamingProfileLocation"="<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 "RoamingProfileLocation" /t REG_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\Edge' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'RoamingProfileLocation' -PropertyType String -Value '<enter value>' -Force | Out-Null