Turn off the WebSocket Object
- Policy ID
- IESF_DisableWebSocket
- Scope
- Computer Configuration, User Configuration
- Supported on
- At least Internet Explorer 10.0
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Internet Explorer › Security Features › AJAX
Description
The WebSocket object allows websites to request data across domains from your browser by using the WebSocket protocol. This policy setting allows administrators to enable or disable the WebSocket object. This policy setting does not prevent client-side communication across domains via other features in Internet Explorer 10. Also, this policy setting does not prevent a site from requesting cross-domain data through a server.
If you enable this policy setting, websites cannot request data across domains by using the WebSocket object.
If you disable or do not configure this policy setting, websites can request data across domains by using the WebSocket object. By default, the WebSocket object is enabled.
Registry
ComputerHKEY_LOCAL_MACHINE
HKLM\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WEBSOCKET View registry values
- iexplore.exeREG_DWORD
UserHKEY_CURRENT_USER
HKCU\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WEBSOCKET View registry values
- iexplore.exeREG_DWORD