Open in the explorer

Set default download directory

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Microsoft Edge - Default Settings (users can override) › Downloads User Configuration › Policies › Administrative Templates › Microsoft Edge - Default Settings (users can override) › Downloads
Supported on
Microsoft Edge version 147, Windows 7 or later
ADMX file
msedge.admx
Internal name
msedge/DefaultDownloadDirectory_recommended

Explanation

This policy sets the default directory that Microsoft Edge uses to download files. Users can change the directory through browser settings.

If you don't configure this policy, Microsoft Edge uses the platform-specific default download directory.

This policy has no effect if the DownloadDirectory policy is set.

For a list of supported variables, see https://learn.microsoft.com/deployedge/edge-learnmore-create-user-directory-vars .

Example value: /home/${user_name}/Downloads

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\Recommended
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\Recommended
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: msedge/DefaultDownloadDirectory_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set default download directory
Set-ItemProperty -Path $k -Name 'DefaultDownloadDirectory' -Value '<value>' -Type String

Disable

# Disable: msedge/DefaultDownloadDirectory_recommended
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": msedge/DefaultDownloadDirectory_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
Remove-ItemProperty -Path $k -Name 'DefaultDownloadDirectory' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Set default download directoryDefaultDownloadDirectoryText boxtextDefaultDownloadDirectoryREG_SZ
Max length: 1000000

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.