قالب وردپرس درنا توس
Home / Tips and Tricks / Create shortcuts in Administrator mode without UAC prompts in Windows 10

Create shortcuts in Administrator mode without UAC prompts in Windows 10



  Windows 10 hero image

UAC (User Access Control) prompts in Windows 10 can be annoying, especially when you often run a program that requires administrative permissions. Fortunately, there is a way to create a shortcut that does not ask you for UAC.

This trick works by setting a scheduled task to run the target application for you in administrator mode. You can then create a desktop shortcut that specifies the task to perform, which bypasses the UAC prompt the next time you click the shortcut.

RELATED: Automatically executing programs and setting reminders with Windows Task Scheduler

Although you can technically disable UAC prompts completely, that is an inherent bad idea because it opens the security of your computer for potential threats and malicious code.

Because Task Scheduler execution requires that you click through a UAC prompt that gives administrator privileges to set up a task, this trick is not really a vulnerability.

Create a scheduled task

Click Start to start the Task Scheduler. , type Task Scheduler in the search bar and then select the Task Scheduler icon in the search results.

 Perform task scheduler.

When Task Scheduler opens, click "Create Task" from the panel on the right side of the window.

 Click on

Give the task a simple name – preferably without spaces – that is easy to remember and then check the box next to & # 39; Run with the highest privileges. ” You can even give it a short description if you want, but that is not necessary.

 Give it a memorable name and check the box next to

By default, if you are setting this task on a laptop, Task Scheduler will not perform the task unless your computer is connected to AC power. If you do not disable this option, the program will not start when you click on the shortcut and the program will not be queued until you connect the power supply.

Click the "Conditions" tab and remove the check mark from the check box next to "Only start the task if the computer is running on AC power."

 Uncheck the box next to

Then switch to the "Actions" tab and then click the "New" button to create a new action for the task.

 Go to the Actions tab and click

Now click "Browse" to search for the application you want to run when you start the job.

 Click

Locate the application that you want to start, and then click "Open" after selecting it in File Explorer.

 Locate the application that you want to run and click

Click "OK" to save the changes.

 Click

Click "OK" again to complete the job creation ation process.

 Click

After you have created the task, that is all you have to do for this part. If you want to make sure that the task runs as expected, select the "Task Scheduler Library", right-click the task in the list, and then click "Run" in the context menu.

 Find the task, right-click it and click

Once all systems are ready, close Task Scheduler and note the name you used for the task.

Creating the shortcut to start the task [19659009] Now that you have completed the task that opens the application, it is time to create a shortcut that will run the task.

Right-click on an empty space on the desktop and then select New> Shortcut from the context menu.

 Create a new shortcut on the desktop.

In the window that appears, we must type the command that performs the scheduled task, replacing with the task name we used from before. Make sure to save the quotes around the name. It should look like this:

  schtasks / run / tn "" 

Click "Next" after entering the command.

 Type the following command and make sure you use the name of the task that you created before.

Give the new shortcut a useful name and click "Finish" to create it.

 Give the shortcut a name and click

Now, the desktop has a shortcut that performs the task that launches the application in administrator mode – without a UAC prompt – when you double-click it .

 Voila! A new shortcut that opens the application.

The pleasure does not end here. If you want to adjust it a little more, right click on the shortcut and then select "Properties" in the context menu.

 Open the Properties menu to further tweak the shortcut.

Because the shortcut executes a command to start the job, command prompt opens for an instance, executes schtasks command, and then closes before opening the application. If you want, you can set it to be minimized when you open the shortcut so that the command prompt does not flash on the screen.

Click on the drop-down menu next to "Run" and choose "Minimized" from the list below.

 Change the value next to

Then click on "Change Icon" to personalize the shortcut icon.

 Then change the icon.

If you receive this message, don't worry, just click "OK" to continue.

 Click on

Now you can browse through the suggested icons or click on "Browse" and search for the application you open with the task. Select "Open" to see the icons.

 Locate the application file and click

Select the application icon and click "OK" to save the changes.

 Select an icon from the list and click

Select "OK" again to save all changes and return to the desktop.

 Click on

Now you have a shortcut that looks nice – even looks like the application you are opening – and has no annoying UAC prompt to get in your way.

 Look at that beautiful icon. It looks exactly like the icon of the regular application.

That's all. Repeat this process for all other applications that you regularly use to bypass the UAC prompts.




Source link