Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Account does not expire in AD server 2003 R2

Posted on 2009-07-03
4
Medium Priority
?
315 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 200 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

604 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