Sign in with
Sign up | Sign in
Your question
Solved

Windows 7 - Shutdown vs sloep in power options

Last response: in Windows 7
Share
July 17, 2012 10:47:36 AM

Hello,
I just upgraded to win7 with an SSd. I would like to go have it shutdown vs sleep after 10 min of inactivity. Is there an option
for that?

I am having lockups when it goes to sleep.

Thanks as always.
a c 228 $ Windows 7
July 17, 2012 12:33:23 PM

Go into the windows power options and tell it not to go to sleep. I'm not sure if you can tell it to shut down, but if you can, it will be in the power options.
m
0
l
July 17, 2012 1:08:41 PM

I checked that and shutdown is not an option, unlike XP. I want it to shutdown after an idle timer expires.
m
0
l
Related resources
July 17, 2012 1:09:06 PM

I checked that and shutdown is not an option, unlike XP. I want it to shutdown after an idle timer expires.
m
0
l
a c 228 $ Windows 7
July 17, 2012 1:19:06 PM

Try making a batch file with the shutdown command in it then use the scheduler to schedule it to run every xxx minutes and check the box to only run if the system is idle. I've never tried this, but I think it will work.
m
0
l
July 18, 2012 4:26:26 PM

Thanks. Are there any pointers to constructing this batch file?
m
0
l

Best solution

a c 228 $ Windows 7
July 18, 2012 4:34:20 PM

Just create a file called myshutdown.cmd. Use a plain text editor like notepad or something and add this line:

shutdown -s -f -t 0

and save it. That's it. This is the windows shutdown command. The -f = force programs to shutdown, -s = shutdown, and -t 0 = time in seconds where 0 is now. Just double click on the file to test it.
Share
July 19, 2012 5:20:13 PM

Best answer selected by lrogers287.
m
0
l
!