NtQueryObject hangs

Posted on 2008-11-04
Last Modified: 2013-12-04

When enumerating the processes, the NtQueryObject hung up on Win2003. It's not happening to all processes, but just a few.

Any info about that is appreciated.
Question by:mycuti08
    1 Comment
    LVL 49

    Accepted Solution

    As you may know, these NtXxxxx functions are "Windows internal" functions and NtQueryObject may stop being supported without warning.  Quirks and oddities of usage are not documented.  For instance, one such quirk is discussed here:
    What kind of objects are you querying?  
    What options are you using in the function call?

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Update 11/3/2014 - Although the below article will get you to relocate the WINSXS folder, Microsoft has finally released a utility to reduce the size of the WINSXS folder. For some reason, it's not that straightforward. It only works on Windows 2008…
    Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
    The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now