{"id":853,"date":"2017-11-22T14:23:31","date_gmt":"2017-11-22T12:23:31","guid":{"rendered":"https:\/\/helia.ee\/koolitus\/?page_id=853"},"modified":"2017-11-22T14:24:05","modified_gmt":"2017-11-22T12:24:05","slug":"make-pc-shut-night-youre-not-using","status":"publish","type":"page","link":"https:\/\/helia.ee\/koolitus\/?page_id=853","title":{"rendered":"How to Make Your PC Shut Down at Night (But Only When You\u2019re Not Using It) &#8211; Windowsi sulgemine kui sa enam ei kasuta arvutit."},"content":{"rendered":"<header class=\"entry-header\">\n<div class=\"entry-meta\"><\/div>\n<\/header>\n<div class=\"entry-content e-content\">\n<p><a href=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_top.png\" rel=\"attachment wp-att-289414\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-289414\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/xsda_top-650x300.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.gHkT0uNnBp.png\" alt=\"sda_top\" width=\"650\" height=\"300\" \/><\/a><\/p>\n<p>It\u2019s good to to power off your PC when you\u2019re not using it, but do you ever forget and leave it on? Here\u2019s how to configure Windows to automatically power down at night, but only if you\u2019re not using the PC at the time.<\/p>\n<div><\/div>\n<p>We really recommend\u00a0<a href=\"https:\/\/www.howtogeek.com\/256395\/psa-don%E2%80%99t-shut-down-your-computer-just-use-sleep-or-hibernation\/\">putting your PC to sleep rather than shutting it down<\/a>\u00a0as a normal course of action. Sleep and hibernation have both come a long way since the early days of Windows and if you avoid using them because you used to have problems, you might be pleasantly surprised with how well they work now. And if you still have trouble with your PC waking up prematurely, we have some advice for\u00a0<a href=\"https:\/\/www.howtogeek.com\/122954\/how-to-prevent-your-computer-from-waking-up-accidentally\/\">keeping that from happening<\/a>.<\/p>\n<p>Of course, if you\u2019d really like to shut your PC down automatically instead, we understand. And it isn\u2019t hard to do. You just need to set up a scheduled task with rules to prevent the shut down if you\u2019re up late using the PC.<\/p>\n<div class=\"relatedfull\"><\/div>\n<p>Click Start, type \u201ctask scheduler,\u201d and then click the \u201cTask Scheduler\u201d app.<\/p>\n<p><a href=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_1.png\" rel=\"attachment wp-att-289415\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-289415\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_1.png\" alt=\"sda_1\" width=\"390\" height=\"564\" \/><\/a><\/p>\n<p>In the Task Scheduler window, in the \u201cActions\u201d\u00a0pane, click \u201cCreate Task.\u201d<\/p>\n<p><a href=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_2.png\" rel=\"attachment wp-att-289416\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-289416\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_2-650x382.png\" alt=\"sda_2\" width=\"650\" height=\"382\" \/><\/a><\/p>\n<p>On the \u201cGeneral\u201d tab of the Create Task window, give the new task whatever name you want. We like putting a \u201cz_\u201d before any user-created tasks just so that they\u2019re easier to find later with a quick alphabetical sort. Select both the \u201cRun whether user is logged on or not\u201d option and \u201cRun with highest privileges\u201d options. On the \u201cConfigure for\u201d drop-down, select your version of Windows.<\/p>\n<p><a href=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_3-1.png\" rel=\"attachment wp-att-289426\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-289426\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_3-1.png\" alt=\"sda_3\" width=\"632\" height=\"480\" \/><\/a><\/p>\n<p>Next, switch to the \u201cTriggers\u201d tab. Click \u201cNew\u201d to create a new trigger.<\/p>\n<p><a href=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_4.png\" rel=\"attachment wp-att-289419\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-289419\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_4.png\" alt=\"sda_4\" width=\"632\" height=\"480\" \/><\/a><\/p>\n<div class=\"htg-lazyload\"><ins class=\"adsbygoogle\" data-ad-format=\"fluid\" data-ad-layout=\"in-article\" data-ad-client=\"ca-pub-9173525300015284\" data-ad-slot=\"7675409007\" data-adsbygoogle-status=\"done\"><ins id=\"aswift_1_expand\"><ins id=\"aswift_1_anchor\"><iframe id=\"aswift_1\" name=\"aswift_1\" width=\"660\" height=\"165\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/ins><\/ins><\/ins><\/div>\n<div><\/div>\n<p>In the New Trigger window, make sure the \u201cBegin the task\u201d dropdown menu is set to \u201cOn a schedule.\u201d Set up whatever schedule you like. Here, we\u2019re going with every night at midnight. When you\u2019re done setting up your schedule, click \u201cOK.\u201d<\/p>\n<p><a href=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_5.png\" rel=\"attachment wp-att-289420\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-289420\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_5.png\" alt=\"sda_5\" width=\"591\" height=\"516\" \/><\/a><\/p>\n<p>Back in the \u201cCreate Task\u201d window, switch over to the \u201cActions\u201d tab and click \u201cNew\u201d to create a new action.<\/p>\n<p><a href=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_6.png\" rel=\"attachment wp-att-289421\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-289421\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_6.png\" alt=\"sda_6\" width=\"632\" height=\"480\" \/><\/a><\/p>\n<p>In the \u201cNew Action\u201d window, set the \u201cAction\u201d drop-down menu to \u201cStart a program.\u201d Type \u201cshutdown\u201d into the \u201cProgram\/script\u201d box. In the \u201cAdd arguments (optional)\u201d box, type \u201c\/S\u201d to have have the task start a basic shutdown command\u2014the same as if you\u2019d clicked the Shut Down button yourself. If you want the command to also force any running applications to close without warning users, type \u201c\/S \/F\u201d into the \u201cParameters\u201d box instead. When you\u2019re done, click \u201cOK.\u201d<\/p>\n<p><a href=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_7.png\" rel=\"attachment wp-att-289422\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-289422\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_7.png\" alt=\"sda_7\" width=\"454\" height=\"500\" \/><\/a><\/p>\n<p>Back in the \u201cCreate Task\u201d window, switch over to the \u201cConditions\u201d tab. Enable the \u201cStart the task only if the computer is idle for\u201d option and set the timing you\u2019d like. Here, we\u2019re setting the task to kick in only if the computer has been idle for 15 minutes when the shut down time arrives. We\u2019re also setting the task to wait up to one hour for that idle time to happen.<\/p>\n<p>You also have two other options to consider here. Enable the \u201cStop if the computer ceases to be idle\u201d option\u00a0to stop the task if you start using your PC. And enable the \u201cRestart if the idle state resumes\u201d to have the task begin measuring idle time again when you stop using your PC. We recommend going ahead and enabling both those options.<\/p>\n<p><a href=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_8.png\" rel=\"attachment wp-att-289423\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-289423\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_8.png\" alt=\"sda_8\" width=\"632\" height=\"480\" \/><\/a><\/p>\n<p>Next, switch to the \u201cSettings\u201d tab. Here, you can set your task up so that it will run again every so often if it fails to run successfully. This lets the task shut down your PC if you\u2019re up using it for much longer than you expected to be. Enable the \u201cIf the task fails, restart every\u201d option and then set your preferences. Here, we\u2019re having the task restart every thirty minutes and we\u2019re letting it try restarting up to three times. When you\u2019re done, click \u201cOK\u201d to create the task.<\/p>\n<p><a href=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_9.png\" rel=\"attachment wp-att-289424\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-289424\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/01\/sda_9.png\" alt=\"sda_9\" width=\"632\" height=\"480\" \/><\/a><\/p>\n<p>Note that you will likely be asked to enter your user account password to finish creating the task. And you can now exit Task Scheduler. From this point on, your PC should shut down automatically at whatever time you scheduled\u2014unless you\u2019re using the PC at that time.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s good to to power off your PC when you\u2019re not using it, but do you ever forget and leave it on? Here\u2019s how to configure Windows to automatically power down at night, but only if you\u2019re not using the PC at the time. We really recommend\u00a0putting your PC to sleep rather than shutting it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":841,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-853","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=853"}],"version-history":[{"count":2,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/853\/revisions"}],"predecessor-version":[{"id":855,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/853\/revisions\/855"}],"up":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/841"}],"wp:attachment":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}