| Windows 7: Timed Shortcut for sleep/hibernation? |
17 Jun 2010
|
#1 | | |
Timed Shortcut for sleep/hibernation? Hi, so I have 10,000msecond(2.7hour) shortcut to shutdown my computer ("C:\Windows\System32\shutdown.exe -s -t 10000") which i use for watching films before bed, just encase i sleep half way through but I was wondering if there was a way to make a similar shortcut but instead of making your computer shutdown in a few hours make it sleep in a few hours time.
Now I know how to make a sleep shortcut but that makes the computer sleep instantly, and putting "-t 10000" at the end of "C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0" doesnt work. Apparently their is a way to do it if you install some software but I don't want that.
Anyone know if its possible with just windows command shotcuts? | My System Specs |
| System Manufacturer/Model Number Studio XPS Desktop 435MT OS Windows 7 Home (x64) CPU Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz - x8 Memory 8.00 GB of DDR3 RAM Graphics Card Nvidia 560 ti Monitor(s) Displays Dell ST2210 (analog) x2 Screen Resolution 1920x1080 Keyboard Sidewinder Mouse Noxus PSU 750w Cooling Fan Based Hard Drives 240GB SSD
500GB HDD
1TB external
1.5TB external
300GB pprtable Internet Speed 10megabits download, 1megabit upload |
17 Jun 2010
|
#2 | | Windows 7 Ultimate x64 SP1 Hampton VA |
I have no ideal how to do this, wasn't even aware you could, but that's an interesting scenero.
Be interesting to see what solutions are posted. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Built by me OS Windows 7 Ultimate x64 SP1 CPU Intel Core i7-950 (3.06GHz) OC to 3.8GHz Motherboard Gigabyte GA-X58A-UD5 rev 1, F6 Bios Memory 12 gig Corsair DDR3 Dominator GT Memory (3X 4GB) Graphics Card AMD Radeon HD6950 2gig (Sapphire) Sound Card X-Fi Titanium Fatality Pro Monitor(s) Displays HP ZR22w 22" LCD Monitor Screen Resolution 1920 x 1080 Keyboard Logitech Wireless Wave Mouse Logitech Performance MX PSU Antec Signature - SG-850 Case Cooler Master HAF X Cooling Noctua NH-C12P SE14 Hard Drives Primary - OCZ Vertex 4 SSD (256GB). Storage - OCZ Vertex 2 SSD (120GB) & 2TB WD Caviar Black. Internet Speed High Speed Cable Other Info Memory Timings - 1600MHz @ 8-8-8-20-1T @ 1.640 volts |
17 Jun 2010
|
#3 | | Windows 7 Ultimate X64 SP1 Cromer Norfolk UK |
should work as you posted.... but you will need to disable Hybrid Sleep in Advanced Power options first | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Self Built OS Windows 7 Ultimate X64 SP1 CPU Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz Motherboard Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz Memory 8GB 1333Mhz DDR3 Graphics Card NVIDIA GeForce GTX 460 Sound Card Realtek Monitor(s) Displays Acer Al1980, Screen Resolution 1360*768 Keyboard Alba USB Mouse IT Works Wireless USB PSU 750W Cooler Master Case Cooler Master Haf X Cooling Cooler Master Hyper TX3 Hard Drives 500GB SATA WBC
1TB WD Caviar Green
80GB IDE Samsung Internet Speed 12Mb/s Down 1.2 Mb/s Up |
18 Jun 2010
|
#4 | | |
so putting "C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0" into the shortcut does make it sleep, and putting -t 10000 doesnt make it timed it just does it instantly.
Unless im doing something wrong anyone got any ideas? | My System Specs | | System Manufacturer/Model Number Studio XPS Desktop 435MT OS Windows 7 Home (x64) CPU Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz - x8 Memory 8.00 GB of DDR3 RAM Graphics Card Nvidia 560 ti Monitor(s) Displays Dell ST2210 (analog) x2 Screen Resolution 1920x1080 Keyboard Sidewinder Mouse Noxus PSU 750w Cooling Fan Based Hard Drives 240GB SSD
500GB HDD
1TB external
1.5TB external
300GB pprtable Internet Speed 10megabits download, 1megabit upload |
18 Jun 2010
|
#5 | | Windows 7 Ultimate x64, Mint 9 In the Crust |
Try:
rundll32.exe powrprof.dll,SetSuspendState -t 10000 0,1,0
or removing the 0,1,0 altogether
~Lordbob | My System Specs | | System Manufacturer/Model Number Hera OS Windows 7 Ultimate x64, Mint 9 CPU Intel i5-2500k Motherboard ASUS P8P67 Pro Memory 2x 4Gb Corsair VENGEANCE DDR3-1600 Graphics Card NVidia GeForce N260GTX Twin Frozr Sound Card Realtek HD OnBoard Audio Monitor(s) Displays ASUS 24" Monitor Screen Resolution 1920x1080 Keyboard Razer Tarantula Mouse Razer Lachesis PSU Cooler Master Real Power Pro 750W Case Cooler Master Haf 932 Cooling Fans Hard Drives G.SKILL Phoenix Series 60GB SATA II MLC Internal Solid State Drive (SSD)
SAMSUNG Spinpoint F3R 1TB 7200 RPM 32MB Cache SATA II Internet Speed not fast enough |
18 Jun 2010
|
#6 | | |

Quote: Originally Posted by Lordbob75 Try:
rundll32.exe powrprof.dll,SetSuspendState -t 10000 0,1,0
or removing the 0,1,0 altogether
~Lordbob
Nope that doesnt work either. | My System Specs | | System Manufacturer/Model Number Studio XPS Desktop 435MT OS Windows 7 Home (x64) CPU Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz - x8 Memory 8.00 GB of DDR3 RAM Graphics Card Nvidia 560 ti Monitor(s) Displays Dell ST2210 (analog) x2 Screen Resolution 1920x1080 Keyboard Sidewinder Mouse Noxus PSU 750w Cooling Fan Based Hard Drives 240GB SSD
500GB HDD
1TB external
1.5TB external
300GB pprtable Internet Speed 10megabits download, 1megabit upload |
18 Jun 2010
|
#7 | | |
What I'd do is make a .bat file with this line in it:
echo schtasks /CREATE /SC ONCE /TR "C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0" /SD <start-date> /ST <start-time>
Then, say it's tonight around 11pm and you want to put the system to sleep at 1am, then <start-date> would be 6/19/10 and <start-time> would be 01:00.
Just edit the file to reflect whatever times you want, save it, then right click and run as admin to execute it and set up the scheduled task. | My System Specs | | OS XP / Win7 x64 Pro CPU Intel Quad-Core Q9450 @ 3.2GHz Motherboard Asus P5-E Memory 2x2GB GSkill DDR2 Graphics Card NVIDIA GeForce 8600 GTS (EVGA) Monitor(s) Displays Dell 2408WFP Screen Resolution 1920x1200 |
18 Jun 2010
|
#8 | | |
So that looks like it should work going to try it out in a bit but if anyone can find a way to do it without having to put them time in every time that would be awesome. | My System Specs | | System Manufacturer/Model Number Studio XPS Desktop 435MT OS Windows 7 Home (x64) CPU Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz - x8 Memory 8.00 GB of DDR3 RAM Graphics Card Nvidia 560 ti Monitor(s) Displays Dell ST2210 (analog) x2 Screen Resolution 1920x1080 Keyboard Sidewinder Mouse Noxus PSU 750w Cooling Fan Based Hard Drives 240GB SSD
500GB HDD
1TB external
1.5TB external
300GB pprtable Internet Speed 10megabits download, 1megabit upload |
18 Jun 2010
|
#9 | | |
If it is always the same time of day/night you want it to sleep, then you can leave the time the same and omit the date and never have to change it. The problem comes if you want to shut off at 1am (e.g. a different day than current). If you just put 01:00 and no date, it won't run b/c 1am has already passed on the current day. | My System Specs | | OS XP / Win7 x64 Pro CPU Intel Quad-Core Q9450 @ 3.2GHz Motherboard Asus P5-E Memory 2x2GB GSkill DDR2 Graphics Card NVIDIA GeForce 8600 GTS (EVGA) Monitor(s) Displays Dell 2408WFP Screen Resolution 1920x1200 |
10 Sep 2010
|
#10 | | |
Sleep Mode ?? If this: C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0
get my Windows 7 machine to hibernate via a shortcut icon on my desktop,
which it does on both 32- and 64-bit machines, then what gets it to go into "sleep" mode? | My System Specs | | System Manufacturer/Model Number Homebrew Intel 6600-based OS Win 7/Pro 64-bit CPU Intel 6600 Quad Motherboard eVGA 780i Memory 8 GB DDR2 Graphics Card EVGA 512 9500 GT + nVidia GT Monitor(s) Displays 4: (1) HP 22"W + (2) 19" + (1) 15" (pgm. icons only) Keyboard MS Natural (desktop) Mouse Logitech Nano Wireless Mouses (laptop & desktop) Case Cooler Master CM Cosmose 1000 (tower) Hard Drives SanDisk 150GB SSD (sys+pgms);WD Raptor 150GB (sys/pgm backup). Also, two of Seagate Barracuda ES.2's (data + backup)) and WD Raptor 150GB (spare) Internet Speed 10 Mbs download (cable) Other Info Also have HP Netbook; upgraded Windows XP/Home to Windows 7/Home, and Seagate Intel I5/15" screen with Windows 7-64/Home. Windows Experience Index on tower system: 7.1/7.1/6.9/6.9/7.0 Timed Shortcut for sleep/hibernation? problems? All times are GMT -5. The time now is 07:47 AM. | |