Answer the question
In order to leave comments, you need to log in
How to log out (Win7) and at the same time launch the screensaver with a hotkey?
I know that it is Win + L to exit, and you can start the screensaver with a hot key by creating a shortcut on the desktop with the necessary settings. But how do you get it all to work together?
Answer the question
In order to leave comments, you need to log in
Locking the system from the command line:
RUNDLL32.exe USER32.dll,LockWorkStation
create a shortcut on the desktop with the command that belk wrote, assign the shortcut key combination to the shortcut - and voila!
I've settled on a bat file for now.
C:\Windows\winsxs\x86_microsoft-windows-ribbons...\Ribbons.scr /S
RUNDLL32.exe USER32.dll,LockWorkStation
Why are these options better than the key combination "win + l"? Screensaver still won't start.
I suggest adding start before calling the splash screen
<code class="xml">start C:\Windows\winsxs\x86_microsoft-windows-ribbons...\Ribbons.scr /S RUNDLL32.exe USER32.dll,LockWorkStation </code>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question