en-US windows computer user

Turn off sending UTF-8 query strings for URLs

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

Windows 11 25H2

Supported on: At least Internet Explorer 11.0

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Advanced Page

Description

This policy setting determines whether Internet Explorer uses 8-bit Unicode Transformation Format (UTF-8) to encode query strings in URLs before sending them to servers or to proxy servers. If you enable this policy setting, you must specify when to use UTF-8 to encode query strings: 0) Never encode query strings. 1) Only encode query strings for URLs that aren't in the Intranet zone. 2) Only encode query strings for URLs that are in the Intranet zone. 3) Always encode query strings. If you disable or don't configure this policy setting, users can turn this behavior on or off, using Internet Explorer Advanced Options settings. The default is to encode all query strings in UTF-8.

Registry

HKLM Software\Policies\Microsoft\Internet Explorer\Control Panel
HKCU Software\Policies\Microsoft\Internet Explorer\Control Panel

More options available

Options

Select the desired behavior
UTF8URLQuery enum
  • Never encode query strings in UTF-8 -> 0 (default)
  • Encode query strings in UTF-8 only in non-Intranet URLs -> 1
  • Encode query strings in UTF-8 only in Intranet URLs -> 2
  • Always encode query strings in UTF-8 -> 3

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: Turn off sending UTF-8 query strings for URLs
; State: Enabled
; Scope: Computer (HKLM)
; Supported on: At least Internet Explorer 11.0

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Control Panel]
"UTF8URLQuery"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Turn off sending UTF-8 query strings for URLs
# State: Enabled
# Scope: Computer (HKLM)
# Supported on: At least Internet Explorer 11.0

$path = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Control Panel'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'UTF8URLQuery' -Value 0 -Type DWord

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