With a simple trick, you can let non-admin users run programs that require administrator rights without actually giving them the password. Let me show you how.
If you are sharing your computer or have users that use a standard account, they won’t have permission to run applications that requires admin rights. In general, this restriction is a good one as more often than not, the program that requires administrative privileges needs to access or change system settings or files.
That being said, there might be situations where you need to let standard users run programs that require administrative rights. In those cases, rather than manually entering the admin password each and every time or giving them full administrative privileges, you can make use of the RunAs and Windows Credential Manager feature.
Without further ado, let me show you how it’s done.
Note: I assume you know your computer name. If not, type “System Information” in the start menu and open it. You will see your computer name right next to “System Name”.
Run Programs as Administrator Without Password
To enable a non-admin user to run admin apps, you need to create a special shortcut that uses the
runas command. When you follow this approach, you just need to enter the admin password one time. From the next time onwards, Windows will not ask for the password for that specific application shortcut.
Though sounds complicated, it is pretty easy. Just follow the steps and you will be good.
1. First, we need to create a shortcut. So, right-click on the desktop and select “New → Shortcut”.
2. In the blank field, enter the following code. Don’t forget to replace Computer Name, Username, and application path with the actual computer name, username, and path of the application’s exe file you’d like to launch with admin privileges.
Click on the “Next” button to continue.
runas /user:ComputerName\Username /savecred "C:\path\to\app.exe
3. Now, name the shortcut anything you want. Click on the “Finish” button.
4. The above action will create your own custom shortcut.
5. As I said before, for the first time you need to enter the admin password. So, double-click on the newly created shortcut. You will see a Command Prompt window. Type your account password and press the Enter button on your keyboard.
6. That is it. The app will run with the admin privileges.
From this point forward, any non-admin user can use the shortcut to launch the target program as an administrator without entering the admin password.
When you no longer need the functionality, simply delete the shortcut and you are good to go.
As you can see, it is pretty simple to let standard users run programs with admin rights. As good as the trick is, only use it when it is absolutely necessary and when you trust both the user and application in question.
Hope that helps. If you are stuck or need some help, comment below and I will try to help as much as possible.
If you like this article, do check out how to enable hidden administrator account and how to see full user account details in Windows 10.