Solved

script for sleep and wakeup on PC

Posted on 2016-08-26
2
117 Views
Last Modified: 2016-08-26
Is it possible to create a script that will put my PC to sleep at certain hour and wake up at certain hour and configure "task scheduler" that will run this script? I just want to have this done automatically in stead of manually.  If snot, are there any other option to have this accomplished ?
0
Comment
Question by:Shark Attack
2 Comments
 
LVL 28

Accepted Solution

by:
omgang earned 500 total points
ID: 41772180
Yes.  I just did a quick search on this.
Create a Scheduled Task, set it to run whether user is logged in or not.  Select 'Wake the computer to run this task'.  In the Specify Action, in the example I saw simply specify cmd.exe to open a command window and add an argument to immediately close the command window.

Do a web search for "windows 7 task scheduler task wake".  In the example I viewed there was a link to create a task to put the computer to sleep as well.

OM Gang
0
 
LVL 3

Author Comment

by:Shark Attack
ID: 41772196
thanks
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question