How to make your PC turn off automatically at night

How to make your PC turn off automatically at night

Turning off a Windows PC is really easy, since it is only necessary to click on two buttons. We know that many users have a habit or need to work late into the night, which can cause you to fall asleep or forget to turn off your computer after you finish using it. This is something that can be avoided, you just have to configure Windows to automatically shut down at night. Next, we explain how you can do it in a very simple way.

Schedule your computer to turn off automatically

Windows is an operating system that allows you to automate a series of tasks on your computer, and one of them is the automatic shutdown of the computer so you don't have to worry. Actually, you can create a shutdown schedule that automatically shuts down your computer at the specified time.

Setting up the automatic shutdown feature on a Windows PC is quite easy and fast. In fact, there are several ways to accomplish the task and you can proceed with any of them.

If you want to automatically shut down your computer in a short time, say after 30 minutes, using the CMD command window to create the task would be the best and fastest way to do it.

All you need to do is enter a command in the Windows 10 command window , after which your machine will shut down when the chosen period of time ends.

Remember that you can access the Windows CMD command window using the Start menu browser.

Type the following command in the box and hit Enter. Make sure to substitute 1800 for the amount of time in seconds you want to pass before the computer shuts down.

shutdown -s -t 1800

Schedule your computer to turn off automatically

After that, the computer will shut down automatically after the specified time in seconds has elapsed.

This is all you need to do to schedule your computer to shut down. It can also be used to force shutdown when Windows refuses to do so , you just have to modify the time to 1 or 2 seconds and your computer will shut down immediately.

We hope this tutorial is very helpful to prevent your PC from staying on all night.