sailorsonic Posted April 10, 2006 Share Posted April 10, 2006 Does anyone know a way to get the Win Key + L to work in 2k like it does in xp? Link to comment Share on other sites More sharing options...
cluberti Posted April 10, 2006 Share Posted April 10, 2006 I believe it's a function of shell .dll's on XP/2003, and those functions do not exist in W2K shell .dll's. If you replaced the W2K shell with the XP shell it *might* work, but doing such usually results in a system that is quite unstable. There is a reason that W2K doesn't have this function - the LockWorkStation function was not designed to be run this way via rundll32. To be run via rundll32, a function needs to match a very specific function signature, which LockWorkStation doesn't. As a result, the stack is misaligned on return and this will likely cause system instability. While shortcuts to rundll32 using the LockWorkStation function may work, they may also bugcheck the machine.You could use "rundll32 user32,LockWorkStation" in a shortcut and assign the Win+L combination to it, but the reasons for not doing this are the same as the reason Win+L doesn't exist in W2K (see above). 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