Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Scripting > Computer Last Password Change

Reply
Thread Tools Display Modes

Computer Last Password Change

 
 
TheNugget2007
Guest
Posts: n/a

 
      04-10-2009
Hi

I have been asked is there a way of working out the date and time a computer
account has been active on a domain.

Basically we have a lot of hardware that is being upgraded and our support
staff do not always remove old accounts from AD.

From what I have been told, Computer Accounts have to authenticate
themselves with AD within a certain period and a password is changed at this
stage.

How can I query this?

Regards

D

 
Reply With Quote
 
 
 
 
Marcin
Guest
Posts: n/a

 
      04-10-2009
Try oldcomp from joeware.net
(http://www.joeware.net/freetools/tools/oldcmp/index.htm). Alternatively,
you can also use dsquery computer command (with -stalepwd switch)...

hth
Marcin

"TheNugget2007" <> wrote in message
news:...
> Hi
>
> I have been asked is there a way of working out the date and time a
> computer account has been active on a domain.
>
> Basically we have a lot of hardware that is being upgraded and our support
> staff do not always remove old accounts from AD.
>
> From what I have been told, Computer Accounts have to authenticate
> themselves with AD within a certain period and a password is changed at
> this stage.
>
> How can I query this?
>
> Regards
>
> D



 
Reply With Quote
 
Richard Mueller [MVP]
Guest
Posts: n/a

 
      04-10-2009
Joe Richards' oldcmp utility is the best tool. If you want a scripting
solution I have an example VBScript program that documents the date/time
when all users last changed their password linked here:

http://www.rlmueller.net/PwdLastChanged.htm

The program has the changes required to document computers rather than users
commented in the code.

--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--

"Marcin" <> wrote in message
news:...
> Try oldcomp from joeware.net
> (http://www.joeware.net/freetools/tools/oldcmp/index.htm). Alternatively,
> you can also use dsquery computer command (with -stalepwd switch)...
>
> hth
> Marcin
>
> "TheNugget2007" <> wrote in message
> news:...
>> Hi
>>
>> I have been asked is there a way of working out the date and time a
>> computer account has been active on a domain.
>>
>> Basically we have a lot of hardware that is being upgraded and our
>> support staff do not always remove old accounts from AD.
>>
>> From what I have been told, Computer Accounts have to authenticate
>> themselves with AD within a certain period and a password is changed at
>> this stage.
>>
>> How can I query this?
>>
>> Regards
>>
>> D

>
>



 
Reply With Quote
 
Meinolf Weber [MVP-DS]
Guest
Posts: n/a

 
      04-10-2009
Hello TheNugget2007,

As said from the others, oldcomp is a really good solution.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


> Hi
>
> I have been asked is there a way of working out the date and time a
> computer account has been active on a domain.
>
> Basically we have a lot of hardware that is being upgraded and our
> support staff do not always remove old accounts from AD.
>
> From what I have been told, Computer Accounts have to authenticate
> themselves with AD within a certain period and a password is changed
> at this stage.
>
> How can I query this?
>
> Regards
>
> D
>



 
Reply With Quote
 
Bruce Sanderson
Guest
Posts: n/a

 
      04-10-2009
If you just want to get a list of computers with their last password update
and user logon time stamps, and if you are into using Power Shell, you may
find the scripts available at
http://members.shaw.ca/bsanders/Wind...oryscripts.htm
useful.

--
Bruce Sanderson
http://members.shaw.ca/bsanders

It is perfectly useless to know the right answer to the wrong question.



"Marcin" <> wrote in message
news:...
> Try oldcomp from joeware.net
> (http://www.joeware.net/freetools/tools/oldcmp/index.htm). Alternatively,
> you can also use dsquery computer command (with -stalepwd switch)...
>
> hth
> Marcin
>
> "TheNugget2007" <> wrote in message
> news:...
>> Hi
>>
>> I have been asked is there a way of working out the date and time a
>> computer account has been active on a domain.
>>
>> Basically we have a lot of hardware that is being upgraded and our
>> support staff do not always remove old accounts from AD.
>>
>> From what I have been told, Computer Accounts have to authenticate
>> themselves with AD within a certain period and a password is changed at
>> this stage.
>>
>> How can I query this?
>>
>> Regards
>>
>> D

>
>


 
Reply With Quote
 
Jorge de Almeida Pinto [MVP - DS]
Guest
Posts: n/a

 
      04-17-2009
use OLDCMP from joeware.net

--

Cheers,
(HOPEFULLY THIS INFORMATION HELPS YOU!)

# Jorge de Almeida Pinto # MVP Identity & Access - Directory Services #

BLOG (WEB-BASED)--> http://blogs.dirteam.com/blogs/jorge/default.aspx
BLOG (RSS-FEEDS)--> http://blogs.dirteam.com/blogs/jorge/rss.aspx
------------------------------------------------------------------------------------------
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always test ANY suggestion in a test environment before implementing!
------------------------------------------------------------------------------------------
#################################################
#################################################
------------------------------------------------------------------------------------------

"TheNugget2007" <> wrote in message
news:...
> Hi
>
> I have been asked is there a way of working out the date and time a
> computer account has been active on a domain.
>
> Basically we have a lot of hardware that is being upgraded and our support
> staff do not always remove old accounts from AD.
>
> From what I have been told, Computer Accounts have to authenticate
> themselves with AD within a certain period and a password is changed at
> this stage.
>
> How can I query this?
>
> Regards
>
> D


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer Last Password Change TheNugget2007 Active Directory 5 04-17-2009 12:00 PM
Windows XP Computer Object Password Change Process with AD MSBob69 Active Directory 9 09-20-2007 06:07 AM
Computer Password Change Donnie Byerley Active Directory 8 09-02-2005 08:42 PM
change all password users on a computer URGENT!! jerome Scripting 2 03-11-2005 10:07 AM
Determine Last Computer Account Password Change Jerry G. Young II Scripting 7 10-19-2003 01:11 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59