0

I have a task scheduler to execute a batch file on windows start up. I have the following setup in task scheduler,

Trigger - At startup

Action - to execute a batch file

Security options - Run whether user is logged on or not

When i reboot the machine, the task is not getting triggered and the status is ready. The same is working fine when i run it on demand.

My scenario is to run the batch file at the system startup (user will not log on to the machine) and the batch file should open a separate command prompt.

The above is working when executing the task on demand and not while during startup.

Jugi
  • 1,244
  • 3
  • 23
  • 51
  • The program will be invisible if *Run If logged on or not* is set. This is by design. Also you can't interact with a user's screen till they logon. –  Oct 20 '16 at 21:30
  • What does the batch file do? – Squashman Oct 21 '16 at 03:29
  • the batch file will start selenium grid hub and node. I want the command to be visible, because when i run the selenium scripts i want the real browser to open and view the script execution – Jugi Oct 24 '16 at 12:09

1 Answers1

0

Following two steps are important

1 Configure for Windows 10 is important

2 Make sure all the checkboxes are unchecked as shown below, this is important

Refer this for more details

craftsmannadeem
  • 2,665
  • 26
  • 22