Save the following into a notepad document and name it with .bat at the end – for example shutdown.BAT. You can then either set it to the desktop or add it to a scheduled task to turn your computer off at a certain time.
@echo off<br />
shutdown.exe -s -t 00<br />
Note: Changing “-s” to “-r” will restart the computer, instead of turning it off and adjusting the “-t” will change the time in seconds till it shuts down. Useful if you are wanting the computer to shutdown after an hour or so.