I'm trying to figure out how to PROGRAMMATICALLY disable the Task Manager
while logged in as a "non-administrator" user (only belongs to the "Users"
group).

I know I can programmatically disable the Task Manager by having my app
write a 1 to the registry key
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System.
Unfortunatley this only works, though, if the user who is running the app is
logged in as an Administrator. When I try to run the app as a just a regular
"non-administrator" User I am not able to write to the registry!

So... Is it possible to do this? If so how?

Re: Disable Task Manager by Sijin

Sijin
Sun Sep 26 10:14:07 CDT 2004

I sure hope not, and if it is possible i hope MS releases a hotfix
immediately :)

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph


Jeff Bell wrote:
> I'm trying to figure out how to PROGRAMMATICALLY disable the Task Manager
> while logged in as a "non-administrator" user (only belongs to the "Users"
> group).
>
> I know I can programmatically disable the Task Manager by having my app
> write a 1 to the registry key
> HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System.
> Unfortunatley this only works, though, if the user who is running the app is
> logged in as an Administrator. When I try to run the app as a just a regular
> "non-administrator" User I am not able to write to the registry!
>
> So... Is it possible to do this? If so how?
>