Page 1 of 1
Putting Win 7 to sleep
Posted: 02 Mar 2020 11:55
by aurumdigitus
Can there be a script for a CTB to put a Windows 7 desktop to the same sleep mode that is available by going through the Start Menu sequence? The is the
Sleep state and not any variation of Hibernate.
Thanks in advance for your time and talent

Re: Putting Win 7 to sleep
Posted: 02 Mar 2020 22:16
by nas8e9
If you have the
Sysinternals suite installed (highly recommended) with its folder added to the path, you can use the psshutdown command:
Edited to add: The button command would then be:
Re: Putting Win 7 to sleep
Posted: 03 Mar 2020 02:53
by aurumdigitus
Thank you for the response. This appears to be a more complex solution than anticipated but if it does what is needed will look into it. A new adventure!