A place where you can find useful softwares, tips and tricks for your computer

Disable the Windows Key

This is a problem for some gamers that are annoyed every time they accidentally pressed the windows key while playing. This can also be used by Administrators who want to lock computers in secure environments (for example, demonstration workstations and kiosks) may need to disable the Windows keyboard commands found on the Microsoft Natural Keyboard and compatible keyboards. I'll show you two methods.

FIRST:

  1. Copy the following (everything in the box) into notepad.
  2. Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
    "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,5b,e0,00,00,5c,e0,\
    00,00,00,00
  3. save as DisableWinKey.reg or with any file name.
SECOND:
This is from microsoft's official site.
The following script used in conjunction with the Regini.exe utility from the resource kit disables the left and right Windows logo keys on the Microsoft Natural Keyboard and other compatible keyboards.

To disable all Windows keyboard shortcut keys, save the following text in a REGINI script called Disable_wins.ini in C:\. Run the script from the Windows NT command prompt(Type cmd in the run menu). For example, from the C:\> prompt, type regini disable_wins.ini. Restart the computer to make the changes take effect.
[REGINI SCRIPT STARTS HERE:]

;
; This mapping is used to turn both Windows keys off
;
\Registry\Machine\SYSTEM\CurrentControlSet\Control\Keyboard Layout
Scancode Map = REG_BINARY 24 \
0x00000000 0x00000000 3 \
0xE05B0000 0xE05C0000 \
0x0

; Here is an explanation of all the values:
;
; 24 Size of the scancode map including header, in bytes
; 0x00000000 Header : Version
; 0x00000000 : Flags
; 3 : Number of entries (includes null terminator)
; 0xE05B0000 left Windows -> nul (0xE0 0x5b -> 0x00)
; 0xE05C0000 right Windows -> nul (0xE0 0x5c -> 0x00)
; 0x00000000 null terminator

[REGINI SCRIPT ENDS HERE]

3 comments:

arjay said...

Tol.pwede ko i copy mga ibang post mO?lagay ko sa blog mo i advertise din kita.salamat

POS Equipment said...

This is really useful.

sosan k said...

tips and tricks for kiosks software?



Custom Kiosk Software | Custom Kiosk Solution