How can I logoff and go to stand-by via Win XP script?
- by Peter
I am looking for a way to write a script (of any sort) that would both log me off my local Windows account and also immediatedly put the computer to sleep / stand-by. I've found solutions that can do one or the other but not logoff and then sleep all in one script. The SHUTDOWN command doesn't offer this and I can't find any other options either.
This is for Win XP, SP3 right now but someday soon I'll want a Windows 7 solution as well.
Thanks for any ideas or an explanation as to why this isn't possible. :)