Subscribe
Notify of
guest

28 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Richard

Thanks, really helpful tutorial.

santoshbattula

This works perfectly in windows 8.1
But in windows 7 Professional, while running the shortcut from non-admin user, it is terminating with an error message that the access is denied.

johncullin

Same result as santosh above.

Tyler

It required an admin to type in a password for me, and I am running windows 8.1

Amil

For standard users to run a task, they must be given read and execute permissions to the file C:WindowsSystem32Tasks”taskname”, and given read access to C:Windowssystem32Tasks

tcebob

Run program using Task Scheduler works fine on my Win 7. Is there a way to suppress the momentary flicker of the command prompt when running the shortcut?

joshieecs

I call schtasks with nircmd execmd specifically to avoid the brief popup. If you copy nircmd to the Windows directory, you can just make a shortcut with this target:

nircmd execmd schtasks /run /tn “TaskName”

http://nircmd.nirsoft.net/

tcebob

Thanks for the tip. (Took me a while to get used to nir command — no user interface.)

I’m trying to make a shortcut to a task which is in a subdirectory. Tried: C:WindowsSystem32schtasks.exe /run /tn “XUACCommandAdminXUAC” but doesn’t work. Any suggestions?

joshieecs

I’m not sure. I made a subfolder and task with the same name as yours and it works for me. This it the Target for my shortcut:

C:Windowsnircmd.exe execmd schtasks /run /tn “XUACCommandAdminXUAC”

Note that I copied nircmd.exe to C:Windows beforehand. If you just run nircmd.exe it has a button to copy it there for you.

tcebob

Dunno what I was doing wrong. Works fine now. Nircmd makes it smoother. Thanks again.

Nix

Right click on the shortcut and select Properties.

Then click the drop down list for ‘Run:’ and select Minimized.

Click Apply.

Click OK.

Nix

Right click on the shortcut and select Properties.

Then click the drop down list for ‘Run:’ and select Minimized.

Click Apply.

Click OK.

This means no need to use NIRCMD.

fouzi

Thank you very much sir

Jeff Hunt

A related question: I have a task running with “highest privileges” and others running without that box checked. The other tasks don’t pop up a window, but the highest privileges one does. Is there anyway to turn that off or make it run in a minimized state? The task runs every 10 minutes and is disruptive to real work.

John

Thanks alot, this explanation is crystal clear. I use the shortcut to run my laptop battery manager.

Ciprian Adrian Rusen

Happy to help. Don’t hesitate to subscribe to our newsletter and stay up-to-date with our tutorials.

jarze

For some reason, the task does not appear on the library (Win7 Ultimate). I thought there was an error creating the task, tried again, but it informed the task already exists. So, where is it?

Supun De Silva

Adding a few changes to this.
All the steps are correct in this

If you need to spawn a different application as a administrator, follow the steps in this.

In the ‘New Action’ window,
Add an argument as

/c

———————————————————-
P.S.
Switch to *nix platforms. Life gets a lot easier. I wasted hour of time to figure this out on my own.

*nix FTW.

Philip

Thanks. I used these techniques together with a program RapidEE to switch the system environment PATH variable between Python V2.7 and Python V3.7

Ataktos

You/s are a god/s!!. Thank you!!. This is realy amazing. Now i can play my favorite games. Because of account restrictions i couldnt, but now i can thanks to you!.

Anonymous

Happy to help. 😉

GabiBont

Total Commander…..

Lionel

Recently got the free GTA V from epic games, however its a pain in the butt as the Epic launcher has to launch the rockstar launcher to play it and the rockstar launcher is always asking for admin rights, any suggestions how to work around this?

Claude Dumont

Thank you for this excellent article!

Running an app on Windows 10 without UAC prompt and admin rights is not such an easy procedure BUT your article helped me and works perfectly.

Kind regards,
Claude

Patwone

Thank you for the Task Scheduler I got that to work fine, when it comes to the short cut does not work nor from the task bar those two parts are not calling the application, it is like nothing is turning on. Any ideas to how to edit or the syntax, I am running Windows 10?

Ralph

Running “Dropbox” and “Everything”

ric

I use this to open BlueStacks 5 directly into GooglePlayStore games. My favorite game at the moment is “Iron Maiden – Legacy of the Beast”

BlueStacks asks for UAT every time you open it. This really helps!