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 - looking for scripts for all usres with "password never expires"

Reply
 
Old 10-14-2008   #1 (permalink)
Chris


 
 

looking for scripts for all usres with "password never expires"

single Windows 2003 native AD doamin. Need a script to report all users
who's account has been set with "password never expires". Also, anothe
script which will remove the setting for some of them. The input file will
be from prvious script but revised as needed.

Can someone provide or point me to a source?

Thanks.

My System SpecsSystem Spec
Old 10-14-2008   #2 (permalink)
Chris


 
 

Re: looking for scripts for all usres with "password never expires

thanks everyone! Very helpful.

"Wiseman82" wrote:
Quote:

> Hi Chris,
>
> You might find my app useful:
>
> http://www.wisesoft.co.uk/Products/P...l/default.aspx
>
> There is a pre-defined query to return users with password never expires
> set. You can then use the bulk modify dialog to update the attribute:
>
> http://www.wisesoft.co.uk/Products/P...y/Default.aspx
>
> If you still want a VBScript solution, you will be able to combine the
> script posted by Salvador with this one:
>
> http://www.wisesoft.co.uk/scripts/vb...r_expires.aspx
>
> Hope this helps,
>
> David
>
>
> "Chris" <Chris@xxxxxx> wrote in message
> news:3F9082B1-8C1F-4CC9-B3F9-B344F0C6C61B@xxxxxx
Quote:

> > single Windows 2003 native AD doamin. Need a script to report all users
> > who's account has been set with "password never expires". Also, anothe
> > script which will remove the setting for some of them. The input file
> > will
> > be from prvious script but revised as needed.
> >
> > Can someone provide or point me to a source?
> >
> > Thanks.
>
My System SpecsSystem Spec
Old 10-14-2008   #3 (permalink)
Paul Weterings


 
 

Re: looking for scripts for all usres with "password never expires"

Chris wrote:
Quote:

> single Windows 2003 native AD doamin. Need a script to report all users
> who's account has been set with "password never expires". Also, anothe
> script which will remove the setting for some of them. The input file will
> be from prvious script but revised as needed.
>
> Can someone provide or point me to a source?
>
> Thanks.
Well its not a script, but here goes:

dsquery user | dsget user -samid -pwdneverexpires


--

/ ) Regards,
/ /_________
_|__|__) Paul Weterings
/ (O_) http://www.servercare.nl
__/ (O_)
____(O_)
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
I can't copy and paste "User name" and Password" in Windows Mail (Vista 64 bit SP2) System Security
Why ".PS1" file extension for PS scripts? PowerShell
"@Echo" behavior in PS scripts PowerShell
POP mailbox password remembered but "remember password" not checke Live Mail
Owner account password "the user name or password is incorrect" Vista account administration


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