Re: disable the Print Screen function



Request if you can share stepwise procedure to compile this exe.

"sb1920alk" wrote:


sb1920alk;3959255 Wrote:
This is a good start, but it doesn't stop Alt-Print Screen. Also, if
Task Manager is used to end the process, Print Screen works again.

Can the script be altered to prevent one of both of these workarounds?

Got it, you just set another hot key for Alt-PrintScreen as well.

The script can be compiled into an exe file that can be launched with
the user's login script. As long as the program is running, PrintScreen
and Alt-PrintScreen will do nothing. The program will show up on the
Task Manager list, so you should name it something that blends in, like
svchost.exe. Not perfect, but a step in the right direction.


Code:
--------------------
Opt("TrayIconHide",1)

HotKeySet("{PRINTSCREEN}", "DisablePrintScreen")
HotKeySet("!{PRINTSCREEN}", "DisablePrintScreen")

While 1
WEnd

Func DisablePrintScreen()
EndFunc
--------------------


--
sb1920alk
------------------------------------------------------------------------
sb1920alk's Profile: http://forums.techarena.in/members/sb1920alk.htm
View this thread: http://forums.techarena.in/windows-security/897979.htm

http://forums.techarena.in


.



Relevant Pages

  • Re: from vbs to exe
    ... a script into an EXE file. ... the self-executing zip will end up being an EXE ... You can't actually compile a VBS file. ... Script is text-based programming. ...
    (microsoft.public.scripting.vbscript)
  • Re: Compiled perl executable
    ... same script in 5.8.6 only runs one copy. ... see that one is the child of the other: the parent is the instance you ... changed as it did not do this for 5.8.6 (only ran one exe). ... compile time option that would achieve this. ...
    (comp.lang.perl.misc)
  • Re: about vbs to exe
    ... it's not programming code. ... It won't compile. ... If you want a VBS to look and act like an EXE you ... EXE to anyone running the script, it's still a VBS, ...
    (microsoft.public.scripting.wsh)
  • VBS compiler
    ... I didn't know you could compile a VBS script into an .exe. ...
    (microsoft.public.windows.server.scripting)
  • Re: Access Denied where running an exe via an asp page
    ... If you see your application for a brief moment in Task Manager, ... the EXE is causing the "Access is denied". ... with IIS security, folder security, users permission, etc because they're ... not the issue -- your EXE obviously is executable by IIS and generated a log ...
    (microsoft.public.inetserver.iis.security)