Forum Discussion

caionam's avatar
caionam
Copper Contributor
Jun 19, 2023

Create a task which runs for all user

I want to use Task Schedule to run an app at log-on for all users on my PC using admin rights.

How can I do that? I tried to choose to start at log-on for any user in the tab Triggers but the task only runs on my admin account. When I log out and log in to my user accounts it doesn't work.

Thank you for reading.

 

4 Replies

  • Finnley's avatar
    Finnley
    Copper Contributor

    If the task still runs only on your admin account, verify:

    • In General, check Configure for: your Windows version.
    • Under Security options, select Run whether user is logged on or not.
    • Check Run with highest privileges.
    • Make sure "Run only when user is logged on" is NOT selected if you want it to run at logon for all users.
  • Dornier5's avatar
    Dornier5
    Copper Contributor

    Adjust as needed, but typically default settings work fine. Make sure "Stop if the computer switches to battery power" is unchecked if on a laptop.

  • Lorenzonp's avatar
    Lorenzonp
    Copper Contributor

    Make sure that the task is configured to run for all users and not just your admin account.

  • H1lbert's avatar
    H1lbert
    Copper Contributor

    on the first Tab "General", click on "Change user or Group" and search for "Users" it will be "YourDomain\Users" when you are in a domain, or "BuiltIN\Users" when in a workgroup.

     

    Now for any user who will login the task will trigger and your application will be visible in the user session.

     

    if you can only assign users and not groups, then start task scheduler again via "right click --> run as administrator"