Keyboard Filter Driver for Windows Embedded Standard 7

The Keyboard Filter Driver allows you to block any unwanted key combination or even single keys. This is done by a kernel mode filter driver which filters out the key presses before they are processed by the system.
Examples for unwanted key combinations on an embedded system are: Ctrl+Alt+Delete, Ctrl+Shift+Esc, Win+E, etc. All these key combinations can be filtered with this driver.

The driver is available for Windows Embedded Standard 7 only and ships can be installed easily with a single setup file.

Configuration

The configuration is done via the command line tool kbfmgr.

image

Usage:   
/enable                                                                        Enables the filter driver
/disable                                                                        Disables the filter driver
/addset <+|->scancode[,<+|->scancode[,...]]                   Creates a new set of filtered scancodes
/modifyset <setid> <+|->scancode[,<+|->scancode[,...]]    Modifies a new set of filtered scancodes
/deleteset <setid>                                                         Deletes a set

 

Scancodes

The scancodes for the keys must be entered in decimal format.
A full list of all scancodes of the English keyboard layout can be found here: http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html

Sample configuration

To block LCtrl + LShift + Esc please run the following command:

kbfmgr /addset +1,+29,+42

After you have entered the command restart the device to apply the settings.

Installation

Run Setup.exe directly on the target device and follow the instructions of the wizard.
To enable the filter driver run

kbfmgr /enable

After running the command restart the device to apply the settings.

Well, this is the exact tool

Well, this is the exact tool I'm looking for. The ways used under previous embedded windows do not work under WES7. Thanks for sharing the nice tool.

Hunter

Post new comment

(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Glossary terms will be automatically marked with links to their descriptions. If there are certain phrases or sections of text that should be excluded from glossary marking and linking, use the special markup, [no-glossary] ... [/no-glossary]. Additionally, these HTML elements will not be scanned: H1, H2, H3, STRONG, a, abbr, acronym, h1, h2, h3, strong.
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Please enter the sum of 10 and 0:
Solve this simple math problem and enter the result. E.g. for the sum of 1 and 3, enter 4.