Run Flow From Command Prompt or Windows Task Scheduler

A simple way to run flows from cmd or Windows Task Scheduler.
How It Works

Run from Command Prompt:

  1. Copy and paste the flow Use Command Prompt or Windows Task Scheduler to your PAD, then run the flow.
  2. Open Command Prompt and type ping localhost -n 1 > NUL
  3. Flow runs and restarts.

Run from Windows Task Scheduler:

  1. Copy and paste the flow Use Command Prompt or Windows Task Scheduler to your PAD, then run the flow.
  2. Create a new Action with Program ping and Add arguments localhost -n 1 > NUL
  3. Schedule task or run manually.
  4. Flow runs and restarts.

Run with Shortcut Keys:

  1. Copy and paste the flow Use Shortcut Keys to your PAD, then run the flow.
  2. Press either Ctrl+Shift+A (run flow 1) or Ctrl+Shift+B (run flow 2).
  3. Flow runs and restarts.
Notes

If your flow does not run, check your firewall and/or antivirus settings to ensure that those are not blocking any ping requests.

See Also

Schedule flows using Power Automate for Desktop

PAG Admin
Also See These Flows