Windows – Ctrl+Shift+Enter to “Run as Admin” works on “Desktop app” programs but not “Run command” programs

keyboard shortcutsstart-menuuacwindows 10

Main Question

Standalone .exe utility programs that I have on my computer, when run from the Start menu using the Ctrl+Shift+Enter keyboard shortcut, do not as administrator. Instead, the program just runs without displaying the UAC prompt, and without elevated permissions.

Certain programs that are built into Windows, such as notepad.exe, do respect the Ctrl+Shift+Enter keyboard shortcut to run them as admin.

How can I get standalone .exe utility programs which display in the Windows Start menu as "Run command", not as "Desktop app", to run with administrator permissions when run from the Start menu with Ctrl+Shift+Enter?

Background / More Info

At first, I thought the problem was that the Ctrl+Shift+Enter keyboard shortcut to run a program as admin
from the Start Menu wasn't working at all on my new PC running Windows 10.

After some experimentation, I noticed that Ctrl+Shift+Enter to run as admin does work for programs which are labeled in the Start Menu as "Desktop app", for example, "Notepad":

Windows 10 "Desktop app" in Start Menu

However, for a custom .exe utility programs which I'd copied directly onto my local drive without running an installer program, Windows 10's Start Menu labels as "Run command", and Ctrl+Shift+Enter does not run them as admin; it just runs them without a UAC dialog and without elevated permissions:

enter image description here

As noted above, what I'm after is to get installerless utility .exe programs like BoundsTest.exe to run as admin from the Start menu on a press of Ctrl+Shift+Enter, without having to resort to (slightly) more cumbersome means like right-clicking on the program and selecting "Run as administrator" (which does work).

So, how can I accomplish either or both of:

  1. Get Windows 10 to treat/recognize a given "Run command" program as a "Desktop app" program instead?
  2. Configure Windows 10 to allow Ctrl+Shift+Enter to run "Run command" programs as administrator?

Best Answer

Add shortcut of your EXE file into Start menu (and launch the shortcut once).

This promotes item status labeled as Run command to Desktop app which enables use of Ctrl+Shift+Enter.

Details:

  1. Create shortcut to your EXE file and place it into your local Start menu: C:\Users\YourUserName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\
    (Alternative is placing it into Start menu for all users:
    C:\ProgramData\Microsoft\Windows\Start Menu\ in Windows 10)

  2. Open Start menu and locate the shortcut by navigating to it – not by typing, because by typing you will still get Run command label.

  3. Launch the shortcut.

  4. Now if you are typing to find the shortcut, it appears labeled as Desktop app.

  5. Use Ctrl+Shift+Enter to launch this app As Administrator.


Edit: based on Jon's comments it can be easier to select "Pin to Start" after right-clicking the EXE file. Valid shortcut (created by either way) subsequently creates registry key in HKCU\Software\Microsoft\Windows\CurrentVersion\‌​UFH\SHC which actually causes promotion of the item. The item can be subsequently removed from the Start menu, its recognition as Desktop app remains in place.