how to get AD User attributes in Windows 2003

Posted on 2014-08-06
Last Modified: 2014-08-06
Hi Experts,

How can I get all of attributes for an AD user?

Thanks you for your help in advance.

Question by:EnjoyNet
    LVL 16

    Expert Comment

    by:Joshua Grantom
    Are you trying to do this from a server 2003 or is this a server 2003 domain? A little more info would be helpful. If you are on a windows 7 pc then you can run this powershell

    get-aduser (username) -properties *

    and it will return all of their info
    LVL 3

    Accepted Solution

    Another command:

    ldifde -d "CN=user,CN=container,DC=xxx,DC=yyy" -f user.txt
    LVL 16

    Expert Comment

    by:Joshua Grantom
    if you want to export the data from the powershell above use this

    $username = PutUsernameHere
    get-aduser $username -properties * | Out-File C:\$username.txt

    Open in new window

    it will export the info to a text file with their username as name also
    LVL 40

    Expert Comment

    I would suggest Quest ActiveRoles Management Shell for Windows 2003 Domain..

    Install Quest ActiveRoles Management Shell on any COMPUTER which is connected to domain. Please refer the link for installation files.

    Open ActiveRoles Management Shell for Active Directory console..

    Start | All Programs | Quest Software | ActiveRoles Management Shell for Active Directory

    Run the following command to list all attributes of UserA
    Get-QADUser UserA -all | FL *

    Open in new window

    Run the following command to export all attributes of UserA to a csv file..
    Get-QADUser UserA -all | Export-Csv C:\report.csv -nti

    Open in new window

    But if you can't use the Quest tool then you need to use CSVDE, LDIFDE or VBscripts

    Ref :

    Author Closing Comment

    Thanks to all.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

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

    The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

    760 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

    8 Experts available now in Live!

    Get 1:1 Help Now