en-US edge computer user

Set download directory

Verified with Microsoft Edge 152.0.4191.53 — updated on July 12, 2026

Microsoft Edge 152.0.4191.53

Supported on: Microsoft Edge version 77, Windows 7 or later

Path in the GPO console

Computer Configuration\Administrative Templates\Microsoft Edge - Default Settings (users can override)

Description

Configures the directory to use when downloading files. If you enable this policy, Microsoft Edge uses the provided directory regardless of whether the user specified one or chose to be prompted for download location every time. See https://go.microsoft.com/fwlink/?linkid=2095041 for a list of variables that can be used. If you disable or don't configure this policy, the default download directory is used, and the user can change it. If you set an invalid path, Microsoft Edge defaults to the user's default download directory. If the folder specified by the path doesn't exist, the download triggers a prompt that asks the user where they want to save their download. Example value: Linux-based OSes (including Mac): /home/${user_name}/Downloads Windows: C:\Users\${user_name}\Downloads

Registry

HKLM Software\Policies\Microsoft\Edge\Recommended
HKCU Software\Policies\Microsoft\Edge\Recommended

More options available

Options

Set download directory
DownloadDirectory text

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

Scope

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Set download directory
; State: Enabled
; Scope: Computer (HKLM)
; Supported on: Microsoft Edge version 77, Windows 7 or later

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\Recommended]
"DownloadDirectory"=""
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Set download directory
# State: Enabled
# Scope: Computer (HKLM)
# Supported on: Microsoft Edge version 77, Windows 7 or later

$path = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'DownloadDirectory' -Value '' -Type String

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder
What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview