Accueil > Forum > > > > comment desactiver ctrl+alt+suppr sur Windows 2000
comment desactiver ctrl+alt+suppr sur Windows 2000
jeudi 26 septembre 2002 à 20:43:58 |
comment desactiver ctrl+alt+suppr sur Windows 2000

martinkk
|
comment desactiver ctrl+alt+suppr sur Windows 2000
|
|
jeudi 26 septembre 2002 à 21:13:07 |
Re : comment desactiver ctrl+alt+suppr sur Windows 2000

Derrick soft
|
Bonjour,
Article sur www.allapi.com :
Sometimes it is necessary for a program to prevent the use of the CTRL+ALT+DEL key combination to bring up the Close Program task list to end a task or shut down Windows 95 and to prevent the use of the ALT+TAB key combination to switch tasks. The following technique uses the SystemParametersInfo API to trick Windows 95 into thinking that a screen saver is running. As a side effect, CTRL+ALT+DEL and ALT+TAB are disabled.
The Win32 SDK states: "SPI_SCREENSAVERRUNNING Windows 95: Used internally; applications should not use this flag. Windows NT: Not supported."
Note that disabling CTRL+ALT+DEL is not recommended because the Close Program dialog box was created to enable users to terminate misbehaving applications. If a program "hangs" while CTRL+ALT+DEL is disabled, it may not be possible to terminate it by any method other than rebooting the machine, which could result in the loss of data.
You will need two command buttons for this program.
Private Const SPI_SCREENSAVERRUNNING = 97& Private Declare Function SystemParametersInfo Lib "User32" _ Alias "SystemParametersInfoA" _ (ByVal uAction As Long, _ ByVal uParam As Long, _ lpvParam As Any, _ ByVal fuWinIni As Long) As Long
Private Sub Form_Load() Command1.Caption = "Disabled" Command2.Caption = "Enabled" End Sub
Private Sub Form_Unload(Cancel As Integer) 'Re-enable CTRL+ALT+DEL and ALT+TAB before the program terminates. Command2_Click End Sub
Private Sub Command1_Click() Dim lngRet As Long Dim blnOld As Boolean lngRet = SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, _ blnOld, 0&) End Sub
Private Sub Command2_Click() Dim lngRet As Long Dim blnOld As Boolean lngRet = SystemParametersInfo(SPI_SCREENSAVERRUNNING, False, _ blnOld, 0&) End Sub
Press the F5 key to run the program, and click the "Disabled"CommandButton. CTRL+ALT+DEL and ALT+TAB and CTRL-ESC are disabled. Click the "Enabled" CommandButton to enable CTRL+ALT+DEL and ALT+TAB and CTRL-ESC again.
Cordialement
Stéphane Maillard
Mail : stephane.maillard@rixy-software.com Support : support@rixy-software.com Site : www.rixy-software.com
------------------------------- Réponse au message : -------------------------------
comment desactiver ctrl+alt+suppr sur Windows 2000
|
|
vendredi 27 septembre 2002 à 12:18:35 |
Re : comment desactiver ctrl+alt+suppr sur Windows 2000

martinkk
|
merci pour la reponse. le probleme est que ce code ne marche sur windows 2000 et superieur. je vous serai reconnaissant si vous pouvez avoir la technique pour le faire sur W2k.
------------------------------- Réponse au message : -------------------------------
Bonjour,
Article sur www.allapi.com :
Sometimes it is necessary for a program to prevent the use of the CTRL+ALT+DEL key combination to bring up the Close Program task list to end a task or shut down Windows 95 and to prevent the use of the ALT+TAB key combination to switch tasks. The following technique uses the SystemParametersInfo API to trick Windows 95 into thinking that a screen saver is running. As a side effect, CTRL+ALT+DEL and ALT+TAB are disabled.
The Win32 SDK states: "SPI_SCREENSAVERRUNNING Windows 95: Used internally; applications should not use this flag. Windows NT: Not supported."
Note that disabling CTRL+ALT+DEL is not recommended because the Close Program dialog box was created to enable users to terminate misbehaving applications. If a program "hangs" while CTRL+ALT+DEL is disabled, it may not be possible to terminate it by any method other than rebooting the machine, which could result in the loss of data.
You will need two command buttons for this program.
Private Const SPI_SCREENSAVERRUNNING = 97& Private Declare Function SystemParametersInfo Lib "User32" _ Alias "SystemParametersInfoA" _ (ByVal uAction As Long, _ ByVal uParam As Long, _ lpvParam As Any, _ ByVal fuWinIni As Long) As Long
Private Sub Form_Load() Command1.Caption = "Disabled" Command2.Caption = "Enabled" End Sub
Private Sub Form_Unload(Cancel As Integer) 'Re-enable CTRL+ALT+DEL and ALT+TAB before the program terminates. Command2_Click End Sub
Private Sub Command1_Click() Dim lngRet As Long Dim blnOld As Boolean lngRet = SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, _ blnOld, 0&) End Sub
Private Sub Command2_Click() Dim lngRet As Long Dim blnOld As Boolean lngRet = SystemParametersInfo(SPI_SCREENSAVERRUNNING, False, _ blnOld, 0&) End Sub
Press the F5 key to run the program, and click the "Disabled"CommandButton. CTRL+ALT+DEL and ALT+TAB and CTRL-ESC are disabled. Click the "Enabled" CommandButton to enable CTRL+ALT+DEL and ALT+TAB and CTRL-ESC again.
Cordialement
Stéphane Maillard
Mail : stephane.maillard@rixy-software.com Support : support@rixy-software.com Site : www.rixy-software.com
------------------------------- Réponse au message : -------------------------------
comment desactiver ctrl+alt+suppr sur Windows 2000
|
|
vendredi 27 septembre 2002 à 12:34:28 |
Re : comment desactiver ctrl+alt+suppr sur Windows 2000

Derrick soft
|
Bonjour,
Voici ce que j'ai trouvé sur www.planet-source-code.com :
This Program Protects Your PC From Unwanted Usage It Have Mouse Trap, Disable 'CTRL+ALT+DEL' and More try to use it in The Start Up Folder Download And see, IT MAY NOW WORK IN WinXP
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=38393&lngWId=1
Cordialement
Stéphane Maillard
Mail : stephane.maillard@rixy-software.com Support : support@rixy-software.com Site : www.rixy-software.com
------------------------------- Réponse au message : -------------------------------
merci pour la reponse. le probleme est que ce code ne marche sur windows 2000 et superieur. je vous serai reconnaissant si vous pouvez avoir la technique pour le faire sur W2k.
------------------------------- Réponse au message : -------------------------------
Bonjour,
Article sur www.allapi.com :
Sometimes it is necessary for a program to prevent the use of the CTRL+ALT+DEL key combination to bring up the Close Program task list to end a task or shut down Windows 95 and to prevent the use of the ALT+TAB key combination to switch tasks. The following technique uses the SystemParametersInfo API to trick Windows 95 into thinking that a screen saver is running. As a side effect, CTRL+ALT+DEL and ALT+TAB are disabled.
The Win32 SDK states: "SPI_SCREENSAVERRUNNING Windows 95: Used internally; applications should not use this flag. Windows NT: Not supported."
Note that disabling CTRL+ALT+DEL is not recommended because the Close Program dialog box was created to enable users to terminate misbehaving applications. If a program "hangs" while CTRL+ALT+DEL is disabled, it may not be possible to terminate it by any method other than rebooting the machine, which could result in the loss of data.
You will need two command buttons for this program.
Private Const SPI_SCREENSAVERRUNNING = 97& Private Declare Function SystemParametersInfo Lib "User32" _ Alias "SystemParametersInfoA" _ (ByVal uAction As Long, _ ByVal uParam As Long, _ lpvParam As Any, _ ByVal fuWinIni As Long) As Long
Private Sub Form_Load() Command1.Caption = "Disabled" Command2.Caption = "Enabled" End Sub
Private Sub Form_Unload(Cancel As Integer) 'Re-enable CTRL+ALT+DEL and ALT+TAB before the program terminates. Command2_Click End Sub
Private Sub Command1_Click() Dim lngRet As Long Dim blnOld As Boolean lngRet = SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, _ blnOld, 0&) End Sub
Private Sub Command2_Click() Dim lngRet As Long Dim blnOld As Boolean lngRet = SystemParametersInfo(SPI_SCREENSAVERRUNNING, False, _ blnOld, 0&) End Sub
Press the F5 key to run the program, and click the "Disabled"CommandButton. CTRL+ALT+DEL and ALT+TAB and CTRL-ESC are disabled. Click the "Enabled" CommandButton to enable CTRL+ALT+DEL and ALT+TAB and CTRL-ESC again.
Cordialement
Stéphane Maillard
Mail : stephane.maillard@rixy-software.com Support : support@rixy-software.com Site : www.rixy-software.com
------------------------------- Réponse au message : -------------------------------
comment desactiver ctrl+alt+suppr sur Windows 2000
|
|
vendredi 27 septembre 2002 à 12:38:26 |
Re : comment desactiver ctrl+alt+suppr sur Windows 2000

Derrick soft
|
Re,
Encore un autre sur le meme site :
The following code will demonstrate how to disable Ctrl-Alt-del in Win 9x platform, and how to disable various options in the Ctrl-Alt-Del List in Win NT/2K/XP. To understand the code, you must know how to use the Api functions, although I have tried to keep all the api's in seperate classes. There is also a class which determines if the OS is from Win9x or Win NT series. Hope you would fine some use for it.
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=38136&lngWId=1
Cordialement
Stéphane Maillard
Mail : stephane.maillard@rixy-software.com Support : support@rixy-software.com Site : www.rixy-software.com
------------------------------- Réponse au message : -------------------------------
merci pour la reponse. le probleme est que ce code ne marche sur windows 2000 et superieur. je vous serai reconnaissant si vous pouvez avoir la technique pour le faire sur W2k.
------------------------------- Réponse au message : -------------------------------
Bonjour,
Article sur www.allapi.com :
Sometimes it is necessary for a program to prevent the use of the CTRL+ALT+DEL key combination to bring up the Close Program task list to end a task or shut down Windows 95 and to prevent the use of the ALT+TAB key combination to switch tasks. The following technique uses the SystemParametersInfo API to trick Windows 95 into thinking that a screen saver is running. As a side effect, CTRL+ALT+DEL and ALT+TAB are disabled.
The Win32 SDK states: "SPI_SCREENSAVERRUNNING Windows 95: Used internally; applications should not use this flag. Windows NT: Not supported."
Note that disabling CTRL+ALT+DEL is not recommended because the Close Program dialog box was created to enable users to terminate misbehaving applications. If a program "hangs" while CTRL+ALT+DEL is disabled, it may not be possible to terminate it by any method other than rebooting the machine, which could result in the loss of data.
You will need two command buttons for this program.
Private Const SPI_SCREENSAVERRUNNING = 97& Private Declare Function SystemParametersInfo Lib "User32" _ Alias "SystemParametersInfoA" _ (ByVal uAction As Long, _ ByVal uParam As Long, _ lpvParam As Any, _ ByVal fuWinIni As Long) As Long
Private Sub Form_Load() Command1.Caption = "Disabled" Command2.Caption = "Enabled" End Sub
Private Sub Form_Unload(Cancel As Integer) 'Re-enable CTRL+ALT+DEL and ALT+TAB before the program terminates. Command2_Click End Sub
Private Sub Command1_Click() Dim lngRet As Long Dim blnOld As Boolean lngRet = SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, _ blnOld, 0&) End Sub
Private Sub Command2_Click() Dim lngRet As Long Dim blnOld As Boolean lngRet = SystemParametersInfo(SPI_SCREENSAVERRUNNING, False, _ blnOld, 0&) End Sub
Press the F5 key to run the program, and click the "Disabled"CommandButton. CTRL+ALT+DEL and ALT+TAB and CTRL-ESC are disabled. Click the "Enabled" CommandButton to enable CTRL+ALT+DEL and ALT+TAB and CTRL-ESC again.
Cordialement
Stéphane Maillard
Mail : stephane.maillard@rixy-software.com Support : support@rixy-software.com Site : www.rixy-software.com
------------------------------- Réponse au message : -------------------------------
comment desactiver ctrl+alt+suppr sur Windows 2000
|
|
Cette discussion est classée dans : ctrl, alt, suppr, windows, desactiver
Répondre à ce message
Sujets en rapport avec ce message
CTRL+ALT+SUPPR [ par tomtom17 ]
Je voudrais envoyer un CTRL+ALT+SUPPR à Windows par l'intermédiaire d'un vbsIl s'agit de déverouiller un écran de veille sur Windows 2K.Merci
desactive sous XP ctrl alt suppr [ par T103 ]
j ai XP et j ai trouve des sources pour desactive le ctrl alt suppr mais aucune ne marche sous XPest ce qu il y a quelqu un qui sait desactive le ctrl
CTRL+ALT+SUPPR [ par Moria ]
Slt,Cette fameuse question inacheuver :)Comment faire pour bloker ces 3 touches sur Win98 ? Et alt+F4 et Alt + Tab ??C pour un log de securisation de
Désactiver la touche Ctrl+Alt+Suppr sur XP [ par zakay ]
Salut à tous, je voudrais savoir quel code faut-il en Visual Basic pour désactiver la combinaison des touches Ctrl+Alt+Suppr dans l'environnement Wind
Désactivé Ctrl+Alt+Suppr sous XP ou Win 2000 [ par MEGATRIX ]
Comment pourrai je désactivé Ctrl+Alt+Suppr sous Xp ou Win 2000?Merci@++Megatrix
Ctrl+Alt+Suppr & Alt-Tab [ par POLO ]
Je souhaiterais supprimer les fonctionnalités des touches CTRL+ALT+SUPPR et ALT-TAB. J'ai récupéré une API mais elle ne fonctionne pas. Elle ne se pla
Interception ctrl-alt-suppr [ par Fred ]
Est-il possible d'intercepter lectrl-alt-suppr et d'en annuler lesconsequences ?Sinon comment savoir si un msgboxest a l'ecran, et comment le validerp
Bloquer Barre des tâches et Ctrl-Alt-Suppr sous NT [ par RADW@RE ]
J'ai découver et utiliser avec succès les codes disponibles sur notre site, pour bloquer la barre des tâches et les touches "Ctrl-Alt-Suppr" et "Ctrl-
Gérer les touches 'Ctrl+Alt+Suppr' [ par Kenou ]
Bonjour,Quelqu'un sait comment éviter que Windows ne prenne la main quand on appuie sur 'Ctrl+Alt+Suppr' ou sur la touche 'Windows' du clavier lorsque
Panneau Ctrl + alt +suppr [ par Stéphane de Brest ]
dans un fichier, je souhaite recupérer le nom de la station et de la dernière personne qui l'a utilisé. Mon pg fonctionne lorsque la personne est conn
Livres en rapport
|
Derniers Blogs
GESTION D'EXCEPTION AVEC LES TASKSGESTION D'EXCEPTION AVEC LES TASKS par richardc
Nous avons vu dans un précédent article comment utiliser Task pour effectuer des opérations dans un autre thread.
Malheureusement, comme tout le monde n'est pas parfait, il se peut que cette exécution se passe mal et qu'une exception se produise.
La...
Cliquez pour lire la suite de l'article par richardc DéMARRONS AVEC LES TASKSDéMARRONS AVEC LES TASKS par richardc
Que vous le vouliez ou non, le développement multi-tâche est maintenant une obligation pour toute nouvelle application. Il est donc vital d'en comprendre les mécanismes et de s'y mettre le plus tôt possible.
En attendant le .NET Framework 4.5 avec le...
Cliquez pour lire la suite de l'article par richardc SLIDE & DéMO TECHDAYS 2012 - FAST & FURIOUS XAML APPSSLIDE & DéMO TECHDAYS 2012 - FAST & FURIOUS XAML APPS par Vko
Retrouvez les slides et les démo de ma session Fast & Furious XAML Apps. A ceux qui se posent la question : "est-ce que le code de la DataGrid est disponible?", je vous répondrais "pas encore". Je vais mettre en place un projet codeplex pour part...
Cliquez pour lire la suite de l'article par Vko XNA IS DEAD!XNA IS DEAD! par richardc
Depuis la semaine dernière (et grâce aux TechDays 2012), je me penche activement sur la nouvelle version de Windows, aka Windows 8. Vous me direz, il était temps puisque la première preview date de Septembre dernier.
OK. Remarquez, on n'en est qu'aux...
Cliquez pour lire la suite de l'article par richardc TECHDAYS PARIS 2012 : WINDOWS SERVER "8" QUOI DE 9 !TECHDAYS PARIS 2012 : WINDOWS SERVER "8" QUOI DE 9 ! par ROMELARD Fabrice
Speakers: Fabrice Meillon et Stanislas Quastana Cette session est basée entièrement sur celle donnée lors de la BUILD cet hiver. Il n'y a pas d'ajout d'information en rapport avec cet évènement passé. Windows 8 Server sera intégralem...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice
Forum
ACCES ODBCACCES ODBC par yannickcottin
Cliquez pour lire la suite par yannickcottin
Logiciels
DocTranslate (V3.1.0.0)DOCTRANSLATE (V3.1.0.0)DocTranslate est un traducteur de document Microsoft Word, PowerPoint et Excel. Il permet d'autom... Cliquez pour télécharger DocTranslate Tribler (2012)TRIBLER (2012)Tribler est un client pair à pair (P2P/Peer-to-Peer) open source avec la capacité de regarder des... Cliquez pour télécharger Tribler OneSwarm (2012)ONESWARM (2012)Le peer-to-peer qui protège votre vie privée, c'est OneSwarm.
Ce logiciel de peer-to-peer crypté... Cliquez pour télécharger OneSwarm PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA TV DEVIENS HELLLOOO FLASH
LA TV SUR VOTRE ORDINATEUR.
Toute une plateforme Multi... Cliquez pour télécharger PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO Academy System (17.2.1.0)ACADEMY SYSTEM (17.2.1.0)Logiciel de gestion des établissements.
- élèves/étudiants (inscription, dossier, absence...)
-... Cliquez pour télécharger Academy System
|