Jump to content

Win Key + L in 2k?


Recommended Posts


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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...