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.
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
8 years ago
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?
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:
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?
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
8 years ago
Thank you very much sir
Jeff Hunt
8 years ago
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
6 years ago
Thanks alot, this explanation is crystal clear. I use the shortcut to run my laptop battery manager.
Happy to help. Don’t hesitate to subscribe to our newsletter and stay up-to-date with our tutorials.
jarze
6 years ago
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
6 years ago
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
5 years ago
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
5 years ago
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!.
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
3 years ago
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
2 years ago
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
1 year ago
Running “Dropbox” and “Everything”
ric
7 months ago
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!
Thanks, really helpful tutorial.
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.
Same result as santosh above.
It required an admin to type in a password for me, and I am running windows 8.1
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
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?
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/
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?
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.
Dunno what I was doing wrong. Works fine now. Nircmd makes it smoother. Thanks again.
Right click on the shortcut and select Properties.
Then click the drop down list for ‘Run:’ and select Minimized.
Click Apply.
Click OK.
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.
Thank you very much sir
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.
Thanks alot, this explanation is crystal clear. I use the shortcut to run my laptop battery manager.
Happy to help. Don’t hesitate to subscribe to our newsletter and stay up-to-date with our tutorials.
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?
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.
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
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!.
Happy to help. 😉
Total Commander…..
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?
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
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?
Running “Dropbox” and “Everything”
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!
Thanks for sharing this. 😀