Often, you need to run apps elevated in Windows Vista, Windows 7 or Windows 8. Programs which require admin privileges show a UAC prompt. The Registry Editor app is a good example of such an app. If the application you are using frequently requires a UAC request every time you start it, it can be a bit annoying. In this article, we will see how to create a shortcut to run apps elevated without a UAC prompt in Windows Vista, Windows 7 or Windows 8.
Advertisеment
To bypass the UAC prompt and start an app elevated, you need to create a special task in the Windows Task Scheduler which allows executing apps with admin privileges. The Task Scheduler has a graphical MMC version (taskschd.msc) which we will use.
In the tutorial below, I will show how to make Regedit run elevated without a UAC prompt. You can repeat the steps for any app you want to launch elevated.
Create a shortcut to run apps elevated without a UAC prompt in Windows Vista, Windows 7 and Windows 8.
- Open Control Panel.
- Go to Control Panel\System and Security\Administrative Tools.
- Click the shortcut Task Scheduler:
- On the left, click the item Task Scheduler Library:
- On the right, click on the link Create task:
- A new window "Create Task" will be opened. On the General tab, specify the name of the task. Pick some clear name like "App name - elevated". In my case, I will use "Regedit(elevated)".
You can also fill the description if you want. - Now tick the checkbox named "Run with highest privileges":
- Now, switch to the Actions tab. There, click the "New..." button:
- The "New Action" window will be opened. There, you can specify the path to the executable file of the app you are trying to run elevated without a UAC prompt. In my case, I will enter
c:\windows\regedit.exe
Note: by default, apps started from tasks like we just created, will start without getting focus. Its window might appear in the background.
If you are not happy with this issue, then add the Action for the task as follows:
- In "Program/Script", enter the following:C:\windows\system32\cmd.exe
In "Add agruments", type the following:
/c start "" program.exe program arguments if required
- Click OK in the New Action dialog to close it.
- Switch to the Conditions tab:Untick these options
- Stop if the computer switches to battery power
- Start the task only if the computer is on AC power
See the following screenshot: - Now, click OK to close the Create Task window. It is a good idea to test your task right now. Right click it and select Run from the context menu. It should open the app you specified:
- Now, create a new shortcut to launch the app from your Desktop.
Right click the empty space on your Desktop and select New -> shortcut: - In the "Type the location of the item" box, enter the following:
schtasks /run /tn "your task name"
In my case, it should be the following command:
schtasks /run /tn "Regedit(elevated)"
- Name your shortcut as you want:
- Finally, set the appropriate icon for the shortcut you have created and you are done:
That's it. As you can see, creating elevated shortcuts takes too many actions and a notable amount of time.
To save your time, you can use Winaero Tweaker. The feature called "Elevated Shortcut" does everything mentioned above and helps you to create elevated shortcuts quickly.
- Download and unpack Winaero Tweaker app.
- Go to Tools \ Elevated Shortcut:
- Create a shortcut using its friendly user interface and you are done!
Support us
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!
Advertisеment
On step 12 a window popped up saying I need the admins password.
Thanks,
Can you tell if your account has administrative privileges?
Same Here