PC Review


Reply
Thread Tools Rate Thread

Account Expired ??

 
 
Planz
Guest
Posts: n/a
 
      8th Sep 2003
Not sure why (yet) but all of the users accts are expired with a date of
Sept 6 2003
Anyone ever have this problem? And what was the fix?

Better yet how do i do a mass option to set all the users account expired
option to 'Never' ?


 
Reply With Quote
 
 
 
 
Robbie Allen
Guest
Posts: n/a
 
      8th Sep 2003
Can't say I've heard of that before. How were the accounts initially
created?

You could use this command to reset them:
C:\> for /F "usebackq delims=""" %i in (`dsquery user
"ou=myusers,dc=test,dc=local" -scope onelevel`) do dsmod user -acctexpires
never %i

Replace ou=myusers,dc=test,dc=local with the OU your users are in.

Or if you want to do it via a script, you could combine these two:
http://rallenhome.com/books/adcookbo...ration.vbs.txt
http://rallenhome.com/books/adcookbo..._users.vbs.txt

Robbie Allen
Author of "Active Directory Cookbook" (O'Reilly)
http://www.rallenhome.com/

"Planz" <(E-Mail Removed)> wrote in message
news:OXO$(E-Mail Removed)...
> Not sure why (yet) but all of the users accts are expired with a date of
> Sept 6 2003
> Anyone ever have this problem? And what was the fix?
>
> Better yet how do i do a mass option to set all the users account expired
> option to 'Never' ?
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Expired Account =?Utf-8?B?cGlvbmVlcng=?= Windows XP Security 1 4th Jan 2006 05:27 AM
Service account expired =?Utf-8?B?VHlvbmRlbg==?= Microsoft Windows 2000 Active Directory 5 4th Aug 2005 12:06 AM
Account expired Santos Microsoft Windows 2000 Active Directory 5 4th Aug 2004 08:28 PM
how to set autodisable for expired account felix Microsoft Windows 2000 Active Directory 3 19th May 2004 03:16 PM
expired passport account ali baba Windows XP New Users 1 31st Dec 2003 11:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:58 PM.