Solved

script for sleep and wakeup on PC

Posted on 2016-08-26
2
72 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 1

Author Comment

by:Shark Attack
ID: 41772196
thanks
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
OfficeMate Freezes on login or does not load after login credentials are input.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now