Remove "Run As Different User" from context menus

This setting controls whether "Run As Different User" appears on the Shift+RightClick context menu for .bat, .cmd, .exe, and .msc files.

Enabled (recommended): Keeps "Run As Different User" from appearing in the context menu when the user holds Shift while right-clicking on a .bat, .cmd, .exe, or .msc file in Explorer.

Disabled: Restores the Windows default behavior for "Run As Different User."


Supported on: At least Windows Vista
Enable policy:
Registry PathValue NameValue TypeValue
SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\ExplorerNoStartBannerREG_DWORD1
SOFTWARE\Classes\batfile\shell\runasuserSuppressionPolicyREG_DWORD4096
SOFTWARE\Classes\cmdfile\shell\runasuserSuppressionPolicyREG_DWORD4096
SOFTWARE\Classes\exefile\shell\runasuserSuppressionPolicyREG_DWORD4096
SOFTWARE\Classes\mscfile\shell\runasuserSuppressionPolicyREG_DWORD4096
Disable Policy:
Registry HiveRegistry PathValue NameValue TypeValue
HKEY_LOCAL_MACHINESOFTWARE\Microsoft\Windows\CurrentVersion\Policies\ExplorerNoStartBannerREG_DWORD
HKEY_LOCAL_MACHINESOFTWARE\Classes\batfile\shell\runasuserSuppressionPolicyREG_DWORD
HKEY_LOCAL_MACHINESOFTWARE\Classes\cmdfile\shell\runasuserSuppressionPolicyREG_DWORD
HKEY_LOCAL_MACHINESOFTWARE\Classes\exefile\shell\runasuserSuppressionPolicyREG_DWORD
HKEY_LOCAL_MACHINESOFTWARE\Classes\mscfile\shell\runasuserSuppressionPolicyREG_DWORD

secguide.admx

Administrative Templates (Computers)