Solved

Account does not expire in AD server 2003 R2

Posted on 2009-07-03
4
310 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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