Re: CreateToolhelp32Snapshot         


Author: Aaron Moore
Date: May 7, 2008 09:01

Thank you Pual for the response. The Process is not a system process and up
to now I checked all priviledges and they seemed ok.

However, I think I found something new about the process I'm trying to call
OpenProcess on. The process seems to have its Access Control Entry set to
deny \Everyone. Just this one process. How would you set this? How could
you remove this? I found this out using Microsoft's Standard User Analyzer.
It reported this Warning mesage on the process: 'Deny Access Control Entry
(ACE) Encountered. Open Porcess: pid (process id #) denies
'PROCESS_VM_READ' to \Everyone'.

Can anyone help with this?

"paul" lisp.com> wrote in message news:fvo31j$1ek$1@aioe.org...
> Aaron Moore wrote:
>> For a little bit now I've been struggling with an issue involving
>> OpenProcess and CreateToolhelp32Snapshot. The issue revolves around a
>> single process returning ERROR_ACCESS_DENIED when I attempt to either
>> call CreateToolhelp32Snapshot on the process or OpenProcess. The target
>> process has Medium Integrity, is running in Session 1, is not protected,
>> and is being run as a standard user on Vista. My process that is
>> attempting to view the target process has all of the same permissions and
>> is being run as a standard user on Vista.
>
> Is the particular process a Windows (system) process ?
> Have you checked all the privileges needed (by code or with process
> explorer) ?
diggit! del.icio.us! reddit!