ADMX Viewer →

Remove "Run As Different User" from context menus

Computer Configuration > Administrative Templates > MS Security Guide

Computer Policy name Pol_SecGuide_0301_RemoveRunasdifferentuser SecGuide.admx MS Security Guide v26H2 v2

Registry

Key (computer)HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value namenone on the policy itself; the options below write their own values
Supported onAt least Windows Vista
NamespaceMicrosoft.Policies.SecGuide

What each state writes

Computed with the same rules RFF Conformance uses, with the default options. Pick your own options in the builder below.

Enabled
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer NoStartBanner 1 REG_DWORD
HKLM\SOFTWARE\Classes\batfile\shell\runasuser SuppressionPolicy 4096 REG_DWORD
HKLM\SOFTWARE\Classes\cmdfile\shell\runasuser SuppressionPolicy 4096 REG_DWORD
HKLM\SOFTWARE\Classes\exefile\shell\runasuser SuppressionPolicy 4096 REG_DWORD
HKLM\SOFTWARE\Classes\mscfile\shell\runasuser SuppressionPolicy 4096 REG_DWORD
Disabled
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer NoStartBanner value removed
HKLM\SOFTWARE\Classes\batfile\shell\runasuser SuppressionPolicy value removed
HKLM\SOFTWARE\Classes\cmdfile\shell\runasuser SuppressionPolicy value removed
HKLM\SOFTWARE\Classes\exefile\shell\runasuser SuppressionPolicy value removed
HKLM\SOFTWARE\Classes\mscfile\shell\runasuser SuppressionPolicy value removed
Not configured
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer NoStartBanner value removed
HKLM\SOFTWARE\Classes\batfile\shell\runasuser SuppressionPolicy value removed
HKLM\SOFTWARE\Classes\cmdfile\shell\runasuser SuppressionPolicy value removed
HKLM\SOFTWARE\Classes\exefile\shell\runasuser SuppressionPolicy value removed
HKLM\SOFTWARE\Classes\mscfile\shell\runasuser SuppressionPolicy value removed

In Intune

Microsoft's Policy CSP files (DDFv2Feb2026.zip) have no node for this policy, so the Intune Settings Catalog can't set it. Set it with Group Policy, or write the registry values above with a script (the builder below makes one).

Build it

Choose a state and options. You get the exact writes, a .reg file, a script that applies them, and a script that checks a machine and reports drift. Nothing leaves your browser.

Keep it set across your fleet

Group Policy writes these values once per refresh and never tells you when something changes them back. RFF Conformance reads them from every computer, shows which ones drifted and who changed them, and puts them back on approval, with each change versioned and undoable. It works without a domain controller.

How Conformance works · Your baseline from this site

Source: MS Security Guide and MSS (Legacy) templates from the Windows 11 v26H2 Security Baseline, version v26H2 v2, published by Microsoft 2026-10-08. Policy names and option labels are Microsoft's. Microsoft's full description of this setting: search Microsoft Learn.

ADMX Viewer is open source: github.com/deadarcher/AdmxViewer. Found a wrong registry value, a missing catalog, or a template that won't load? Open an issue, email brian@getrff.com, or use the form below.