[HowTo] Add "Run as different user" to right-click content menu

Discussion in 'Windows 8' started by moderate, Feb 8, 2014.

  1. moderate

    moderate MDL Guru

    Aug 31, 2009
    2,648
    2,153
    90
    #1 moderate, Feb 8, 2014
    Last edited by a moderator: Apr 20, 2017
    For adding "Run as different user" to right-click content menu, just run the following reg file:

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\exefile\shell\runasuser]
    "Extended"=-
    
    [HKEY_CLASSES_ROOT\batfile\shell\runasuser]
    "Extended"=-
    
    [HKEY_CLASSES_ROOT\cmdfile\shell\runasuser]
    "Extended"=-
    
    [HKEY_CLASSES_ROOT\mscfile\shell\runasuser]
    "Extended"=-
    
    [HKEY_CLASSES_ROOT\Msi.Package\shell\runasuser]
    "Extended"=-
    
    Without this registry import, you have to hold the <SHIFT> key before doing mouse right-click to invoke the content menu it this option.