Enable Ambient Authentication for InPrivate and Guest profiles: registry value AmbientAuthenticationInPrivateModesEnabledUserHKCU\Software\Policies\Microsoft\Edge

Policy ID
AmbientAuthenticationInPrivateModesEnabled
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 81, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge

Registry

AmbientAuthenticationInPrivateModesEnabled

REG_DWORDUserComputer
Enabled value
Depends on the option value
Element
Enable Ambient Authentication for InPrivate and Guest profiles
Options
ItemStored value
Enable ambient authentication in regular sessions only0
Enable ambient authentication in InPrivate and regular sessions1
Enable ambient authentication in guest and regular sessions2
Enable ambient authentication in regular, InPrivate, and guest sessions3
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Options (use only one)
; Enable ambient authentication in regular sessions only
"AmbientAuthenticationInPrivateModesEnabled"=dword:00000000
; Enable ambient authentication in InPrivate and regular sessions
"AmbientAuthenticationInPrivateModesEnabled"=dword:00000001
; Enable ambient authentication in guest and regular sessions
"AmbientAuthenticationInPrivateModesEnabled"=dword:00000002
; Enable ambient authentication in regular, InPrivate, and guest sessions
"AmbientAuthenticationInPrivateModesEnabled"=dword:00000003
CMD
:: Options (use only one)

:: Enable ambient authentication in regular sessions only
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "AmbientAuthenticationInPrivateModesEnabled" /t REG_DWORD /d 0 /f
:: Enable ambient authentication in InPrivate and regular sessions
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "AmbientAuthenticationInPrivateModesEnabled" /t REG_DWORD /d 1 /f
:: Enable ambient authentication in guest and regular sessions
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "AmbientAuthenticationInPrivateModesEnabled" /t REG_DWORD /d 2 /f
:: Enable ambient authentication in regular, InPrivate, and guest sessions
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "AmbientAuthenticationInPrivateModesEnabled" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Options (use only one)
# Enable ambient authentication in regular sessions only
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'AmbientAuthenticationInPrivateModesEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
# Enable ambient authentication in InPrivate and regular sessions
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'AmbientAuthenticationInPrivateModesEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Enable ambient authentication in guest and regular sessions
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'AmbientAuthenticationInPrivateModesEnabled' -PropertyType DWord -Value 2 -Force | Out-Null
# Enable ambient authentication in regular, InPrivate, and guest sessions
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'AmbientAuthenticationInPrivateModesEnabled' -PropertyType DWord -Value 3 -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Options (use only one)
; Enable ambient authentication in regular sessions only
"AmbientAuthenticationInPrivateModesEnabled"=dword:00000000
; Enable ambient authentication in InPrivate and regular sessions
"AmbientAuthenticationInPrivateModesEnabled"=dword:00000001
; Enable ambient authentication in guest and regular sessions
"AmbientAuthenticationInPrivateModesEnabled"=dword:00000002
; Enable ambient authentication in regular, InPrivate, and guest sessions
"AmbientAuthenticationInPrivateModesEnabled"=dword:00000003
CMD
:: Options (use only one)

:: Enable ambient authentication in regular sessions only
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "AmbientAuthenticationInPrivateModesEnabled" /t REG_DWORD /d 0 /f
:: Enable ambient authentication in InPrivate and regular sessions
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "AmbientAuthenticationInPrivateModesEnabled" /t REG_DWORD /d 1 /f
:: Enable ambient authentication in guest and regular sessions
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "AmbientAuthenticationInPrivateModesEnabled" /t REG_DWORD /d 2 /f
:: Enable ambient authentication in regular, InPrivate, and guest sessions
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "AmbientAuthenticationInPrivateModesEnabled" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Options (use only one)
# Enable ambient authentication in regular sessions only
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'AmbientAuthenticationInPrivateModesEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
# Enable ambient authentication in InPrivate and regular sessions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'AmbientAuthenticationInPrivateModesEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Enable ambient authentication in guest and regular sessions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'AmbientAuthenticationInPrivateModesEnabled' -PropertyType DWord -Value 2 -Force | Out-Null
# Enable ambient authentication in regular, InPrivate, and guest sessions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'AmbientAuthenticationInPrivateModesEnabled' -PropertyType DWord -Value 3 -Force | Out-Null