Jump to content

[Question] [solved] Command-line to put Windows into standby ?


Camarade_Tux

Recommended Posts

Hi,

I use Windows on a laptop PC with Litestep as a shell. I'd like to add an entry to my custom menus to be able to put it into standby. However, I've not been able to find the proper command to execute, shutdown.exe does not do the trick.

Does anyone know ?

Thanks a lot. :)

Title edited -- Please, use [TAGS] in your topic's title.

--Sonic

Edited by Camarade_Tux
Link to comment
Share on other sites


Thanks a lot and sorry, about the tagging.

Btw, I would have tried a hacked rundll32.exe from http://www.p-nand-q.com (exact link : http://www.p-nand-q.com/download/rundll32.html ). And it would have probably shown me the correct command. However this tool needs a dll that is not present under XP but that's a minor annoyance.

Anyway, thank you. And if I don't post again in a few seconds, it's probably this worked. :)

Link to comment
Share on other sites

What annoys me with MS's way is it will go into the deepest state available : if hibernation is available it will go into it and not in simple standby.

Since Task Manager lets you choose between Standby and Hibernation, I'll try with hacked rundll32.exe and if I can't find (which is in fact likely) I'll use psShutdown. Thanks. ;)

Link to comment
Share on other sites

I found some nice infos.

First of all, a documentation entitled "Windows Native Processor Performance Control": http://download.microsoft.com/download/5/7...e%20Control.doc

Then, this page on msdn which is an index in fact : http://msdn.microsoft.com/library/default...._management.asp

And especially : http://msdn.microsoft.com/library/default...._policy_str.asp

I think this should help people understand power schemes keys in the registry (the ultra-long BINARY one). But if you know of somebody who already described those keys, I'll just be happy with that. :P

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...