Windows 10 pro, after anniversary update I can't use "runas administrator shortcut" anymore
Solution 1:
I somehow managed to solve the issue by first running the command prompt as administrator using
runas /profile /savecred /user:administrator "cmd.exe"
put another batch file in \windows\system32
folder to run the exe. and just type the name of that batch file.
Solution 2:
This is what worked for me
start cmd first then use it to start your other app
runas /profile /user:ExlordPC\Exlord /savecred "cmd.exe /k C:\Users\Exlord\AppData\Local\NextVPN\NextVPN.exe"
Solution 3:
I just got bitten by this on a machine, now running Windows 10 version 1803 (as installed on 2018-06-18).
The solution (combined with the other answers here) for me was discovery (and reversion) of a change to my local PC's GPO.
- In the GPO snapin for
mmc.exe
- Navigating to:
Local Computer Policy / Computer Configuration / Windows Settings / Security Settings / Local Policies / Security Options
- There's a setting called
"User Account Control: Admin Approval Mode for the Built-in Administrator account"
Reverting that to what it calls the "Default" mode of disabled resolved the issue.
Possibly using an administrator account other than the built-in default might have worked too (untested).