Policy
View menu: Disable Source menu option
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
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.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoViewSource | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- UserDisable Open in New Window menu optionAt least Internet Explorer 5.0
- UserDisable Save this program to disk optionAt least Internet Explorer 5.0
- UserFile menu: Disable closing the browser and Explorer windowsAt least Internet Explorer 5.0
- UserFile menu: Disable New menu optionAt least Internet Explorer 5.0
- UserFile menu: Disable Open menu optionAt least Internet Explorer 5.0
- UserFile menu: Disable Save As Web Page CompleteAt least Internet Explorer 5.0
- UserFile menu: Disable Save As... menu optionAt least Internet Explorer 5.0
- UserHelp menu: Remove 'For Netscape Users' menu optionOnly Internet Explorer 5.0 and Internet Explorer 6.0
- UserHelp menu: Remove 'Send Feedback' menu optionAt least Internet Explorer 5.0
- UserHelp menu: Remove 'Tip of the Day' menu optionOnly Internet Explorer 5.0 and Internet Explorer 6.0
- UserHelp menu: Remove 'Tour' menu optionAt least Internet Explorer 7.0
- UserHide Favorites menuAt least Internet Explorer 5.0