Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7816949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:03:36+00:00 2026-06-02T06:03:36+00:00

I am developing a simple process statistics collection library for Windows. I’m enumerating the

  • 0

I am developing a simple process statistics collection library for Windows. I’m enumerating the processes with EnumProcesses() function, and I try to open them with OpenProcess() call with PROCESS_QUERY_INFORMATION flag. The latter one fails for a bunch of system processes, though. At the same time, I see that similar applications (sysinternals tools, task manager, etc) seem to be able to retrieve information about these processes even without requiring Administrator privileges. I tried enabling the SeDebugPrivilege privilege, but it did help only when I ran my program as an Administrator — and still, I could not open the Idle process, the System process and the audiodg process (I would like to be able to retrieve their information for consistency as well).

So the question is: how can I get information about all the processes (I see it done by 3rd-party applications, but I don’t see how)? Is it possible to do it without Administrator privileges?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T06:03:39+00:00Added an answer on June 2, 2026 at 6:03 am

    Are you familiar with CreateToolhelp32Snapshot and this function as well Process32First.

    I have found this code-project When I used it a while ago it helped me a lot …

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a standard practice to organize the process of developing a simple website.
This is somewhat of an open question. I'm in the process of developing a
I'm in the process of developing a simple 2d grid based sim game, and
We're in the process of developing a simple webapp that will be made available
I am in the process of developing a simple JFrame based GUI to which
Can anyone recommend a good Java game engine for developing simple tile-based games? I'm
I developing the simple UIApplication in which i want to crop the UIImage (in
I am developing a simple translator from MathML to Latex, using Lex and Yacc.
I am developing a simple web page to be viewed after an iphone application
I'm developing a simple Wedding List application, where guests can reserve the present they

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.