-1

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.

1

1 Answer 1

4

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.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .