Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: What is correct way to put computer to sleep automatically & waken it

18 May 2017   #1

Windows 7 Home Premium 32bit
What is correct way to put computer to sleep automatically & waken it

New to forum and need assistance.
Tested using this in Task Scheduler and it put computer to sleep C:\Users\Peter\Documents\AllData\Sleep batch file\sleep.bat

However, i did not know how to restart and after hitting random keys and moving mouse screen showed "Resuming Windows"
Nothing happened and I had to manually reboot

As background I have previously finished day by putting computer to sleep manually and have a task to waken it next morning.

What is correct way to resume after computer is in sleep mode.
Is there anything I should have added when creating the sleep task particularlly when I want all open files /links to remain when reopened.

My System SpecsSystem Spec
18 May 2017   #2

Microsoft Windows 7 Home Premium Build 7601 32bit

There is really no need to create a batch file to put the computer to sleep. Theu can all be done via the power settings panel.
Perhaps this link will explain.
My System SpecsSystem Spec
19 May 2017   #3

Windows 7 Home Premium 32bit

Thanks for that link.
My intrepretation of "sleep" is that computer does not shut-down and when activated , either by a set task or manually it returns to the files that were open before going to "sleep".

I did a test with Power settings setting changing it from 10m to 1 minute and screen went black after about 1 minute .
I tried to wake it by moving mouse and it switched of completely.

So at this stage it looks like my intrepretation is not correct, and I am puzzled that computer screen went black when under the previous setting of 10 minutes this never happened.

I need computer to be in full operation throughout the day to receive certain info .
At night it does not matter if it goes to sleep and can be reactivated by some action by me.
However , it is important that a task I now have running to wake computer at 1am comes into effect so that during that day the info needed is received.
This is why I need some method to automatically put computer in sleep mode daily for the times I am away from home and cannot manually reactivate computer.

Currently I manually put computer to sleep after I have finished with computer
Any further advices appreciated

EDIT Once again computer turned off so it looks like I have disturbed some setting .It reopened when i turned power button on
My System SpecsSystem Spec

22 May 2017   #4

Windows 7 Home Premium 32bit

Fixed it through Power setting changing from Balanced to Power saver with sleep set for 15min.

Wake from sleep achieved via programme setting in Task Scheduler
My System SpecsSystem Spec

 What is correct way to put computer to sleep automatically & waken it

Thread Tools

Similar help and support threads
Thread Forum
How do i set up to turn on and off sleep automatically
I want to put my PC to sleep every night so i doesn't run the power bill up 1000 times. I have a backup setup to start at 3 in the morning (when i'm obviously not using it). When it's asleep it can't do that so, i need a way to wake it up to do the backup then go back to sleep after it's done. Pls,...
General Discussion
PC requires password when waken from sleep
Hi, So usually when I put my PC to sleep, I can just wake it up and be greeted with my desktop. Now everytime I wake it up, it says my PC is locked and I have to enter my password to log in. I gone into power management it says "Yes" to require password when login, however I will not let me...
General Discussion
Windows Wont sleep unless i automatically put it in sleep
Hi, So pretty much what the title says. I have it set to sleep after 30mins which it doesnt, and yet if i go to the start menu and choose sleep myself it will. Any ideas why?
Performance & Maintenance
Computer will not go into sleep automatically
Hi can some one help me on this matter, it seems I can go to start and put my computer to sleep manually but it will not do this on its own when not is use, I tried evey setting the screen will automatically turn off but my tower will not power down. Any help would be great. Thanks
Performance & Maintenance
Automatically gets to Sleep
hi There, i have a little problem, coz when i leave PC for about 10-20 minutes, the pc it gets automatically on Sleep, and when i turn it on again, it makes alot of Noise, so i have to restart and the noise dissepierd. idk if you can understand this part, but i really need help, coz i dont want my...
Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:23.
Twitter Facebook Google+