My bad, I realized that the command I posted above, isn't for "lock" but for "switch user"...
While I was changing the code, I simply pasted the command line in the wrong position.
Your code is correct and at the moment there's no other solution other than use tsdiscon.exe to quickly change user.
It is currently March 29th, 2024, 2:09 pm
Shutdown Skin
-
- Moderator
- Posts: 1387
- Joined: April 11th, 2013, 8:08 pm
- Location: Italy
-
- Posts: 15
- Joined: May 10th, 2016, 5:39 pm
Re: Shutdown Skin
Hi jsmorley,
I'm hoping you can help me out, as I've been trying to incorporate a sleep button into my setup and I have just found this skin. But when using your skin I'm still encountering the same problem I have run into.
Is there a way to find out what my windows menu -> power -> sleep is doing differently to the above command line?
Thanks in advance,
BT
I'm hoping you can help me out, as I've been trying to incorporate a sleep button into my setup and I have just found this skin. But when using your skin I'm still encountering the same problem I have run into.
I've used the same command line as in your skin and pressing the sleep button on your skin (or mine), for some reason it sends my computer into a deeper sleep (the computer does a full bootup when waking) than when I use the windows start menu sleep command...????jsmorley wrote:
Sleep: rundll32.exe PowrProf.dll,SetSuspendState 0,1,0
Is there a way to find out what my windows menu -> power -> sleep is doing differently to the above command line?
Thanks in advance,
BT