en-US windows computer user

Customize user agent string

Verified with Windows 11 25H2 — updated on July 23, 2026

Windows 11 25H2

Supported on: At least Internet Explorer 7.0

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Internet Explorer

Description

This policy setting allows you to customize the Internet Explorer version string as reported to web servers in the HTTP User Agent header. If you enable this policy setting, Internet Explorer sends the specified custom string in the version portion of the User Agent header. If you disable or do not configure this policy setting, Internet Explorer sends the current Internet Explorer version in the User Agent header (for example, "MSIE 7.0").

Registry

HKLM Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent
HKCU Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent

More options available

Options

Enter IE Version String
Version text

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: Customize user agent string
; State: Enabled
; Scope: Computer (HKLM)
; Supported on: At least Internet Explorer 7.0

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent]
"Version"=""
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Customize user agent string
# State: Enabled
# Scope: Computer (HKLM)
# Supported on: At least Internet Explorer 7.0

$path = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'Version' -Value '' -Type String

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