Schedule Windows 10 Sleep and Wake











up vote
0
down vote

favorite












I have a Windows 10 Home Edition tablet (2 in 1 actually) and I want to use the tablet part as a display for an IP camera. This means I need it on and power connected all through the day but not at night. For this task, I want to schedule it to go to sleep at lets say 11 PM and wake up at 7 AM.



Is there any way to accomplish this, maybe using Task Scheduler?



Edit: I got Sleep to work with the answer here: Use Windows Task Scheduler To Put Windows To Sleep Without Batch File however I still need to find out how to wake at a given time.










share|improve this question
























  • Great that you got this to work, and thanks for closing the loop on your question. The site's Q&A format relies on questions containing just question information, and all solution information being in answers. It would be helpful if you could move your edit to an answer. Include the gist of the solution so that it's self-contained, and use the link for attribution and further reading. You can accept your own answer to indicate that the problem is solved.
    – fixer1234
    May 27 at 0:30










  • @fixer1234 it's not a solution. I was searching for both a way to put it to sleep and wake it, but I didn't find yet.
    – Alex Bartiş
    May 28 at 4:19










  • If anyone's still interested, here's an alternative way of scheduling. groovypost.com/howto/schedule-wake-sleep-windows-automatically
    – anonymous coward
    May 29 at 20:17

















up vote
0
down vote

favorite












I have a Windows 10 Home Edition tablet (2 in 1 actually) and I want to use the tablet part as a display for an IP camera. This means I need it on and power connected all through the day but not at night. For this task, I want to schedule it to go to sleep at lets say 11 PM and wake up at 7 AM.



Is there any way to accomplish this, maybe using Task Scheduler?



Edit: I got Sleep to work with the answer here: Use Windows Task Scheduler To Put Windows To Sleep Without Batch File however I still need to find out how to wake at a given time.










share|improve this question
























  • Great that you got this to work, and thanks for closing the loop on your question. The site's Q&A format relies on questions containing just question information, and all solution information being in answers. It would be helpful if you could move your edit to an answer. Include the gist of the solution so that it's self-contained, and use the link for attribution and further reading. You can accept your own answer to indicate that the problem is solved.
    – fixer1234
    May 27 at 0:30










  • @fixer1234 it's not a solution. I was searching for both a way to put it to sleep and wake it, but I didn't find yet.
    – Alex Bartiş
    May 28 at 4:19










  • If anyone's still interested, here's an alternative way of scheduling. groovypost.com/howto/schedule-wake-sleep-windows-automatically
    – anonymous coward
    May 29 at 20:17















up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a Windows 10 Home Edition tablet (2 in 1 actually) and I want to use the tablet part as a display for an IP camera. This means I need it on and power connected all through the day but not at night. For this task, I want to schedule it to go to sleep at lets say 11 PM and wake up at 7 AM.



Is there any way to accomplish this, maybe using Task Scheduler?



Edit: I got Sleep to work with the answer here: Use Windows Task Scheduler To Put Windows To Sleep Without Batch File however I still need to find out how to wake at a given time.










share|improve this question















I have a Windows 10 Home Edition tablet (2 in 1 actually) and I want to use the tablet part as a display for an IP camera. This means I need it on and power connected all through the day but not at night. For this task, I want to schedule it to go to sleep at lets say 11 PM and wake up at 7 AM.



Is there any way to accomplish this, maybe using Task Scheduler?



Edit: I got Sleep to work with the answer here: Use Windows Task Scheduler To Put Windows To Sleep Without Batch File however I still need to find out how to wake at a given time.







windows-10 sleep windows-task-scheduler wake-up






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 30 at 21:14









Blackwood

2,71761727




2,71761727










asked Dec 4 '17 at 11:25









Alex Bartiş

10113




10113












  • Great that you got this to work, and thanks for closing the loop on your question. The site's Q&A format relies on questions containing just question information, and all solution information being in answers. It would be helpful if you could move your edit to an answer. Include the gist of the solution so that it's self-contained, and use the link for attribution and further reading. You can accept your own answer to indicate that the problem is solved.
    – fixer1234
    May 27 at 0:30










  • @fixer1234 it's not a solution. I was searching for both a way to put it to sleep and wake it, but I didn't find yet.
    – Alex Bartiş
    May 28 at 4:19










  • If anyone's still interested, here's an alternative way of scheduling. groovypost.com/howto/schedule-wake-sleep-windows-automatically
    – anonymous coward
    May 29 at 20:17




















  • Great that you got this to work, and thanks for closing the loop on your question. The site's Q&A format relies on questions containing just question information, and all solution information being in answers. It would be helpful if you could move your edit to an answer. Include the gist of the solution so that it's self-contained, and use the link for attribution and further reading. You can accept your own answer to indicate that the problem is solved.
    – fixer1234
    May 27 at 0:30










  • @fixer1234 it's not a solution. I was searching for both a way to put it to sleep and wake it, but I didn't find yet.
    – Alex Bartiş
    May 28 at 4:19










  • If anyone's still interested, here's an alternative way of scheduling. groovypost.com/howto/schedule-wake-sleep-windows-automatically
    – anonymous coward
    May 29 at 20:17


















Great that you got this to work, and thanks for closing the loop on your question. The site's Q&A format relies on questions containing just question information, and all solution information being in answers. It would be helpful if you could move your edit to an answer. Include the gist of the solution so that it's self-contained, and use the link for attribution and further reading. You can accept your own answer to indicate that the problem is solved.
– fixer1234
May 27 at 0:30




Great that you got this to work, and thanks for closing the loop on your question. The site's Q&A format relies on questions containing just question information, and all solution information being in answers. It would be helpful if you could move your edit to an answer. Include the gist of the solution so that it's self-contained, and use the link for attribution and further reading. You can accept your own answer to indicate that the problem is solved.
– fixer1234
May 27 at 0:30












@fixer1234 it's not a solution. I was searching for both a way to put it to sleep and wake it, but I didn't find yet.
– Alex Bartiş
May 28 at 4:19




@fixer1234 it's not a solution. I was searching for both a way to put it to sleep and wake it, but I didn't find yet.
– Alex Bartiş
May 28 at 4:19












If anyone's still interested, here's an alternative way of scheduling. groovypost.com/howto/schedule-wake-sleep-windows-automatically
– anonymous coward
May 29 at 20:17






If anyone's still interested, here's an alternative way of scheduling. groovypost.com/howto/schedule-wake-sleep-windows-automatically
– anonymous coward
May 29 at 20:17












1 Answer
1






active

oldest

votes

















up vote
0
down vote













Unfortunately, there's no way to create a scheduled task that just wakes the computer up.
The only non-deprecated action a scheduled task can perform is running a program/script.



However, like in many cases, there's a workaround. You can configure a scheduled task to wake the computer up to perform the task. If the action is, for example, "open a cmd an immediately close it", a scheduled task can wake the computer up at a specific time.



It sounds as if you already know how to create a scheduled task, so I'll just skip to the interesting parts.



After configuring what time and how frequently you want the task to run, the action you want to add is "start a program". Under "Program/script", write "/c exit". This is a simple command that will end cmd/powershell sessions.



Open the scheduled task's properties. In the "general" tab, mark "Run whether user is logged on or not", for obvious reasons.



Now all that's left is to make the scheduled task wake the computer up if need be. In the properties, and under "conditions" mark "wake the computer to run this task". You might also want to remove the mark on "Start the task only if the computer is on AC power", if you're using a laptop. There's no need to give the task any special privileges.



And there you go - a new scheduled task that wakes the computer up whenever you want.






share|improve this answer





















  • Thanks for this @stav and sorry for the late reply. This I found in a tutorial on HTG before posting the question, but it doesn't work with the way I put it to sleep, posted in the original question. Maybe then you could provide a better way of putting it to sleep?
    – Alex Bartiş
    Dec 27 '17 at 5:20











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1274082%2fschedule-windows-10-sleep-and-wake%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Unfortunately, there's no way to create a scheduled task that just wakes the computer up.
The only non-deprecated action a scheduled task can perform is running a program/script.



However, like in many cases, there's a workaround. You can configure a scheduled task to wake the computer up to perform the task. If the action is, for example, "open a cmd an immediately close it", a scheduled task can wake the computer up at a specific time.



It sounds as if you already know how to create a scheduled task, so I'll just skip to the interesting parts.



After configuring what time and how frequently you want the task to run, the action you want to add is "start a program". Under "Program/script", write "/c exit". This is a simple command that will end cmd/powershell sessions.



Open the scheduled task's properties. In the "general" tab, mark "Run whether user is logged on or not", for obvious reasons.



Now all that's left is to make the scheduled task wake the computer up if need be. In the properties, and under "conditions" mark "wake the computer to run this task". You might also want to remove the mark on "Start the task only if the computer is on AC power", if you're using a laptop. There's no need to give the task any special privileges.



And there you go - a new scheduled task that wakes the computer up whenever you want.






share|improve this answer





















  • Thanks for this @stav and sorry for the late reply. This I found in a tutorial on HTG before posting the question, but it doesn't work with the way I put it to sleep, posted in the original question. Maybe then you could provide a better way of putting it to sleep?
    – Alex Bartiş
    Dec 27 '17 at 5:20















up vote
0
down vote













Unfortunately, there's no way to create a scheduled task that just wakes the computer up.
The only non-deprecated action a scheduled task can perform is running a program/script.



However, like in many cases, there's a workaround. You can configure a scheduled task to wake the computer up to perform the task. If the action is, for example, "open a cmd an immediately close it", a scheduled task can wake the computer up at a specific time.



It sounds as if you already know how to create a scheduled task, so I'll just skip to the interesting parts.



After configuring what time and how frequently you want the task to run, the action you want to add is "start a program". Under "Program/script", write "/c exit". This is a simple command that will end cmd/powershell sessions.



Open the scheduled task's properties. In the "general" tab, mark "Run whether user is logged on or not", for obvious reasons.



Now all that's left is to make the scheduled task wake the computer up if need be. In the properties, and under "conditions" mark "wake the computer to run this task". You might also want to remove the mark on "Start the task only if the computer is on AC power", if you're using a laptop. There's no need to give the task any special privileges.



And there you go - a new scheduled task that wakes the computer up whenever you want.






share|improve this answer





















  • Thanks for this @stav and sorry for the late reply. This I found in a tutorial on HTG before posting the question, but it doesn't work with the way I put it to sleep, posted in the original question. Maybe then you could provide a better way of putting it to sleep?
    – Alex Bartiş
    Dec 27 '17 at 5:20













up vote
0
down vote










up vote
0
down vote









Unfortunately, there's no way to create a scheduled task that just wakes the computer up.
The only non-deprecated action a scheduled task can perform is running a program/script.



However, like in many cases, there's a workaround. You can configure a scheduled task to wake the computer up to perform the task. If the action is, for example, "open a cmd an immediately close it", a scheduled task can wake the computer up at a specific time.



It sounds as if you already know how to create a scheduled task, so I'll just skip to the interesting parts.



After configuring what time and how frequently you want the task to run, the action you want to add is "start a program". Under "Program/script", write "/c exit". This is a simple command that will end cmd/powershell sessions.



Open the scheduled task's properties. In the "general" tab, mark "Run whether user is logged on or not", for obvious reasons.



Now all that's left is to make the scheduled task wake the computer up if need be. In the properties, and under "conditions" mark "wake the computer to run this task". You might also want to remove the mark on "Start the task only if the computer is on AC power", if you're using a laptop. There's no need to give the task any special privileges.



And there you go - a new scheduled task that wakes the computer up whenever you want.






share|improve this answer












Unfortunately, there's no way to create a scheduled task that just wakes the computer up.
The only non-deprecated action a scheduled task can perform is running a program/script.



However, like in many cases, there's a workaround. You can configure a scheduled task to wake the computer up to perform the task. If the action is, for example, "open a cmd an immediately close it", a scheduled task can wake the computer up at a specific time.



It sounds as if you already know how to create a scheduled task, so I'll just skip to the interesting parts.



After configuring what time and how frequently you want the task to run, the action you want to add is "start a program". Under "Program/script", write "/c exit". This is a simple command that will end cmd/powershell sessions.



Open the scheduled task's properties. In the "general" tab, mark "Run whether user is logged on or not", for obvious reasons.



Now all that's left is to make the scheduled task wake the computer up if need be. In the properties, and under "conditions" mark "wake the computer to run this task". You might also want to remove the mark on "Start the task only if the computer is on AC power", if you're using a laptop. There's no need to give the task any special privileges.



And there you go - a new scheduled task that wakes the computer up whenever you want.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 7 '17 at 15:14









stav meir

113




113












  • Thanks for this @stav and sorry for the late reply. This I found in a tutorial on HTG before posting the question, but it doesn't work with the way I put it to sleep, posted in the original question. Maybe then you could provide a better way of putting it to sleep?
    – Alex Bartiş
    Dec 27 '17 at 5:20


















  • Thanks for this @stav and sorry for the late reply. This I found in a tutorial on HTG before posting the question, but it doesn't work with the way I put it to sleep, posted in the original question. Maybe then you could provide a better way of putting it to sleep?
    – Alex Bartiş
    Dec 27 '17 at 5:20
















Thanks for this @stav and sorry for the late reply. This I found in a tutorial on HTG before posting the question, but it doesn't work with the way I put it to sleep, posted in the original question. Maybe then you could provide a better way of putting it to sleep?
– Alex Bartiş
Dec 27 '17 at 5:20




Thanks for this @stav and sorry for the late reply. This I found in a tutorial on HTG before posting the question, but it doesn't work with the way I put it to sleep, posted in the original question. Maybe then you could provide a better way of putting it to sleep?
– Alex Bartiş
Dec 27 '17 at 5:20


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1274082%2fschedule-windows-10-sleep-and-wake%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕