Process To Enable Standard Users To Run A Program With Admin Rights Without The Password
Process To Enable Standard Users To Run A Program With Admin Rights Without The Password
Once you have the details, you can create the shortcut. To do that, right-
click on your desktop and then select the “New” option and then “Create
Shortcut.”
The above action will open the “Create Shortcut” window. Click on the
“Browse” button, and select the application you want users to run with
admin rights.
After selecting the application, this is how the Create Shortcut window
looks.
Enter the following command at the beginning of the file path. Don’t forget
to replace Computer Name and Username with the actual details.
Note :- ( “File Path or program path”) Double code is compulsory on both end.
Once you are done, click on the “Next” button to continue.
Enter the name of the shortcut and click on the “Finish” button.
That’s it. You’ve created a custom shortcut for your program. By default,
the shortcut you’ve created will have no proper icon.
However, you can change the icon by clicking on the “Change Icon” button
from the Properties window. You can access the Properties window by
right-clicking on the shortcut and then selecting the option “Properties.”
Once you are done changing the icon, double-click on it. For the first time,
you need to enter the administrator password. So, enter the admin
password and press the Enter button.
After the first time, whenever a user launches the application using the
shortcut you just created, it will be launched with admin rights.
The savecred option in the above command will save the admin password
so that users can run the application as an admin without actually entering
the password.
If you ever want to restrict the user from running the target app as an
administrator, simply delete the shortcut or remove the saved credential
from the Windows Credential Manager.