Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

02 Jun 2019   #1
JohnnyScience

Windows 7 64 & Ubuntu 64
 
 
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 System SpecsSystem Spec
.
03 Jun 2019   #2
billmcct

Windows 7 Home Premium
 
 

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 System SpecsSystem Spec
03 Jun 2019   #3
Megahertz07

Windows 7 HP 64
 
 

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 System SpecsSystem Spec
.

09 Jun 2019   #4
JohnnyScience

Windows 7 64 & Ubuntu 64
 
 

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 System SpecsSystem Spec
10 Jun 2019   #5
Megahertz07

Windows 7 HP 64
 
 

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 System SpecsSystem Spec
Reply

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




Thread Tools




Similar help and support threads
Thread Forum
Microsoft Sculpt wireless keyboard doesn't work on my lap??
I've had Microsoft wireless ergonomic keyboards 4000 & now the Sculpt and I love them, but I seem to have a problem with them, it was an issue with the older keyboard too but now constantly with the Sculpt. If I place the keyboard on my lap, it basically cuts out and doesn't type. If I move it...
Hardware & Devices
Microsoft Sculpt Keyboard issue
Just a heads up on a problem with this keyboard, at least with a Lenovo w530 with Win 7 Pro. When the OS goes into power-save mode, and I used my fingerprint reader to start the system back up and open Windows, the keyboard behaves as if someone were holding down a shift or ctrl key. In any...
Hardware & Devices
Windows snaps away sometimes when I press on the Caps Lock button
It happens in all the programs that I use, even when I'm renaming a file. For example, when I'm typing this post, or on Microsoft Word, or Notepad, and when I press on the Caps Lock button sometimes to change between capital letters and lower case, the "focus" (or whatever the technical term is),...
General Discussion
Caps lock, num lock, scroll lock screen messages
Hi, how to disable Caps lock, num lock, scroll lock screen messages? I have desktop pc with two keyboards usb and bluetooth. Also TOSHIBA Bluetooth Stack software, but in device manager: keyboard > hid keyboard device both using microsoft drivers. And I dont have any software installed...
General Discussion
Start Menu - Replace Shut Down Button, with Lock Button
I want to replace the Shut Down button, with a Lock button instead :geek: How do you do that? :confused: I wondered this for a while actually. I mean the button in the pic below ;)
Customization


Our Sites

Site Links

About Us

Find 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 05:48.
Twitter Facebook