Enable Ambient Authentication for InPrivate and Guest profiles: registry value AmbientAuthenticationInPrivateModesEnabledComputerHKLM\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_DWORDComputerUser…\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
- Enable Ambient Authentication for InPrivate and Guest profiles
| Item | Stored value |
|---|---|
| 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 |
Apply with .reg · CMD · PowerShell
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
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