Prev Previous Post   Next Post Next

OpenProcess() with PROCESS_SET_INFORMATION on protected processes

Posted: 06-22-2007, 03:44 PM
Hi there,

with the help of the TaskManager, I can change the process-affinity of
the svchost.exe processes. I need to click "Processes of all users"
and confirm the UAC-dialog, first, then it "just works" the set
the affinity.

I tried to do the same from within an application, which I start
via "Run as Administrator":

I find the process with "svchost.exe"-names and OpenProcess() it with
PROCESS_SET_INFORMATION. Well, the permission is denied, although
I am admin.

I could imagine that this is by design: Even administrators should not
be able to mess with protected processes. But how/why is the TaskManager
able to do this, then? Does it communicate with a kernel-module which
does the job, perhaps?

Regards,
Daniel Albuschat
Reply With Quote

Responses to "OpenProcess() with PROCESS_SET_INFORMATION on protected processes"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Processes Peter Windows XP Hardware 5 01-15-2009 08:06 PM
Processes Witzode Windows Vista Performance & Maintenance 2 02-17-2007 08:36 PM
Too Many Processes metro98k Windows XP Configuration & Management 2 11-14-2005 02:31 PM
processes k rid Windows XP Configuration & Management 1 07-15-2004 05:37 PM
XP Processes Jason Haynes Windows XP Performance & Maintenance 0 08-10-2003 04:46 PM