Home
Windows Registry Tweaks
Index Page
Hardware
Disk Drives
Mice and Keyboards
Modems and Communications
Printers and Plotters
Processor and Motherboard
Video and Graphics
Network
Clients
Internet and Remote Access
Protocols
TCP/IP
WINS
Servers
Security
Active Desktop
Control Panel
Display
Network
Passwords
Printers
System
Desktop and Explorer
Login and Authentication
Network
Privacy
Remote Access
Start Menu and Taskbar
Documents and Folders
System
Software
Internet Explorer
Appearance
Network and Connections
Search Features
Security
Media Player
Microsoft Office
Outlook
Netmeeting
Outlook Express
pcAnywhere
Windows CE
Windows Messenger
Tips and Tricks
Configuration Files
AUTOEXEC.BAT
BOOT.INI
CONFIG.SYS
MSDOS.SYS
SYSTEM.INI
Customization
Keyboard Shortcuts
Windows
Accessories
Command Processor
Dr Watson
Registry Editor
Task Scheduler
Windows Installer
Appearance and Display
Icons and Fonts
Menus And Windows
Desktop
Explorer
File System
Caching and Memory
Files and Shortcuts
Maintenance
Login and Authentication
Start Menu and Taskbar
Documents and Folders
Taskbar
Startup and Shutdown
System
Scripts
Services
Windows File Checker
Troubleshooting
Crash Control
Logging
Repair
Registry FAQ
Dreamage
Book List
Downloads
Support Forums
Newsletter
Download Updates
Subscribe
Registry Guide for Windows Registry Guide for Windows
Part of the Dreamage Network
Dreamage Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Change the Internet Explorer User Agent String (All Windows)
Category: Home > Software > Internet Explorer > Network and Connections

Download this tweak with Tweak Manager!This tweak can be easily applied using Dreamage Tweak Manager.
Download a free trial now!

Whenever a web browser is used to connect to a remote web server it includes a User Agent string that contains details about browser and operating system. This tweak allows you to add or remove additional information from this string.

A standard user agent string would look similar to:

Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

Which means Internet Explorer 5.5 running on Windows 2000.

Changing the Default User Agent Values
Open your registry and find the key below. If it does not already exist then create it.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent]

Create three new string values called "Compatible", "Version" and "Platform". Set them to equal what you would like to be displayed instead of "compatible", "MSIE 5.5" and "Windows NT 5.0" respectively in the example above.

You can also modify the value of "(Default)" to change the browser name "Mozilla/4.0" in the example above.

Changing the Branded User Agent String
In addition when a customized user agent string is used it may contain additional information set by the company that created a branded version of the browser. For example a branded version from an ISP may look like:

Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; Your_ISP_Name)

Since this information is sent to the remote web server it may be stored in the web server log files and therefore possibly used to track branded versions of a web browser.

To change it open your registry and find the key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent\Post Platform].

Each value name listed in this key will be sent to the remote web server as an additional entry in the user agent string. To remove any additional information delete the values within the [Post Platform] key. To add additional entries create a string value and name it the string you want to be sent.

Restart Internet Explorer for the changes to take effect.

Registry Editor Example
|NameTypeData|
|{Default)REG_SZMozilla/4.0|
|CompatibleREG_SZcompatible|
|VersionREG_SZMSIE 5.5|
|PlatformREG_SZWindows NT 5.0 |
-
|HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Se...|
-

Settings:
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
Internet Settings\5.0\User Agent]

Name: (Default), Compatible, Version, Platform
Type: REG_SZ (String Value)

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: June 6, 2002

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License