![]() If you are stuck or need some help, comment below and I will try to help as much as possible. If you no longer need users to launch the application as an admin, delete the shortcut. Instead, Windows will automatically extract the password from the Credential Manager and launches the application. As such the other users don’t have to enter the password. The username and password as automatically saved in the Windows Credential Manager. If the username and password are correct, the shortcut will be executed and the program will be launched with admin rights. For the first time only, you will be prompted for the admin password. ![]() After creating the shortcut, double-click on it. In my case, I just name it after the target program. runas /user: ComputerName\ Username /savecred " C:\dummy\path\to\file.exe"Ĥ. Replace the ComputerName with the actual computer name, Username with the actual username and the dummy file path with the actual path of the target program’s exe file. ![]() In the blank field, copy and paste the below code. Just right-click on the desktop and select the “ New → Shortcut” option.Ģ. Just like with any custom shortcut, we can create it directly on the desktop. Just follow the steps as is and you will be done in no time.ġ. The best things about the below method are that you don’t have to giveaway the admin password and the admin rights are only limited to the program. Steps to Create Shortcut with Administrator RightsĬreating an administrator shortcut for a program that enables a standard user to run it as admin is easier than you think. We are going to need those details in the coming steps. Computer Name and Usernameīefore moving forward, know your computer name and the username and password of the admin account. So, without further ado, let me show you the simple steps to create a shortcut with admin rights and let standard users run programs as admin. So, to avoid that, I created a simple administrator mode shortcut for that specific program. But, it requires admin rights and shows the UAC prompt each every time I open it. For example, I have this neat little software that changes the DNS address with just a couple of clicks. Other than that, if you don’t like seeing UAC prompts, you can completely avoid them by creating the admin mode shortcut.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |