How to lock Windows screen on startup? [duplicate]
I like to go get coffee while the computer starts. However we have a policy that says the screen must be locked when away.
How can I make sure that the screen locks immediately after logging in?
Solution 1:
Try
RUNDLL32 USER32.DLL,LockWorkStation
http://www.robvanderwoude.com/rundll.php
You can create a Shortcut to the c:\Windows\System32\rundll32.exe
and add the parameter.
If you put this shortcut in the Autostart folder, your computer will be locked after login.
Screenshot is german, but the shortcut target should look like this, (verified with Windows 8 but should work with Windows 2000+)
Solution 2:
If I am not mistaken, when you disable auto login the lock screen will be automatically activated.