Create a desktop shortcut "rundll32.exe powrprof.dll,SetSuspendState 0,1,0"
without the quotes.
http://www.howtogeek.com/howto/windo...windows-vista/
"Giles" <> wrote in message
news:3AD2FC40-2E14-4CDD-A799-...
>I have Vista 64 bit. My PC stopped going to sleep when I pressed the sleep
> button (in fact it crashed); to cut a long story short, I eventually
> traced
> the problem to a new sound card I'd installed - disabling the card allows
> sleep to work normally. (I see that the card manufacturer, M-Audio,
> includes
> a note in its FAQ to the effect that none of its cards will work with
> sleep.
> Great.)
>
> I'm now faced with the prospect of having to navigate through Control
> Panel
> and the Device Manager to disable the card every time I want to put the PC
> to
> sleep, and then the same performance to re-enable to card when I wake it
> up.
>
> Does anyone know if it's possible to run a series of commands when the
> sleep
> button is pressed so that it disables the card before going to sleep? I
> suppose I'm asking if there's a way that someone who's only semi-technical
> could write a macro and apply it to the button - or is this just cloud
> cuckoo
> land?