Results 1 to 3 of 3

Thread: Disabling Print Screen Key

  1. #1
    Join Date
    Jan 2006
    Posts
    192

    Disabling Print Screen Key

    Can anyone tell me if there is any solution to disable the print screen key so that users will not be able to capture what so ever is there on their screen. This feature that I am wanting is because for some security reasons. Thanks for any help in advance.

  2. #2
    Wesley Vogel Guest
    You can try to use CALL SetUEvent in Assembly Routine to Disable PRINT SCREEN. Follow the article here http://support.microsoft.com/kb/35968 that provides an example of calling Basic's SetUEvent routine from an assembly-language interrupt routine to disable the screen dump performed by the PRINT SCREEN key (found on enhanced IBM keyboards) or the SHIFT+PRSCR or SHIFT+PRTSC key (found on earlier, nonenhanced IBM PC keyboards).

  3. #3
    Join Date
    May 2006
    Posts
    91
    You can download a script to disable Print Screen Key from here. You can even use registry entry to disable print screen but it will only work with elevated permission rights and a reboot:

    Code:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
    "Scancode Map"=hex:00,00,00,00,00,00,00,00,04,00,00,00,00,00,2a,e0,00,00,37,e0,\
    00,00,54,00,00,00,00,00
    
    Or this vbs script:
    
    'Disable Print Screen Function
    const HKEY_LOCAL_MACHINE = &H80000002
    strKeyPath = "SYSTEM\ControlSet001\Control\Keyboard Layout"
    strComputer = "."
    BinaryValueName = "Scancode Map"
    iValues = Array(&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H00,&H04,&H00,&H00,&H00,&H00,&H00,&H2a,&He0,&H00,&H00,&H37,&He0,&H00,&H00,&H54,&H00,&H00,&H00,&H00,&H00)
    Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")
    disablePS = oReg.SetBinaryValue(HKEY_LOCAL_MACHINE,strKeyPath,BinaryValueName,iValues)

Similar Threads

  1. Replies: 3
    Last Post: 28-06-2013, 11:34 AM
  2. MSI 890FXA-GD70 motherboard won't boot after disabling Boot screen
    By IkhyThed in forum Motherboard Processor & RAM
    Replies: 6
    Last Post: 20-06-2011, 01:53 PM
  3. How do I print a folder content LIST not using "print screen"?
    By pushpendra in forum MS Office Support
    Replies: 3
    Last Post: 26-07-2010, 03:53 PM
  4. Replies: 5
    Last Post: 03-02-2010, 03:55 AM
  5. Capture Screen Shots in Windows Using the Print Screen Key
    By Deffen-Baugh in forum MediaCenter
    Replies: 2
    Last Post: 20-03-2007, 03:00 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,000,159.32104 seconds with 17 queries