Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Disable CTRL+ALT+DELETE --- LEGIT REASON --- pls read!


  • Please log in to reply
21 replies to this topic
burgemaster
  • Members
  • 1 posts
  • Last active: Nov 01 2007 09:50 AM
  • Joined: 18 Jun 2007
I work at a large school and in lessons where they need the internet to research they are getting kids playing games all the time, as the teacher walks round the room they will minimise the explorer window as the teacher gets near them !

I found this great script to disable the mouse/keyboard (remotely).. which will stop them minimising the page and get them a telling off !!
But they can still press CTRL+ALT+DELETE and they stay on the "Windows Security" page, where they can log off or change there password?

Is there a way to disable this screen please?
and just freeze the screen?

Heres the script to freeze kboard/mouse:


BlockInput, Mousemove  ;Block mousemovement 
SetFormat, Integer, Hex 
Loop, 255 { 

        If ( A_Index >= 0x41 AND A_Index <= 0x5A OR A_Index = 0x1B ) ; A - Z / Esc 
           Continue 
            
        StringReplace, Hk, A_Index, 0x,, 
        HotKey, % "VK" Hk, Disabled 
          } 

SetFormat, Integer, Decimal 

Disabled: 
Return 

#NOTRAYICON


engunneer
  • Moderators
  • 9162 posts
  • Last active: Sep 12 2014 10:36 PM
  • Joined: 30 Aug 2005
you can't stop the Ctrl Alt Delete from being detected, but maybe you can do something else to get attention, like SoundPlay a file ("I'm playing a game!"), or something like that. May be a long Series of SoundBeeps that sound like a game. I assume you have control over whether this script is active or not, and only enable it when you see them playing a game?

^!Delete::
Loop, 25
{
Freq := (A_Index * 75)+200
SoundBeep, %Freq%, 50
Sleep, 50
}
Loop, 25
{
Freq := (A_Index * 75)+200
SoundBeep, %Freq%, 50
Sleep, 50
}
Return

The SoundPlay option is better if you have spekers on the PC, since AHK can even unmute and change the volume.


There is a setting somewhere to bring up task manager instead of the lock screen when you hit the three finger salute, but you may not be able to enable it on a Domain system.

System Monitor
  • Members
  • 508 posts
  • Last active: Mar 26 2012 05:13 AM
  • Joined: 09 Mar 2007
http://www.autohotke...k manager block

  • Guests
  • Last active:
  • Joined: --
thanks for replies,
yes i have control to close the exe after its been started. (using ranger)

Task manager is blocked and wouldnt want them in there at all!

Any other suggestions pls?

They just mute the sound on the monitor

  • Guests
  • Last active:
  • Joined: --
or how about to send a printscreen to the printer?

Superfraggle
  • Members
  • 1019 posts
  • Last active: Sep 25 2011 01:06 AM
  • Joined: 02 Nov 2004
Can you not send an escape key when the windows security page is showing, this will take you back to desktop.
Steve F AKA Superfraggle

http://r.yuwie.com/superfraggle

Sean
  • Members
  • 2462 posts
  • Last active: Feb 07 2012 04:00 AM
  • Joined: 12 Feb 2007

But they can still press CTRL+ALT+DELETE and they stay on the "Windows Security" page, where they can log off or change there password?

Is there a way to disable this screen please?
and just freeze the screen?

You can do it with AHK, if you know how to handle machine codes: code injection for subclassing SAS window.
Anyway, I found this post by search:
<!-- m -->http://www.autohotke...topic15702.html<!-- m -->

Looks like there is a bug with WinLockDll.dll to re-enable Ctrl+Alt+Delete, but seems to not matter here as you want to only disable it.

engunneer
  • Moderators
  • 9162 posts
  • Last active: Sep 12 2014 10:36 PM
  • Joined: 30 Aug 2005
SoundBeep should use the PC speaker, and should make noise even if they mute the speakers.

daonlyfreez
  • Members
  • 995 posts
  • Last active: Jan 23 2013 08:16 AM
  • Joined: 16 Mar 2005
You can probably force a beep in the BIOS settings
Posted Image mirror 1mirror 2mirror 3ahk4.me • PM or Posted Image

ManaUser
  • Members
  • 1121 posts
  • Last active: Dec 07 2016 04:24 PM
  • Joined: 24 May 2007
Why wouldn't it be easier to just take a screenshot and save it so you have proof they were playing a game even if they've hidden it by the time you get there? (Assuming that's really what you're using this for, of course.)

NotLoggedIn-Conquer
  • Guests
  • Last active:
  • Joined: --
Besides using my regwrite method you could go with Sound Beep, for sure. Use SoundSet to change the mute and volume settings if they're playing with the volume settings, example:
SoundSet 100 ; Set the master volume to 100%
SoundSet, 0, , mute ; Unmute the speakers
SoundBeep
Sleep 10
Loop 5  ; Adjust to your liking :D
{
SoundBeep, 100, 100
Sleep 75
SoundBeep, 75, 100
Sleep 75
SoundBeep, 65, 100
Sleep 75
SoundBeep, 55, 100
Sleep 75
SoundBeep, 25, 100
Sleep 75
SoundBeep, 100, 100
Sleep 75
SoundBeep, 75, 100
Sleep 75
SoundBeep, 65, 100
Sleep 75
SoundBeep, 55, 100
Sleep 75
SoundBeep, 25, 100
}


ManaUser
  • Members
  • 1121 posts
  • Last active: Dec 07 2016 04:24 PM
  • Joined: 24 May 2007
As engunneer pointed out, SoundBeep uses the PC Speaker. So neither SoundSet nor any adjustment the user may have made will effect it.

engunneer
  • Moderators
  • 9162 posts
  • Last active: Sep 12 2014 10:36 PM
  • Joined: 30 Aug 2005
some computers are set up to run the beep through the regular speakers, but I think that is mostly confined to laptops.

  • Guests
  • Last active:
  • Joined: --
Yes, my computer uses the normal speakers and the computer speakers (though I can only hear the computer speakers if the normal ones are real quiet)

LokiWhite
  • Guests
  • Last active:
  • Joined: --
^!Delete::

return