disable taskmanager
-
Ive searched the web and it seems that blocking Ctrl+Alt+Del is almost impossible in Windows XP. Is there a way to keep your program constantly looking to see if taskman.exe or the taskmanager from opening? like it kills the task when the program detects that it is running? Im making a program to lock my computer for my own use and figureing this out would really help. So im looking for a way to get it to loop and look at the running tasks all the time and wait for it to open. Any advice? im new at C# so take it easy please! =)
Y*Live Long And Prosper*Y
-
Ive searched the web and it seems that blocking Ctrl+Alt+Del is almost impossible in Windows XP. Is there a way to keep your program constantly looking to see if taskman.exe or the taskmanager from opening? like it kills the task when the program detects that it is running? Im making a program to lock my computer for my own use and figureing this out would really help. So im looking for a way to get it to loop and look at the running tasks all the time and wait for it to open. Any advice? im new at C# so take it easy please! =)
Y*Live Long And Prosper*Y
That key sequence can only be trapped by kernel-mode code. It's what's called a secure attention sequence. Your best bet probably is to hide your process (which I don't remember how to do). Either way its probably not a good idea to tamper with the Task Manager operation.
-
Ive searched the web and it seems that blocking Ctrl+Alt+Del is almost impossible in Windows XP. Is there a way to keep your program constantly looking to see if taskman.exe or the taskmanager from opening? like it kills the task when the program detects that it is running? Im making a program to lock my computer for my own use and figureing this out would really help. So im looking for a way to get it to loop and look at the running tasks all the time and wait for it to open. Any advice? im new at C# so take it easy please! =)
Y*Live Long And Prosper*Y
The only way to stop TaskManager from showing up is to block it using Group Policy. You can't stop it from launching from your code. The absolute best you can do in code is to find the TaskManager process in the process list (see Process class documentation) and terminate the process after it shows up. That means the user will see the TaskManager launch, then quit.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Ive searched the web and it seems that blocking Ctrl+Alt+Del is almost impossible in Windows XP. Is there a way to keep your program constantly looking to see if taskman.exe or the taskmanager from opening? like it kills the task when the program detects that it is running? Im making a program to lock my computer for my own use and figureing this out would really help. So im looking for a way to get it to loop and look at the running tasks all the time and wait for it to open. Any advice? im new at C# so take it easy please! =)
Y*Live Long And Prosper*Y
You can detect process start using the code shown here: Using WMI to monitor process creation, deletion and modification in .NET[^] and then kill it. Another possible way is to rewrite msgina.dll You can also try this: Trap CtrlAltDel; Hide Application in Task List on Win2000/XP[^]
Giorgi Dalakishvili #region signature my articles #endregion
-
Ive searched the web and it seems that blocking Ctrl+Alt+Del is almost impossible in Windows XP. Is there a way to keep your program constantly looking to see if taskman.exe or the taskmanager from opening? like it kills the task when the program detects that it is running? Im making a program to lock my computer for my own use and figureing this out would really help. So im looking for a way to get it to loop and look at the running tasks all the time and wait for it to open. Any advice? im new at C# so take it easy please! =)
Y*Live Long And Prosper*Y
Doing that would be user hostile. Would you want your Task Manager to be disabled? I know I wouldn't.