Add “Run As Different User” to Right Click Menu of Apps

image

This is super simple, but it’s a handy option to have available in an enterprise enviroment.  It’s just a simple registry key. – You can deploy this via Package / AppModel / GPO, but I like to just do it all during OSD if possible.

Tested in OSD, Windows 10 - 1511

Registry File (RunAsDiffUser-HKLM.reg) – OSD Script Files available here
- Note: The Zip File is cumulative for several of my OSD posts, so if you find other things in there you're curious about, look at my older OSD posts for Windows 10 for more details.
---------------

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer]
"ShowRunasDifferentuserinStart"=dword:00000001

----------------
NOTE: in previous builds or windows 8, this had to be done at HKCU, instead of HKLM. – Example
I was actually using these intructions to do it, but it didn’t work.. finally tried in HKLM, and it worked

Then just add a “Run Command line” step, regedit.exe /s RunAsDiffUser\RunAsDiffUser-HKLM.reg

image

 

After Imaging is complete, when you logon, you’ll have the “run as different user” option available.

image

2 thoughts on “Add “Run As Different User” to Right Click Menu of Apps”

Leave a Reply to Isaac Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.