Batch Files

How to schedule a Batch File to run automatically in Windows 10

How to schedule a Batch File to run automatically in Windows 10

There are occasions where you might need to schedule to run a batch file automatically in your Windows. In this article, I'll share a tip on how to schedule a Batch file automatically using Task Scheduler.

Schedule a Batch File to run automatically

To schedule a Batch File to run automatically in Windows 10, you will have to follow these steps:

  1. Create a Batch file
  2. Open Task Scheduler
  3. Create a Basic Task
  4. Open Task Scheduler Library
  5. Make Task runs with the highest privileges.

Step 1: Create a batch file you wish to run and place it under a folder where you have enough permissions. For example under C drive.

Step 2: Click on Start and under search, type in Task and click open Task Scheduler.

Step 3: Select Create Basic Task from the Action pane on the right of the window.

Step 4: Under Create Basic Task, type in the name you like and click Next.

Step 5: From the Trigger select the option you like and click Next.

I chose Daily and clicked Next, which brought me to this screen.

Step 6: Then click on Start a Program and click Next.

Step 7: Now click on Browser and select the batch file you like to run.

Step 8: Finally, click on Finish to create the Task.

Now that we have created a Task, we have to make sure it runs with the highest privilege. Since we have UAC settings we have to make sure that when you run the file it should not fail if it does not bypass the UAC settings.

So click on Task Scheduler Library.

Then double click on the Task you just created.

Step 8: Click on Run with Highest privilege then click OK.

Congratulations!

You have successfully created a Scheduled Task to automate a batch file.

Battle For Wesnoth 1.13.6 Development Released
Battle For Wesnoth 1.13.6 released last month, is the sixth development release in the 1.13.x series and it delivers a number of improvements, most no...
Cum se instalează League Of Legends pe Ubuntu 14.04
Dacă ești fan al League of Legends, atunci aceasta este o oportunitate pentru tine de a testa rula League of Legends. Rețineți că LOL este acceptat pe...
Instalați cel mai recent joc de strategie OpenRA pe Ubuntu Linux
OpenRA este un motor de jocuri de strategie în timp real Libre / Free care recreează primele jocuri Westwood, cum ar fi clasicul Command & Conquer: Re...