This can be a little cumbersome to implement , you may have beeter luck
using the CTRL2CAP from www.sysinternals.com details below:
Use the below info at your own risk, you should do this on a test machine
We have a way to disable the Print Screen key and the combination of
Screen and the combination of ALT + Print Screen. This method should work
your needs but has not been tested.
The following issues exist:
- Once the map is stored in the registry, a system reboot is required to
- The mappings stored in the registry work at system level and apply to all
These mappings cannot be set to work differently depending on the current
- The current implementation restricts the functionality of the map such
mappings always apply to all keyboards connected to the system. It is not
possible to create a map on a per-keyboard basis.
- Use of the Accessibility Features will bypass this method. The
features keypress functions are not true keyboard scan codes, and therefore
subject to this registry setting.
Regarding the data structure:
Looking at scancode.doc (on Technet), here are the 3 "make" codes for the
E0 2A E0 37
Note that scancode.doc is stored as a self-extracting .exe zip on technet.
technet for scancode.exe!!!!
Now to plug these three hex values into the aforementioned binary string...
read in reverse-order bits, so flip each of the nibbles in each 4-byte
E0 2A E0 37 >becomes > 2AE037E0
E0 37 >becomes> 37E0
54 > becomes > 54 (obviously)
The registry key is mapped as follows:
00000000 >> Header (normally all zero)
00000000 >> Flags (normally all zero)
04000000 >> Count Index (= number of entries + null footer)
2AE037E0 >> Entry 1 (1st key to disable: Print Screen)
000037E0 >> Entry 2 (2nd key to disable: CTRL+PrintScrn)
00005400 >> Entry 3 (3rd key to disable: ALT+PrintScrn)
00000000 >> Null Footer
This is the format of the binary string to place into the registry:
This binary string will grow for each additional key to be disabled. So for
example if you wished to implement these changes IN ADDITION to KB article
you would recalculate the string's count index to have 5 entries instead of
using the above format. This is how you combine multiple key maps into this
Steps to disable the print screen key:
1. Click Start, click Run, type "regedt32" (without the quotation
marks), and then click OK.
2. On the Windows menu, click "HKEY_LOCAL_ MACHINE on Local Machine".
3. Click the System\CurrentControlSet\Control folder, and then
double-click the Keyboard Layout folder.
4. On the Edit menu, click Add Value, type in "Scancode Map" (without
the quotation marks), click REG_BINARY as the Data Type, and then click
5. Type "0000000000000000040000002AE037E0000037E00000540000000000" (without
quotation marks) in the Data field, and then click OK.
6. Close the Registry Editor and restart the computer.
This registry key may be exported for implementation via the REGINI resource
MCSE NT4 / Win2K
Microsoft Enterprise Domain Support