Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
I'm trying to make a security screensaver in C# for a hospitol where it is no option to disable CTRL+ALT+DEL the screensaver and all word perfect it can't beclosed by a user by task manager the only way to close this screensaver is by using a key combination however the main issue i got now is that the screensaver gets closed if someone does CTRL+ALT+DEL and then ESC which cancels the SAS screen but as mentioned also the screensaver...
 
is there a workaround for this to make the screensaver not closeable by either the user and the SAS/GINA/Winlogon.exe?
Posted 3-May-11 4:54am
Edited 3-May-11 4:55am
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
anthony 008 at 3-May-11 16:14pm
   
Thanks for the solution,

 
Although disableing CTRL + ALT + DEL is somthing we have thought about although its not a option the higher ups dont want to disable CTRL + ALT + DEL because it's required for some medical operations.


besides that i have googled allot but i'm out of solutions this is also the reason why i posted this question .
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Im going to assume this is windows forms? if so add a timer in the tick event add this code
 
private void timer1_Tick(object sender, EventArgs e)
{
  if (!this.TopMost)
   {
     this.TopMost=true;
   }
}
 
this is just a blunt force way to force the form to be on top of all forms even task manager but still does not handle Ctrl Alt Del
  Permalink  
Comments
anthony 008 at 4-May-11 12:48pm
   
thank you, this is a good tip for difirent applicaties i already had this implemented befor :)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

well non of the aboven suggesions did realy help, there is neither a workaround for this problem on google after 2 days of searching. How ever the hospitol uses a agent which will handle the screensaver now instead of the windows as temperaly work around thanks for the tips and ideas for the people who tryed to help.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 380
1 OriginalGriff 230
2 DamithSL 220
3 Zoltán Zörgő 170
4 Maciej Los 135
0 OriginalGriff 7,740
1 DamithSL 5,694
2 Sergey Alexandrovich Kryukov 5,404
3 Maciej Los 5,061
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 4 May 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100