Nov022012

How to set time interval for Windows desktop to auto-sleep?

Dr.Sunil Vaswani asks:

How to set time interval for Windows desktop to auto-sleep? Please specify and elaborate the menu process for setting the interval.


Browser: Chrome 22
System: Windows
Tagged: , ,

10 Answers - Write an Answer

0 votes
0 votes
Reply

Erlis Dhima

November 2, 2012

0. You’ll need a batch file, scheduled to run at 1:30am. Copy and paste this into a txt file, save it to a location where it won’t get deleted (C:\Windows) as die.bat (NOT die.bat.txt)

shutdown /s /f /t 20

1. This shuts the computer down (/s), forces any process to end (/f) with a 20 seconds timeout (/t 20). To make it sleep/hibernate, use the /h flag instead of the /s one.

2. Next, click on start and find Task Schedular. (All Programs, Accessories, Systems Tools, Task Scheduler).

3. On the right-hand pane, click “Create Basic Task” enter image description here

4. Give the task a name and description (example “Shutdown”).
5. Choose when you want to task to run (example “Daily”)
6. Choose what time you want to the task to run (example “01:30:00), recur ever 1 days)
7. Choose “Start a Program”
8. Browse to the location of the .bat file.
9. Click Next, Click Finish.
10. To test, save all your work, right-click, and “Run Now”.

This is one of the best tutorials, I think, which I found it from: http://superuser.com

Lisa Santika Onggrid

Can’t say any better. This is the best if you need elaborate setup.

November 2, 2012
Erlis Dhima

Another option would be to use a software to schedule shutdown!
MUO added in the reward section a software called Switch! It can do the work too, I think!

November 4, 2012
0 votes
Reply

Lisa Santika Onggrid

November 2, 2012

Control Panel>Power Options>Look at the task pane, choose ‘change when the computer sleeps’>set the interval to your preference.

If you need more complex settings, try Erlis’ method.

0 votes
Reply

Bruce Epper

November 2, 2012

The easiest way to control the time interval before the system sleeps in Vista/7 is go to to Control Panel -> Power Options. Select ‘Change when the computer sleeps’ from the left side of the panel and change the interval in the ‘Put the computer to sleep:’ option. Save the changes.

0 votes
Reply

Naveen Kumar

November 2, 2012

first tell me what version of windows are you using.Any way try these
http://www.bluechillies.com/download/62872.html

Sunil

Windows 7

November 3, 2012
0 votes
Reply

susendeep dutta

November 2, 2012

Schedule Windows to Sleep and Wake Automatically (Windows 7) -

http://www.groovypost.com/howto/schedule-wake-sleep-windows-automatically

OR

How to Make Your PC Wake From Sleep Automatically (Windows 7) -

http://www.howtogeek.com/119028/how-to-make-your-pc-wake-from-sleep-automatically/

SmartPower (Windows XP or later and .net framework 3.5) -

http://ignatu.co.uk/SmartPower.aspx

0 votes
Reply

Nikhil Chandak

November 2, 2012

this is a shutdown timer which may help u
http://www.fileguru.com/Free-Shutdown-Timer/info
or sorry , if I was not able to help u :(

0 votes
Reply

Boni Oloff

November 3, 2012

You can go power options in control panel, and set the sleep after specified minutes.

0 votes
Reply

Sunil

November 4, 2012

Thanks to respondents for your valuable efforts

Write an Answer

Log in to MakeUseOf using one of your online accounts below.
(Why? Earn points, unlock giveaways, access exclusives)

Or, comment anonymously