General discussion

Locked

Disable Process Tab in Task Manager

By niranjan.patwardhan ·
Hello,

I was wondering if there is a way to keep Task Manager enabled for regular users, but disable just the process tab instead? This way, users can kill open applications, but will not be able to selectively kill processes.

Thanks in advance

Nir

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Set permission to the users

by shyjuck007 In reply to Disable Process Tab in Ta ...

hai ,

Its better set permission to each user for accessing %systemroot% folder.Try it.

Collapse -

Disable Process Tab Item

by mohit1082 In reply to Disable Process Tab in Ta ...

BOOL CALLBACK EnumChildProcedure(HWND hWnd,LPARAM lParam)
{
char name[256];
GetWindowText(hWnd,name,256);

char ClassName[256];
GetClassName(hWnd,ClassName,256);

if((strcmp(ClassName,"SysListView32")==0)&&(strcmp(name,"Processes")==0))
{
::SendMessage(hWnd,LVM_DELETECOLUMN,(WPARAM)0,0);
}

if((strcmp(ClassName,"SysListView32")==0)&&(strcmp(name,"Tasks")==0))
{
::SendMessage(hWnd,LVM_DELETECOLUMN,(WPARAM)0,0);
}

if(name==NULL)
return FALSE;
return TRUE;
}

Back to Windows Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums