Configure InPrivate mode availability
Explanation
Specifies whether the user can open pages in InPrivate mode in Microsoft Edge.
If you don't configure this policy or set it to 'Enabled', users can open pages in InPrivate mode.
Set this policy to 'Disabled' to stop users from using InPrivate mode.
Set this policy to 'Forced' to always use InPrivate mode.
The 'InPrivateModeUrlAllowlist' (Allow access to a list of URLs in InPrivate mode.) policy takes precedence over this policy and can allow specific URLs to open in InPrivate mode.
If this policy disables InPrivate mode and an allowlist is configured, InPrivate mode is permitted only for URLs that match entries in the allowlist. All other URLs are blocked from opening in InPrivate mode.
Policy options mapping:
* Enabled (0) = InPrivate mode available
* Disabled (1) = InPrivate mode disabled
* Forced (2) = InPrivate mode forced
Use the preceding information when configuring this policy.
Use cases
Controls InPrivate browsing: available (0, the default), disabled (1) or forced (2), in which case pages always open in InPrivate. Disabling InPrivate meets a traceability need on machines where browsing history must remain available.
The “InPrivateModeUrlAllowlist” policy takes precedence: if InPrivate is disabled and an allowlist is set, it is permitted only for the listed URLs, and every other page is blocked from opening in InPrivate. The setting can be mandatory and applies per profile.
Microsoft source: Microsoft Edge Browser Policy Documentation: InPrivateModeAvailability
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeHKEY_CURRENT_USER\Software\Policies\Microsoft\Edge- 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/InPrivateModeAvailability
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Configure InPrivate mode availability
# Possible options:
# InPrivate mode available = 0
# InPrivate mode disabled = 1
# InPrivate mode forced = 2
Set-ItemProperty -Path $k -Name 'InPrivateModeAvailability' -Value 0 -Type DWordDisable
# Disable: msedge/InPrivateModeAvailability
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": msedge/InPrivateModeAvailability
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'InPrivateModeAvailability' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Configure InPrivate mode availabilityInPrivateModeAvailability | Drop-down listenum | InPrivateModeAvailability | REG_DWORD |
|
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.