Solved

Account does not expire in AD server 2003 R2

Posted on 2009-07-03
4
306 Views
Last Modified: 2012-05-07
When  I set a AD Account to expire a given date , it will not expire , the Account is still enable , I have try to log on any program and it works ,I Dont understand why the Account doesnt expire .
I dont know what the problem is ,I have try to look at some group polices , but there is no GP related to the problem .. may some hot fix , service pack.

Cant somebody please help
0
Comment
Question by:johnfreak
  • 2
  • 2
4 Comments
 
LVL 5

Expert Comment

by:mredfelix
ID: 24771106
you are setting the account to expire and not the password. IS the net time wrong?
try it via command line
"   /EXPIRES:{date | NEVER}    Causes the account to expire if date is
                              set. NEVER sets no time limit on the"
0
 

Author Comment

by:johnfreak
ID: 24771381
I don`t Understand , should i type  /EXPIRES:{date | NEVER}  .. it dosent work .. syntax is incorrect..
And I dont not about the net time is wrong , how do i test that
0
 
LVL 5

Accepted Solution

by:
mredfelix earned 50 total points
ID: 24796379
hi

load up a command prompt

net time \\timesrv /set /yes
see this document  http://support.microsoft.com/kb/314090 here is a list of time servers http://support.microsoft.com/kb/262680


and try the expire command line via wmi

You can try set password expiration via WMI, using wmic command line like this,

cmd> wmic path Win32_UserAccount where Name='testusername' set PasswordExpires=false
0
 

Author Comment

by:johnfreak
ID: 24801408
Thanks it works now
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 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

16 Experts available now in Live!

Get 1:1 Help Now