Disabling copy paste & printscreen functionality

T

T singh

How do i dicable print screen & copy paste functionality
of windows 2000 professional machine.

is it posiible using group policy if yes how.
 
B

Buz [MSFT]

Hello,

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
first.

We have a way to disable the Print Screen key and the combination of
CTRL+Print
Screen and the combination of ALT + Print Screen. This method should work
to meet
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
activate
it.

- The mappings stored in the registry work at system level and apply to all
users.
These mappings cannot be set to work differently depending on the current
user.

- The current implementation restricts the functionality of the map such
that
mappings always apply to all keyboards connected to the system. It is not
currently
possible to create a map on a per-keyboard basis.

- Use of the Accessibility Features will bypass this method. The
accessibility
features keypress functions are not true keyboard scan codes, and therefore
not
subject to this registry setting.


Regarding the data structure:

Looking at scancode.doc (on Technet), here are the 3 "make" codes for the
Print
Screen key:
E0 2A E0 37
E0 37
54

Note that scancode.doc is stored as a self-extracting .exe zip on technet.
Search
technet for scancode.exe!!!!

Now to plug these three hex values into the aforementioned binary string...
must be
read in reverse-order bits, so flip each of the nibbles in each 4-byte
string:

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:

0000000000000000040000002AE037E0000037E00000540000000000


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
216893,
you would recalculate the string's count index to have 5 entries instead of
4,
using the above format. This is how you combine multiple key maps into this
string.


Implementation:

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
OK.

5. Type "0000000000000000040000002AE037E0000037E00000540000000000" (without
the
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
kit tool.

Buz Brodin
MCSE NT4 / Win2K
Microsoft Enterprise Domain Support

Get Secure! - www.microsoft.com/security

This posting is provided "as is" with no warranties and confers no rights.

Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only.



<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>
 
Joined
Mar 17, 2010
Messages
1
Reaction score
0
Disable Print Screen On keyboard

Hi


I have tried this with an XP machine but it does not work. I have created the Binary key directly under the Keyboard layout reg location.

Does anyone have any idears?

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top