Creating a scheduled task that runs even if no one is logged in. (Windows 10)

0

1

I need to make a "hidden" scheduled task (being created by a .bat, no GUI stuff) that runs when any user is logged in, or if no one is logged in.

JayJ

Posted 2018-09-02T23:43:50.233

Reputation: 3

1Who are you trying to hide this task from? – Ramhound – 2018-09-03T02:21:06.980

It will execute at a scheduled time specifically or at certain intervals or what per all those requirements. What you are asking sounds like standard Task Scheduler functionality would suffice for those particular needs. Maybe clarify on when this task will be triggered or how that is expected to occur if not on a timed schedule or every x seconds, minutes, etc. – Pimp Juice IT – 2018-09-03T02:49:05.713

Maybe this thread can helps solving your issue https://serverfault.com/questions/9038/run-a-bat-file-in-a-scheduled-task-without-a-window

– Massimiliano Loi – 2018-09-03T09:51:42.230

Maybe this helps to solve your issue https://serverfault.com/questions/9038/run-a-bat-file-in-a-scheduled-task-without-a-window

– Massimiliano Loi – 2018-09-03T09:52:44.307

Answers

0

You can put the .bat file in the startup script in Group Policy.

enter image description here

Click on "browse" and add your .bat file to it.

S.Leon

Posted 2018-09-02T23:43:50.233

Reputation: 335