On Oct 6, 3:07 pm, Jay Loden <
jlo...@gmail.com> wrote:
> On Wed, Oct 6, 2010 at 2:59 PM, Mike Driscoll <
kyoso...@gmail.com> wrote:
>
> > Well, I'm definitely an admin on my 32-bit version, although I can't
> > say if the python script is running with elevated privileges or not.
> > I'm using the script I wrote about here:
>
> >
http://www.blog.pythonlibrary.org/2010/10/03/how-to-find-and-list-all...
>
> > It's near the bottom of the article. I tried running cmd.exe as
> > Administrator and then ran my script, but I guess that doesn't change
> > anything since python continued to give me this error.
>
> > I am guessing the UAC is blocking it somehow. Just not sure how to get
> > around that without turning UAC off.
>
> > - Mike
>
> Did you get a chance to try the example against just the current process
> itself? Are you getting access denied errors for every process, ones owned
> by other users, or just having them crop up periodically while looping the
> process list? That would help narrow things down.
>
> Giampaolo has a Windows 7 box which I unfortunately do not, so maybe he will
> have some more helpful tips.
>
> -Jay
Sorry for not responding. I got side-tracked with other projects.
Anyway, all I've tried it with are Admin accounts, both from the
command line and from inside Wing IDE. I think the latter runs a
separate Python process, but I'm not sure how that works.
It doesn't work on Windows 7 Professional 32-bit or Windows 7 Home
Premium 64-bit.
I'll just make a note of this thread on my blog. Thanks for the help.
- Mike