Script/command: domain administrator password last changed

Posted on 2011-10-18
Last Modified: 2012-05-12
For; Windows 2003 &Windows 2008
I am looking for a working script that will tell me the last time the domain administrator password had been changed.
If it requires me to change anything in the script then please be clear on the what I need to add etc. I have googled a couple of scripts that haven't worked.
Thank you
Question by:the_omnific
    LVL 21

    Accepted Solution

    net user /domain administrator

    type from command prompt
    LVL 65

    Assisted Solution

    Just to add slightly to that:
    net user /domain administrator | find "Password last set"


    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
    Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
    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…
    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 …

    734 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

    25 Experts available now in Live!

    Get 1:1 Help Now