Guys, do you know that we can make our Windows PC to auto shut down?
And more interesting is no third party software required to make your Windows machine turn itself off automatically. No additional software mean more disk space and more free memory
What we have to do to?:
1. Create a very simple shutdown script
2. Schedule windows to run the script
Creating a shutdown script
Create a new folder on desktop or any location and name it as “shutdown” or any other name.

Navigate to that folder and create new Text Document (Right click > New > Text Document),

Then rename it from “New Text Document.txt” to “shutdown.bat” and a warning will come out, just click Yes.

If the icon changed to the gear icon, then Windows Batch File (.bat) that will be use to create shutdown script has been successfully created.

Ok now edit the shutdown.bat file to write a shutdown command.

Type this phrase or command “shutdown /p” as shown below and save the file:

Done!! The script is ready to use. Now PC will shutdown if we double click the shutdown.bat file.
Schedule Windows to run the script
Windows has a schedule feature to run script or any program automatically. What we have to do is configure the execution time to run the particular script or program.
Ok, now we will schedule our Windows machine to shutdown on 12:00PM by using Task Scheduler.
Click on Windows logo and type “task” in the search bar and click on Task Scheduler.

Create Task by clicking on Action Tab > Create Task

Under General tab, give the name for this task, example “shutdown 12PM“.

Under Triggers tab, click on New button to set the time, when we want to execute the script. In this example, we want the Windows machine to shutdown everyday on 12.00PM

Under Action tab, set Action to “Start a program” and browse to location that we put shutdown.bat script, in this example “C:\shutdown\shutdown.bat”. Then, click OK.

Then, Task Scheduler windows should be look like this:

On task scheduler windows, look at the bottom-right pane. We can test to run the selected task. Our PC should be turn off if we click on Run menu.

By the way, instead of “shutdown /p” command, there are other shutdown parameter that we can use in shutdown.bat file. Try one by one if you want to see how each parameter work

**This example hasĀ been created on Windows 7 environment. Task scheduler GUI or shutdown parameter maybe different with other windows version such as Windows Vista or Windows XP. But the way or basic idea to create this autoshutdown script is same.