How to lock screen with one button on Windows Sculpt keyboard?


  1. Posts : 889
    Windows 7 64 & Ubuntu 64
       #1

    How to lock screen with one button on Windows Sculpt keyboard?


    On my old microsoft wireless keyboards there was always a single button that would allow me to lock the screen with one press.


    I would like to do the same with the Microsoft Sculpt Ergonomic keyboard, but it doesn't seem to be as straight forward?


    Can anyone help me figure out how to do this?

    Thank you!
      My Computer


  2. Posts : 374
    Windows 7 Home Premium
       #2

    If there is no dedicated key then you will need to use remapping software the remap an unused key for this specific use.
    I have only used "KeyTweak" but there are many free programs to do this. A review for KeyTweak:
    The Best Key Remapper for Windows

    Remap Keyboard Keys with These 3 Free Apps [Windows]
      My Computer


  3. Posts : 7,351
    Windows 7 HP 64
       #3

    To create a batch file to lock
    - Right click on the desktop - New - Shortcut
    On the address paste this cmd line:
    %windir%\System32\rundll32.exe user32.dll,LockWorkStation
    Name it as Lock
    Right click on the shortcut and change the icon.
      My Computers


  4. Posts : 889
    Windows 7 64 & Ubuntu 64
    Thread Starter
       #4

    Ok does the remapping software over-ride all of the Microsoft keyboard software and hotkeys?


    What does creating that batch file allow me to do? Once I create that new shortcut, what do I do with it?


    Is there a way to tie it to a keyboard key without the remapping software then?


    Can't believe Microsoft made this so difficult.
      My Computer


  5. Posts : 7,351
    Windows 7 HP 64
       #5

    A keyboard entry is software translated to a character. Same keyboard can act as a US English or Hebrew, depending of the translation file. Some keyboards has a add on software to add some other functions to non standard keys, like the one you had on your old microsoft wireless keyboard. It's very common on laptops.

    Remapping changes the translation file matrix. For example you can assign the . to be , on the numeric keyboard.
    Some remapping software can associate a code to key (that is what you're looking for. the code would be %windir%\System32\rundll32.exe user32.dll,LockWorkStation)

    Creating a shortcut with the %windir%\System32\rundll32.exe user32.dll,LockWorkStation code will lock the computer when double clicked.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:16.
Find Us