flarn2006 Posted November 4, 2008 Share Posted November 4, 2008 I have my laptop (which only I use) set to classic logon mode. Whenever I am away from my laptop I lock it. But is there any way to make it so it automatically logs me in at startup but locks it instantly? That way if I leave it unattended at the lock screen, which would basically then be the new login screen, it will still log me in and everything so I won't need to wait after I type my password unless it hasn't finished yet. Does anyone know how I could go about doing this? Thanks in advance! Link to comment Share on other sites More sharing options...
twig123 Posted November 4, 2008 Share Posted November 4, 2008 (edited) Add this or a shortcut to this file in your Startup Folder:LockWorkstation.bat@Echo offrundll32.exe user32.dll, LockWorkStationDepending on how your system is setup this will do one of 2 things... Either take the system to the "Computer Locked" screen where either admin or the current user can unlock... or will take your system back to the "Welcome" screen to choose a user to login as (if Fast User Switching is enabled.) Edited November 4, 2008 by twig123 Link to comment Share on other sites More sharing options...
flarn2006 Posted November 4, 2008 Author Share Posted November 4, 2008 (edited) Add this or a shortcut to this file in your Startup Folder:LockWorkstation.bat@Echo offrundll32.exe user32.dll, LockWorkStationDepending on how your system is setup this will do one of 2 things... Either take the system to the "Computer Locked" screen where either admin or the current user can unlock... or will take your system back to the "Welcome" screen to choose a user to login as (if Fast User Switching is enabled.)Thanks! That worked perfectly! Edited November 4, 2008 by flarn2006 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now