Programmatically disable Task Manager
Hi I maintain a "lock desktop" application that, when activated, is supposed (among other things) to disable Task Manager for students/pupils. I used to write DiszableTaskMgr=1 in HKCU\SW\Microsoft\Windows\CurrentVersion\Policies\System. With Windows 7, I can't do that since the program runs under the logged user authority which has no write access to the registry needed keys. How can I do that, knowing that the program MUST run under a non privileged user authority ? Thanks in advance
November 25th, 2009 6:52pm

Hi,I have test it by using "Run as administrator" to change the registry, it turns out you can only change the adm settings instead of the user. For the time being, the solution is upgrade the user to administrator, modify the registry, then downgrade it to general user
Free Windows Admin Tool Kit Click here and download it now
November 26th, 2009 12:19pm

It's not very feasible to add a "run as administrator" feature in an application, especially if you do not want the user to know the administrator password. So I created a function that monitors the processes and kills TaskMgr.exe if it appears in the list of the processes. I also list the windows and if one window is named "Task Manager", I close it. Of course, localization is needed to add this "Window Title" monitoring function for non English versions of Windows. I hope it can help other developers in the future
December 21st, 2009 8:49pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics