Enable or disable freezing the User-Agent string at major version 99 (obsolete)
Explanation
OBSOLETE: This policy is obsolete and doesn't work after Microsoft Edge 117.
This policy was removed in Microsoft Edge 118 and is ignored if configured.
This policy controls whether the User-Agent string major
version should be frozen at 99.
The User-Agent request header lets websites identify the application,
operating system, vendor, and/or version of the requesting user agent.
Some websites make assumptions about how this header is formatted and may
encounter issues with version strings that include three digits in the
major position (for example, 100.0.0.0).
If you set this policy to 'Default' or don't configure it, then it defaults to
browser settings for the User-Agent string major version.
If you set this policy to 'ForceEnabled', the User-Agent string will always report the
major version as 99 and include the browser's major version in the minor
position. For example, browser version 101.0.0.0 would send a User-Agent
request header that reports version 99.101.0.0.
If you set this policy to 'ForceDisabled', the User-Agent string won't freeze the
major version.
This policy is temporary and will be deprecated in the future. If this policy and
User-Agent Reduction are
both enabled, the User-Agent version string will always be 99.0.0.0.
Policy options mapping:
* Default (0) = Default to browser settings for User-Agent string version.
* ForceDisabled (1) = The User-Agent string won't freeze the major version.
* ForceEnabled (2) = The User-Agent string will freeze the major version as 99 and include the browser's major version in the minor position.
Use the preceding information when configuring this policy.
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/ForceMajorVersionToMinorPositionInUserAgent
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Enable or disable freezing the User-Agent string at major version 99
# Possible options:
# Default to browser settings for User-Agent string version. = 0
# The User-Agent string won't freeze the major version. = 1
# The User-Agent string will freeze the major version as 99 and include the browser's major version in the minor position. = 2
Set-ItemProperty -Path $k -Name 'ForceMajorVersionToMinorPositionInUserAgent' -Value 0 -Type DWordDisable
# Disable: msedge/ForceMajorVersionToMinorPositionInUserAgent
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": msedge/ForceMajorVersionToMinorPositionInUserAgent
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'ForceMajorVersionToMinorPositionInUserAgent' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Enable or disable freezing the User-Agent string at major version 99ForceMajorVersionToMinorPositionInUserAgent | Drop-down listenum | ForceMajorVersionToMinorPositionInUserAgent | REG_DWORD |
|
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.