Share via

Run program as admin shortcut

Anonymous
2023-03-22T18:03:39+00:00

Hi , I have a program that is really slow loading for a standard user , but when I right click, run as admin - put my admin creds in programs loads fast

So I can create a shortcut to this program on desktop , that is always run as admin and the user doesn’t need to type in creds.

Or create a local admin account and run programs using these details, but keeping the standard account , just running the program shortcut as another user ?

Thank you - standing by for you help

Windows for home | Windows 10 | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Ivan B 108.6K Reputation points Independent Advisor
    2023-03-22T19:01:14+00:00

    Hi , andy0001.

    I am Ivan, I will help you with this.

    You can use the "runas" system command to make the program open as administrator and record the credentials so the user doesn't need to know.

    I suggest you use a local administrator account.

    We will right-click on the program's shortcut and select properties.

    Runas: running a program as an administrator in Windows After that, click on the shortcut tab and in Destination we will type: "runas /savecred /user:administrator " before the “C:\…”. Then, click on Apply and Ok.

    Now we will run the shortcut. You will be asked for the admin user password. Type the password (note that when you type the password it will be invisible) and press ENTER.

    Runas: running program as administrator in Windows

    After typing the password and pressing ENTER the program will be executed.

    Hope this helps.

    If you find the answer helpful, please mark it as an answer.

    Independent Advisor - Community

    Thanks

    10+ people found this answer helpful.
    0 comments No comments
  2. Ivan B 108.6K Reputation points Independent Advisor
    2023-03-22T19:58:21+00:00

    Hi , andy0001.

    You will create an administrator account, you can put the name you want on the account.

    Then you will create a shortcut this shortcut will put this command "runas /savecred /user: (here you put the name of the administrator user that you created)" before the executable path, as in the image below.

    Then just log in with a normal user account and open the shortcut it will ask for the administrator user password that you created, you put it, remembering the password it appears invisible, press enter, it will record the credentials the next time you open the shortcut it goes straight.

    Independent Advisor - Community

    Thanks

    7 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-03-22T19:53:08+00:00

    Thank you, So I make a local admin account , then target destination before c:/ type in the code you have put ?

    Then will it only prompt for the admin creds once , then when the user logs in with normal account, it will run?

    When creating the local account can I call the name something other than admin ?

    Thank you so much

    3 people found this answer helpful.
    0 comments No comments