en-US edge computer user

Enable Ambient Authentication for InPrivate and Guest profiles

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

Microsoft Edge 152.0.4191.53

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

Path in the GPO console

Computer Configuration\Administrative Templates\Microsoft Edge

Description

Configures this policy to allow/disallow ambient authentication for InPrivate and Guest profiles in Microsoft Edge. Ambient Authentication is http authentication with default credentials when explicit credentials aren't provided via New Technology LAN Manager (NTLM)/Kerberos/Negotiate challenge/response schemes. If you set the policy to 'RegularOnly', it allows ambient authentication for Regular sessions only. InPrivate and Guest sessions aren't allowed to ambiently authenticate. If you set the policy to 'InPrivateAndRegular', it allows ambient authentication for InPrivate and Regular sessions. Guest sessions aren't allowed to ambiently authenticate. If you set the policy to 'GuestAndRegular', it allows ambient authentication for Guest and Regular sessions. InPrivate sessions aren't allowed to ambiently authenticate If you set the policy to 'All', it allows ambient authentication for all sessions. Ambient authentication is always allowed on regular profiles. In Microsoft Edge version 81 and later, if you don't configure this policy, ambient authentication is enabled in regular sessions only. Policy options mapping: * RegularOnly (0) = Enable ambient authentication in regular sessions only * InPrivateAndRegular (1) = Enable ambient authentication in InPrivate and regular sessions * GuestAndRegular (2) = Enable ambient authentication in guest and regular sessions * All (3) = Enable ambient authentication in regular, InPrivate, and guest sessions Use the preceding information when configuring this policy.

Registry

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

More options available

Options

Enable Ambient Authentication for InPrivate and Guest profiles
AmbientAuthenticationInPrivateModesEnabled enum
  • Enable ambient authentication in regular sessions only -> 0
  • Enable ambient authentication in InPrivate and regular sessions -> 1
  • Enable ambient authentication in guest and regular sessions -> 2
  • Enable ambient authentication in regular, InPrivate, and guest sessions -> 3

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: Enable Ambient Authentication for InPrivate and Guest profiles
; State: Enabled
; Scope: Computer (HKLM)
; Supported on: Microsoft Edge version 81, Windows 7 or later

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]
"AmbientAuthenticationInPrivateModesEnabled"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Enable Ambient Authentication for InPrivate and Guest profiles
# State: Enabled
# Scope: Computer (HKLM)
# Supported on: Microsoft Edge version 81, Windows 7 or later

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

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

Open the Builder

Embed this policy on your site

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