Launch script in a new window on schedule, as admin

Solution 1:

Crate scheduled task:

enter image description here

  • Chose admin account for task execution.
  • Select option Run whether user is logged on or not

Configure time schedule:

enter image description here

Create action:

enter image description here

  • Enter PowerShell in Program/scrip field
  • In Add arguments field enter -File argument with path to script and -ExecutionPolicy argument with bypass value. (-ExecutionPolicy bypass)