View menu: Disable Source menu option
Jump to overview

Policy overview

Key metadata and intent for this policy.

User
Category
Windows Components > Internet Explorer > Browser menus
Supported on
At least Internet Explorer 5.0

Prevents users from viewing the HTML source of Web pages by clicking the Source command on the View menu. If you enable this policy, the Source command on the View menu will appear dimmed. If you disable this policy or do not configure it, then users can view the HTML source of Web pages from the browser View menu. Caution: This policy does not prevent users from viewing the HTML source of a Web page by right-clicking a Web page to open the shortcut menu, and then clicking View Source. To prevent users from viewing the HTML source of a Web page from the shortcut menu, set the "Turn off Shortcut Menu" policy, which disables the entire shortcut menu.

Internal name
View_NoViewSource
Policy ID
3183022fec0c
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
User
Path
Software\Policies\Microsoft\Internet Explorer\Restrictions
Value name
NoViewSource
REG_DWORD
HKCU
1
HKCU
0
Registry location
Type REG_DWORD · User
Path
Software\Policies\Microsoft\Internet Explorer\Restrictions
Value name
NoViewSource
Hive
HKCU
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

This policy has no additional user input fields.