I had one answer here about how to do auto-login & sceen locking How to do silent auto-login?
however it is not secure, how to do that more secure way?
P.S. I tried the free tool called Auto Logon & Lock, but it doesn't work for me.
I had one answer here about how to do auto-login & sceen locking How to do silent auto-login?
however it is not secure, how to do that more secure way?
P.S. I tried the free tool called Auto Logon & Lock, but it doesn't work for me.
Change your logon shell at HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon → Shell (REG_SZ)
from Explorer to a program that first calls LockWorkStation()
, followed by starting of the real Explorer.exe
.
Or do it even earlier by changing HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon → Userinit (REG_SZ)
to a wrapper for Userinit.exe.
(Do not use rundll32
for locking, though. Write something in C# or Python or whatever else.)