Most of the classic desktops programs they don't need you to be an administrator to run. However, programs designed for advanced functions require administrator privileges to execute them.
When you start a program that requires administrator privileges to run, the "User Account Control" screen appears where you have to click Yes to start the program as an administrator .
If you want to skip this UAC screen and you want to always run the programs as administrator, you can do it with diffconditions ways. In this guide, we will look at these ways.
Advice: Did you know you can quickly start one program as an administrator by typing the program name and then pressing the Ctrl + Shift + Enter buttons at the same time?
IMPORTANT: Do not grant administrator privileges to unreliable programs.
Method 1 of 4
Step 1: Type the name of the program you want to always run as administrator so that you can see the program name in the result searchs. Right-click the program name, then click “Open File Location” to see the program’s shortcut icon in the “File exploration".
Step 2: Right-click the program shortcut icon, and then click Properties.
Step 3: On the Shortcut tab, click the Advanced button. This will open a new dialog box called "Additional Properties" (Advanced Properties).
Step 4: Here, select the "Run as administrator" check box. Click the OK button. Click Apply.
Step 5: If the following "Access denied" dialog box appears, click Continue.
That's all! From now on, the program will run automatically as an administrator.
Method 2 of 4
Step 1: Look for the program in the taskbar search. Right-click the program name, and then click Open File Location to open the program shortcut in File Explorer.
Step 2: Right-click the program shortcut, and then click Properties.
Step 3: Go to the Compatibility tab. In the Settings section, select "Run this program with administrator privileges". Click the OK button. Click Apply.
Method 3 of 4
If you have program shortcuts in the desktop, you can configure a program shortcut to always run with administrator rights. See how to do it.
Step 1: Right-click the program shortcut icon on the desktop, and then click Properties.
Step 2: Go to the Compatibility tab and select "Run this program with administrator privileges". Click OK, and then click Apply.
Method 4 of 4
Step 1: Open Registry Editor by typing Regedit.exe in Inception and then press the Enter key.
Step 2: In the Registry Editor, navigate to the following key:
Computer \ HKEY_CURRENT_USER \ Software \ Microsoft \ Windows NT \ CurrentVersion \ AppCompatFlags
Step 3: Search for the key “Layers“. If not, right-click the AppCompatFlags key, click New, and then click Key. Name it Layers. If it already exists just go to the next step.
Step 4: Select the Layers key in the left pane. On the right side, right-click on an empty space, then click "Create" and then click "String Value."
Step 5: Now in File Explorer, copy the full path to the executable file of the program that you always want to run as an administrator.
To get the path of the program, look for it in the Start menu, right-click on it, click "Open File Location". Then right-click the program shortcut, click Properties, and then copy the program path.
Step 6: In the Registry Editor, right-click the newly created string value, click Rename, and then paste the path to the program executable file.
Step 7: Finally, double click on it and change the value data to ~ RUNASADMIN and then click OK. This will make the program always run as an administrator.