26 replies on Use the Windows Task Scheduler to run apps without UAC prompts and admin rights

  1. Richard says:

    Thanks, really helpful tutorial.

  2. santoshbattula says:

    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 says:

      Same result as santosh above.

    • Tyler says:

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

    • Amil says:

      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

  3. tcebob says:

    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 says:

      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”


      • tcebob says:

        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 says:

          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 says:

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

    • Nix says:

      Right click on the shortcut and select Properties.

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

      Click Apply.

      Click OK.

    • Nix says:

      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.

  4. fouzi says:

    Thank you very much sir

  5. Jeff Hunt says:

    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.

  6. John says:

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

    • Ciprian Adrian Rusen says:

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

  7. jarze says:

    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?

  8. Supun De Silva says:

    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


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

    *nix FTW.

  9. Philip says:

    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

  10. Ataktos says:

    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!.

  11. GabiBont says:

    Total Commander…..

  12. Lionel says:

    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?

  13. Claude Dumont says:

    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,

  14. Patwone says:

    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?

  15. Ralph says:

    Running “Dropbox” and “Everything”

Leave a comment