Enable Standard Users to Run a Program with Admin Rights in Windows
There are three methods to accomplish this task:
1. Use Runas Command
2. Create a Shortcut
3. Use Group Policy Editor
Method 1: Use Runas Command
1. Right-click on the program you want to run as an administrator, and select Properties.
2. Click on the Compatibility tab.
3. Check the box next to “Run this program as an administrator.”
4. Click OK to save the changes.
Now, when the user runs the program, they should be prompted to enter the administrator’s credentials.
Alternatively, you can use the “Runas” command to launch the app as an administrator. Follow the steps below:
1. Press the Windows key + R to open the Run dialog box.
2. Type “cmd” and press Enter to open the Command Prompt.
3. Type “runas /user:Administrator ‘program name’” and press the Enter key. Here, replace ‘program name’ with the name of the program you want to run with admin rights.
4. If prompted, enter the administrator account password.
5. The program should now launch with administrative privileges.
Method 2: Create a Shortcut
1. Right-click on the desktop and select New > Shortcut.
2. In the location box, type: runas /user:administrator “C:\path\to\program.exe”
3. Replace “C:\path\to\program.exe” with the actual path of the program you want to run with admin rights.
4. Name the shortcut as “Run as Administrator”.
5. Click on Finish.
The user can now double-click on the shortcut to launch the program with admin privileges.
Method 3: Use Group Policy Editor
This method is applicable for Windows 10 Professional and Enterprise edition. Follow the steps below:
1. Press the Windows key + R to open the Run dialog box.
2. Type “gpedit.msc” and press Enter to open the Local Group Policy Editor.
3. Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.
4. Look for “User Account Control: Run all administrators in Admin Approval Mode” and double-click on it.
5. Change the setting to “Enabled.”
6. Click OK to save the changes.
Once this is done, all users with administrator accounts will automatically launch programs with admin privileges by default. However, this method does not allow standard users to launch programs with admin rights.