How to run specific exe file as user privilege by Administrator account.

tubasa358 21 Reputation points
2022-06-07T05:54:58.467+00:00

I believe that the built-in account "Administrator" always runs a exe file as administrator privilege by default.
Now I have a tool which need to be launched as user privilege.
If the tool is launched as administrator the tool will exit immediately.
So I have to run the tool as user privilege.
Is there any way to run specific exe file as user privilege by built-in account "Administrator".

I use Windows Server 2019 Standard.

Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 39,916 Reputation points
    2022-06-07T15:01:37.977+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having query related to running .exe with Administrator account.

    You can use Run as command to run .exe with specific or Administrator user.

    runas /user:ComputerName\Username /savecred "C:\path\to\file.exe"

    Also you can try you can log on as the Run As account you can set the "run this program as administrator" flag on the properties / compatibility page. Then log on the secondary account and perform the shift click run as will open it as administrator.


    --If the reply is helpful, please Upvote and Accept as answer--

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.