Program Keyboard Key

Discussion in 'Windows Desktop Systems' started by GMeagle86, Jun 13, 2004.

  1. GMeagle86

    GMeagle86 OSNN Addict

    Messages:
    144
    I have the Microsoft Wireless Desktop Keyboard Elite, It has a key that is programmable that says Log Off. When I click it, it causes a box to pop up on my screen saying do you want to log off or switch users....How can I set it to auto switch users? Thanks!
     
  2. yoyo

    yoyo _________________

    Messages:
    1,557
    You can try this command

    %windir%\System32\rundll32.exe user32.dll,LockWorkStation
     
  3. GMeagle86

    GMeagle86 OSNN Addict

    Messages:
    144
    Thanks! It worked...I just had to replace %windir% with C:\windows