Header Ads

How to run a batch file automatically on Window


As you are working on your project, there is a time you want to run a batch file automatically on Window so that you don’t need to do it manually. In this case, I will show you how schedule the running time using Window Task Scheduler. It can be done on any version of Window. In my case, I am using Window 8.1 and the interface is just a little bit different. So I hope you don’t find it difficult.


Window key s for search bar or you can scroll your mouse on the top right corner of the screen and click on search button.

Step 1: In the search box, just by typing “Task” you are able to see “Task Scheduler” right away (Window 7 or 10). For window 8 or 8.1, you will see “Schedule tasks” instead. Just click on it.

Step 2: Select “Create Basic Task…” as shown below



Step 3: Here you input the name of the task and the description (optional). Choose Next

Step 4: In Trigger, choose when you want the task to start.

Step 5: For action, choose "Start a program" and click Next

Step 6: Next click on Browse to select the batch file you want it to run and click Next

Step 7: And lastly, select on Finish to create the task

To ensure that the task will run the batch file without fail, we need to give the task with highest privilege so that it can surpass UAC setting. Go to Task Scheduler Library and double on the task that you have created to view the properties of the task. Then choose the option “Run with the highest privileges” and click OK. That’s it and you are done creating Window scheduler.

No comments:

Powered by Blogger.