I am running SuRun 188.8.131.52 on a windows 10
The select standard user is only allowed to run a specific program as admin as defined within SuRun setups, which works great. We right click and "SuRun: Start as Administrator" and it runs as admin. (I have turned of some advanced hooks to help isolate when SuRun triggers, or so I think).
Now to my issue - I have created a .lnk file with a target like:
C:\Windows\SuRun.exe /QUIET /RUNAS "PROGRAM PATH/APP"
BUT the user is still prompted -- we can click Ok so that will work, BUT is there anyway to make this act like the right-click "SuRun: Start as Administrator" without the prompts.
Sorry if I am not clear in my message.
do you want to run "PROGRAM PATH/APP" as different user or do you want to run it with elevated rights?
To just run "PROGRAM PATH/APP" with elevated rights, start SuRun "PROGRAM PATH/APP"
To run it as specific user, start SuRun /RunAs /user <user> "PROGRAM PATH/APP"
SuRun /RunAs will always ask for permission.
SuRun will not ask for permission on white listed Programs.
Did this solve your problem?
That works, still prompted me for a password from the standard user.. I assume this might be an option I checked. I'll do a fresh setup and test again. Thank you!!