How to skip UAC and start the program as an administrator

Source: Internet
Author: User

How to skip UAC and start the program as an administrator

When running a program as an administrator, there is always a prompt box:

 

Some users may choose to disable UAC, but this affects system security. Next we will use a simple method to solve this problem. This method is implemented using the built-in task scheduler program.

1. Create a task to run the program you want to run

Find the task scheduler.

Method 1,Choose Start> accessories> System Tools> Task Scheduler;

Method 2,Enter "Task Scheduler" in the search bar of the Start Menu;

Method 3,Run (win + r) and enter "taskschd. msc ".

You can open the task scheduler in either of the preceding three methods. The following describes how to add a task. Click "Create task..." in the upper-right corner of the task scheduler ..."

The following window appears. Configure the description and permissions as shown in the figure below.

Note that I have marked it out.

Description

First:The name can be written at will, but it cannot be the same as your existing name;

Second point:Check the "run with the highest permission" check box. Because we want to run a program with the Administrator permission, we need high permissions, at least the Administrator permission;

Third point:Select the configuration that suits your machine environment. Otherwise, the program may run incorrectly.

After adding these basic configurations, We need to select which program to run with the Administrator permission. Here I will demonstrate how to run CMD. (I remember talking in my previous blog post about "How to Use administrator privileges under CMD", link: http://blog.csdn.net/zyw_anquan/article/details/7756499) in the third tab of the page that just created the task, add actions:


The first part is the operation you want to perform, and the second part is the position of the program you want to execute (exe, com, bat, etc. After filling in the information, make sure that the entire task plan has been fully configured by default. However, you need to confirm the configuration in the settings tab as follows (usually the default setting is shown ):

That is, you must allow the system to run the task. Second, you must determine whether the task will start a new instance. If you want to change the time or other operations, you can add them by yourself. If you perform the following configurations, the following page will appear:

Right-click the task and you will see the cmd running as an administrator without the UAC prompt.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.