0% found this document useful (0 votes)
50 views

Process To Enable Standard Users To Run A Program With Admin Rights Without The Password

To provide Admin rights in windows system with Active directory environment for a particular application.

Uploaded by

ajay kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views

Process To Enable Standard Users To Run A Program With Admin Rights Without The Password

To provide Admin rights in windows system with Active directory environment for a particular application.

Uploaded by

ajay kumar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Process to enable Standard Users to Run a Program

with Admin Rights without the Password


To let standard users run a program with administrator rights, we are going
to use the built-in Runas command. To start, you need to know two things
before you can do anything. The first one is the computer name, and the
second one is the username of your administrator account.
To check the System name right click on “This PC” icon which is on
Desktop.
You can find your administrator username in the User Accounts window.

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.

runas /user:ComputerName\Username /savecred

The completed command looks something like this.

runas /user:ComputerName\Username /savecred


"C:\path\to\file.exe"

Example : - C:\Windows\System32\runas.exe /user:YI1003585LT\Administrator /savecred


"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"

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.

In fact, if you open the Windows Credentials Manager and navigate to


“Windows Credentials,” you will see the saved 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.

You might also like