S3 Sleep Via .Bat File?

  • Thread starter Thread starter (PeteCresswell)
  • Start date Start date
P

(PeteCresswell)

I'd like to create a desktop icon that executes a .BAT file that
puts the PC into sleep mode 3.

"Sleep" doesn't seem tb the ticket.

Anybody know?
 
Per (PeteCresswell):
I'd like to create a desktop icon that executes a .BAT file that
puts the PC into sleep mode 3.

"Sleep" doesn't seem tb the ticket.

Anybody know?


It's beginning to look like I need a wrapper for PowrProf.dll
and/or it's SetSuspendState entry point.... or maybe the command
line syntax to specify parms on the command line.

To wit:
-------------------------------------------
RunDll32.exe PowrProf.dll, SetSuspendState
-------------------------------------------

Will make the PC go into hibernation.

Close.... what I want is the next level up: "Sleep Level 3", or
"S3".
 
Peter,

This is the regstry key to enable S3 Sleep (Standby Mode in XP):

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USB]
"USBBIOSx"=dword:00000000
 
Per Newbie Coder:
Have you also set the correct power
options to allow the mode?

Yes - they're in the BIOS setup screen.

Some boards support S3, others don't.

Also, some boards wake up from USB keyboard/mouse activity and
others need for the user to press the physical power switch.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top