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 run 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?
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":
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:
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:
This promotes item status labeled as
Run command to
Desktop app which enables use of Ctrl+Shift+Enter.
Create shortcut to your EXE file and place it into your local Start menu:
(Alternative is placing it into Start menu for all users:
C:\ProgramData\Microsoft\Windows\Start Menu\ in Windows 10)
Open Start menu and locate the shortcut by navigating to it not by typing, because by typing you will still get Run command label.
Launch the shortcut.
Now if you are typing to find the shortcut, it appears labeled as Desktop app.
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.
External links referenced by this document:
Local articles referenced by this article: