We guide you through all the steps and settings
Run a batch file from Task Scheduler without the user being logged in
If you have a .BAT file and you try to run it automatically using Task Scheduler in Windows, the problem may be that the file will not run unless you run the task manually.
I created a batch file that deletes everything in a temp folder when the computer boots. I created a basic task in Task Scheduler and hoped for the best. Unfortunately, nothing happened when my computer booted. After a lot of trial and error, I figured out how to get the script to run.
In this article, I will explain which settings and permissions you need to adjust to run your batch file without manual intervention.