Query Active Directory for new user accounts

Posted on 2007-07-22
Last Modified: 2012-05-05

I need to be able to query active directory to show me only those user accounts which have been created since January 1st 2007.

Can someone tell me how to do this with only native tools, perhaps an ldap or dsquery command?

Single domain. 2000 active directory

Question by:master_windu
    LVL 26

    Accepted Solution

    LVL 26

    Assisted Solution

    Click Start -> Run -> Cmd.exe
    DSQuery * domainroot -filter "(&(objectCategory=user)(whenCreated>=20070101000000.0Z))"
    LVL 11

    Expert Comment


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    At some point in your work you may run into a need to globally assign a specific file type to open using a specific program. I recently was tasked with completing this objective. In my case it was setting the TSV file association to open with Excel.…
    Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    733 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

    19 Experts available now in Live!

    Get 1:1 Help Now