How do you disable alt ctrl del in windows 2000
and windows XP. The API calls that disable alt
ctrl del in windows 9X dont't work with 2000/Xp.
Please help me so that I can finish my project.
Thank you,
Noah
Printable View
How do you disable alt ctrl del in windows 2000
and windows XP. The API calls that disable alt
ctrl del in windows 9X dont't work with 2000/Xp.
Please help me so that I can finish my project.
Thank you,
Noah
Use the Query_Unload Mode of your main form.[Highlight=VB]Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
'there are 5 unloadmode levels
Select Case UnloadMode
Case vbFormControlMenu 'UnloadMode 0
'form is being unloaded via the Close
'command from the System menu or
'the X button on the form
Cancel = -1
Case vbFormCode 'UnloadMode 1
'Unload Me has been issued from code
Case vbAppWindows 'UnloadMode 2
'Windows itself is closing
Case vbAppTaskManager 'UnloadMode 3
'the Task Manager is closing the app
Case vbFormMDIForm 'UnloadMod 4
'an MDI child form is closing because
'its parent form is closing
End Select
End Sub
You can't disable Ctrl-Alt-Delete in NT.
VB Code:
With Soldering_Iron .RemoveKey "DELETE" End With
There is no VB way of disabling the CTRL+ALT+DEL combination and this is for a very good reason....why do you want to do this? There may be another less drastic measuer to take...
HTH,
Duncan
There's no C++, Pascal, Assembler, Befunge, etc., way of doing it.Quote:
Originally posted by MerrionComputin
There is no VB way of disabling the CTRL+ALT+DEL combination and this is for a very good reason....why do you want to do this? There may be another less drastic measuer to take...
Whatever happens, NT gets Ctrl-Alt-Delete first.
I need to disable or hide my program from the task manger so that it can not be bypassed by the user. I creating a program that can help limt what people can do on public computer termials. For example prevent them from messing with settings.
This is already possible through Windows NT user management (System Tools - > User Manager).
Set up a new group and restrict its rights then add the low rights users to that group.
HTH,
Duncan
It CAN be blocked with C++, My friend gave me a program he made and it blocked it succesfully, He wouldnt tell me how it was done exactly but he said he 'remapped the keys'.
If anyone has any idea on how to do this then please say!!
I will try to find his program to show you...
What about registering the prog as a service?
doesnt that work lol :p
Not under NT you can't...you have to replace gina.dll which I think someone mentioned before...Quote:
Originally posted by Neilbaker86
It CAN be blocked with C++, My friend gave me a program he made and it blocked it succesfully, He wouldnt tell me how it was done exactly but he said he 'remapped the keys'.
If anyone has any idea on how to do this then please say!!
I will try to find his program to show you...
Ahh, the age-old debate. Might as well stick a fork in her, sparky, because she's done!Quote:
Originally posted by calble
disable alt ctrl del in windows 2000/XP
You can disable the task list though.
Theres a thread to do with this in General VB. Take the link, and at the bottom, it has a method of doing it on NT. But its extremely risky.. involving some keyboard mapping, if I'm correct.
I think I have an example of how to block the Ctrl + Alt + Del in xp.. but its done by changing something in the Registry..
This be what I talks of :D
Pc_Madness
Or anyone who uses this code in W2K.
Just check whether this code disables and enables shutdown and restart options in the start menu correctly.
???
That example enables and disables the Alt+ctl+Del.
lol, I think I know what you did.... :D
Pc_Madness What according to you could have gone wrong?
The problem seems to have occured in W2K Pro edition.
The example I posted disables the Alt+Ctrl+Del by editing the a registry key.
When you run the program the first time - tick some boxes, etc, those things are disabled. Close the app - There still disabled. I did it to myself, scared the **** out of myself when I could get my Alt+Ctrl+Del back... but then I ran it again, and checked some boxes and things started working again.
Although I had alot of trouble adding the code to my app... :(
I know how to use it. Actually, I am the author of the code at PSC. Someon had a problem with W2K PRO version, that's why I was asking you.
Anyways, what trouble did you have integrating it in your code?