Windows 10: Run shortcut as a scheduled task.

Discus and support Run shortcut as a scheduled task. in Windows 10 Support to solve the problem; Run shortcut as a scheduled task sounds simple but for the life of me I just can't get this one shortcut to work in the scheduler. This shortcut is for... Discussion in 'Windows 10 Support' started by snifftheglove, Dec 24, 2018.

  1. Run shortcut as a scheduled task.


    Run shortcut as a scheduled task sounds simple but for the life of me I just can't get this one shortcut to work in the scheduler.
    This shortcut is for the PrivateInternetAccess VPN app (V0.82) to run from a fixed location.

    I have a shortcut with these details...
    Target: "C:\Program Files\pia_manager\bin\rubyw.exe" ..\src\build\windows\pia_manager\bin\run.rb --run
    Start In: "C:\Program Files\pia_manager\bin"

    Now if I run this shortcut I get the UAC prompt and then the app runs and the VPN is setup and connects.

    So to avoid the UAC prompt, I am wanting to set this shortcut up as a shedulaed task so it can run on startup/login etc.

    So, I create the task in the scheduler but no matter what I try it just does not run.
    I have tried..
    Program/script: "C:\Program Files\pia_manager\bin\rubyw.exe"
    Add Arguments: ..\src\build\windows\pia_manager\bin\run.rb --run
    Start In: "C:\Program Files\pia_manager\bin"

    also

    Program/script: "C:\Program Files\pia_manager\bin\rubyw.exe"
    Add Arguments: "C:\Program Files\pia_manager\src\build\windows\pia_manager\bin\run.rb" --run
    Start In: "C:\Program Files\pia_manager\bin"

    also

    Program/script: "C:\Program Files\pia_manager\bin\rubyw.exe"
    Add Arguments: "run.rb" --run
    Start In: "C:\Program Files\pia_manager\src\build\windows\pia_manager\bin"

    plus other varations. Now I know you can not really trym this out yourself unless you PIA VPN installed but is there anything wrong with how the task is setup in the schedular or any reason you can see why it might not work through a shedulaed task.#

    Thanks

    :)
     
    snifftheglove, Dec 24, 2018
    #1

  2. Window's Task Scheduler Not Running

    Hi,

    To assist you better, kindly provide us more details by answering the following questions:

    • Have you tried recreating the task? If so, are you getting the same issue?
    • Have you tried creating a new task?
    Meanwhile, we suggest that you ensure that the Task Scheduler is running. You can verify if the service is running by following these steps:

    • Press Windows key + R on your keyboard.
    • Type services.msc and hit Enter.
    • Under Services (Local), make sure that the Task Scheduler service's status is
      Started or Enabled.
    Should you need further assistance, feel free to get back to us.
     
    Monica Cam, Dec 24, 2018
    #2
  3. Unable to run Task Scheduler

    Hello Varun,

    Let's determine the cause of the issue. To get started, I'd like to get the following information:

    • Is this your first time to encounter this issue? If so, did you make any changes to your computer's configuration prior to this?
    • Are you getting any error messages?
    • Can you also please confirm the current build of your Windows 10?

      (Type winver into the Cortana search box, then hit
      Enter
      .)

    Meanwhile, I suggest that you try starting the Task Scheduler through command line. To do so, please follow these steps:

    • Open Command Prompt (Admin).
    • Type this net start task scheduler and hit Enter.

    We're looking forward to your response.
     
    Antoneth Ber, Dec 24, 2018
    #3
  4. Run shortcut as a scheduled task.

    Cannot schedule a task with Task Scheduler - error 2147942403

    Hi,

    I suggest you to check the below settings and check fi it helps.

    • In task scheduler, click on the scheduled job properties > then settings.
    • In the last listed option: "If the task is already running, the following rule applies:"
    • Select "Stop the existing instance" from the drop down list.
    • Save and Exit. Then check whether the task is running or not.

    Please get back to us with an update on this issue, we will be happy to assist you further.

    Thank you.
     
    Karthicka_R, Dec 24, 2018
    #4
Thema:

Run shortcut as a scheduled task.

Loading...
  1. Run shortcut as a scheduled task. - Similar Threads - Run shortcut scheduled

  2. Task schedule don't run

    in Windows 10 Gaming
    Task schedule don't run: DetailTask schedule, Job task does not run on time. No error log and statusWhat is the cause? https://answers.microsoft.com/en-us/windows/forum/all/task-schedule-dont-run/d5a40ef8-9d06-4255-b941-0e49e691935d
  3. Task scheduler is not running randomly

    in Windows 10 BSOD Crashes and Debugging
    Task scheduler is not running randomly: Hi, I had set up jobs in Task Scheduler in my computer but part of them are not running up as scheduled time. What's the reason to lead this issue? What if I had set up too many jobs in Task Scheulder? Is Window version too old be the reason?...
  4. Run Task Scheduler

    in Windows 10 Gaming
    Run Task Scheduler: I am trying to run a Powershell script in Windows 10 21H2 version using Task bar and the PS window pops up. Later found out that this is happening because the task is run as "Run only when user is logged on".I tried to set this to "Run whether user is logged on or not" and...
  5. Run Task Scheduler

    in Windows 10 Software and Apps
    Run Task Scheduler: I am trying to run a Powershell script in Windows 10 21H2 version using Task bar and the PS window pops up. Later found out that this is happening because the task is run as "Run only when user is logged on".I tried to set this to "Run whether user is logged on or not" and...
  6. Run Task Scheduler

    in Windows 10 Customization
    Run Task Scheduler: I am trying to run a Powershell script in Windows 10 21H2 version using Task bar and the PS window pops up. Later found out that this is happening because the task is run as "Run only when user is logged on".I tried to set this to "Run whether user is logged on or not" and...
  7. Scheduled task not running

    in Windows 10 Customization
    Scheduled task not running: I use the "portable apps" platform to hold a lot of small programs I dont want installed - but even from my C: ssd its very slow to load. So I have set up a scheduled task to run it as soon as the pc becomes idle. [ATTACH] However it does not run. Even when I right-click...
  8. Task Scheduler Stops Running

    in Windows 10 Support
    Task Scheduler Stops Running: Windows 10 20H2 OS build: 19042.685 Task Scheduler has stopped working for some reason. Here is the error: Code: Faulting application name: svchost.exe_Schedule, version: 10.0.19041.546, time stamp: 0x058e175aFaulting module name: ntdll.dll, version: 10.0.19041.662, time...
  9. Task scheduled in Task Scheduler won't run from shortcut

    in Windows 10 BSOD Crashes and Debugging
    Task scheduled in Task Scheduler won't run from shortcut: I have a task set up in Task Scheduler on Win 10 Pro 64-bit and it runs correctly when run from Task Scheduler. I cannot get the task to run from a shortcut. I do not know whether this is relevant, but in the Settings window of Task Scheduler it shows the checkbox next to...
  10. Task Scheduler Not Running

    in Windows 10 BSOD Crashes and Debugging
    Task Scheduler Not Running: I've already tried and a lot of solutions for this but sadly I still don't have a solution. I've also tried these steps in this link (https://computerstepbystep.com/task_scheduler_service.html), still no luck What happened is I'm trying to update my GeForce Experience but I...

Users found this page by searching for:

  1. scheduler shortcut not running

    ,
  2. how to run a shortcut from tas sceduler

    ,
  3. Can task scheduler execute a shortcut link

    ,
  4. can i run a scheduled task via a shortcut,
  5. can you run shortcut with windows task scheduler,
  6. windows shortcut task schedule,
  7. win 10 can task scheduler call a shortcut,
  8. task scheduler cant run shortcut