Enable User Agent in Internet Explorer on Windows Embedded Compact 7 based devices

Article ID: 17104520

Issue / Question

Enable User Agent in Internet Explorer on WEC7 (Windows Embedded Compact 7) based devices.

Issue Detail

By default, User Agent is disabled in Internet Explorer on WEC7 devices.

Applicable To

All WEC7 devices – MC92, WT41, MC32, VC70, MC18

Resolution / Answer

Issue Details:

A Browser User-Agent is information that a browser passes along to a webserver when user visits any web page. This allows the server to customize content for the capabilities of the device.

By default, the user agent setting is disabled in WEC7 internet explorer. To check whether user agent is enabled or not, open Internet Explorer and then go to View->Internet Options. The drop-down box below User Agent will be disabled as shown in below picture (Marked in Blue Line Rectangle) when the setting is disabled:



Resolution:
The user agent setting can be enabled as explained below:
Please merge the following registry settings into the WEC7 device and then perform a warm boot.

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent]
"Desc"="Default (Windows Phone OS 7.0; Trident/3.1; IEMobile/7.0)"

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent\Templates\Same as Pocket PC]
@="Mozilla/4.0"
"Compatible"="compatible"
"Version"="MSIE 4.01"
"Platform"="Windows CE; PPC; 240x320"
"UA-Language"="JavaScript"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent\Templates\Same as Windows XP]
@="Mozilla/4.0"
"Compatible"="compatible"
"Version"="MSIE 6.0"
"Platform"="Windows NT 5.1"
"UA-Language"="JavaScript"


After reboot, open internet explorer and go to View->Internet Options.
User agent should be enabled as shown below: