Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Computer Last Password Change

Reply
 
Old 04-10-2009   #1 (permalink)
TheNugget2007


 
 

Computer Last Password Change

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


My System SpecsSystem Spec
Old 04-10-2009   #2 (permalink)
Marcin


 
 

Re: Computer Last Password Change

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" <Private_Address2007@xxxxxx> wrote in message
news:OMRAp2buJHA.4068@xxxxxx
Quote:

> 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

My System SpecsSystem Spec
Old 04-10-2009   #3 (permalink)
Richard Mueller [MVP]


 
 

Re: Computer Last Password Change

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" <marcin@xxxxxx> wrote in message
news:uKAJI3cuJHA.5172@xxxxxx
Quote:

> 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" <Private_Address2007@xxxxxx> wrote in message
> news:OMRAp2buJHA.4068@xxxxxx
Quote:

>> 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
>
>

My System SpecsSystem Spec
Old 04-17-2009   #4 (permalink)
Jorge de Almeida Pinto [MVP - DS]


 
 

Re: Computer Last Password Change

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" <Private_Address2007@xxxxxx> wrote in message
news:OMRAp2buJHA.4068@xxxxxx
Quote:

> 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
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Privision User must change password at next logon, if passwordchanged, set password never expire VB Script
How do I change my password? Vista hardware & devices
change user password on remote computer VB Script
How to setup Username/Password for a drive in a Windows XP computer to backup files from a Vista computer? Vista General
networked computer needs a password to be accesed my computer Vista networking & sharing


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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