1.    21 Sep 2017 #1
    Join Date : Sep 2016
    Posts : 165
    Windows 10 Pro 64 bit

    Lock user screen (win+L)


    Hello,

    What is then "shutdown" command line to do that?

    Not the /L i need to block not to logoout, thanks.
      My ComputerSystem Spec
  2.    21 Sep 2017 #2
    Join Date : Feb 2015
    Bamberg Germany
    Posts : 17,687
    Win10 Pro, Win10 Pro N, Win10 Home, Win10 Pro Insider Fast Ring, Windows 8.1 Pro, Ubuntu
      My ComputersSystem Spec
  3.    21 Sep 2017 #3
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,979
    Windows 10 Pro

    The SHUTDOWN command has no option to lock PC. USe the following command instead:

    rundll32.exe user32.dll, LockWorkStation

    Tutorial: Lock Computer in Windows 10 Windows 10 General Tips Tutorials

    Kari
      My ComputerSystem Spec
  4.    21 Sep 2017 #4
    Join Date : Sep 2016
    Posts : 165
    Windows 10 Pro 64 bit
    Thread Starter

    Thanks guys
      My ComputerSystem Spec
  5.    21 Sep 2017 #5
    Join Date : Feb 2015
    Bamberg Germany
    Posts : 17,687
    Win10 Pro, Win10 Pro N, Win10 Home, Win10 Pro Insider Fast Ring, Windows 8.1 Pro, Ubuntu

    Quote Originally Posted by Pipppero2007 View Post
    Thanks guys
    You're welcome
      My ComputersSystem Spec

 


Similar Threads
Thread Forum
Lock screen apps not showing up on lock screen
I've tried searching through the forum but can't see anyone who has a similar issue. I can access the lock screen settings and I can see all available apps and have set a detailed status app and a couple of less detailed ones. However, when I...
Software and Apps
Being absolutely tortured by lock screen lock ups...please help!
Ok I've been suffering this issue with Windows 10 for as long as I can remember, and it's stopping me using it as the primary OS. In short I have two, intermittent issues which nothing I do seems to resolve. 1: After waking up from sleep and...
BSOD Crashes and Debugging
Lock Screen Accent Color Frequently Changes to Another User's Color
Hi, So, when I am using the Windows lock screen, especially when I am not currently signed in, Windows tends to set my lock screen accent color to purple, much like my wife's account on the computer. She has chosen a purple accent color for her...
Customization
Lock up screen issues - hang on lock up
Hi All. I have a new one installed Lenovo T450s with Windows 10 Entreprise. I have joined the machine into a domain without some active GPO. When I'm at home or sitting at a customer and must unlock the screen, it takes a war! It is as if...
General Support
Solved Lock Screen Preview and Lock Screen nuisance
Can anyone tell me how to eliminate the lock screen preview and bypass the 'Sign In' button on the lock screen? I often put my computer to sleep then to bring it back (in Windows 7) I would simply hit the space bar and turn on my mouse and it...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 15:43.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums