Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 820889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:33:02+00:00 2026-05-15T02:33:02+00:00

I want to expire users’ passwords on an individual basis in Microsoft Active directory

  • 0

I want to expire users’ passwords on an individual basis in Microsoft Active directory at different times.

I understand that each user within AD does not have it’s own password expry time. Instead there is a Maximum Password Age associated with the domain, and a LastPasswordSet date associated with the user.

I intend to set the LastPasswordSet to simulate the behavior of each user having an individual max password age.

In order to do this, I need to know the Maximum Password Age associated with the domain. How to I determine this programmatically from .NET?

Edit: I see that LastPasswordSet is readonly, so my approach may have no merit.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T02:33:02+00:00Added an answer on May 15, 2026 at 2:33 am

    If you use ADSI it’s the property maxPwdAge. Here’s an article that includes a sample of getting this out:

    http://msdn.microsoft.com/en-us/library/ms974598.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to alert the user that the session timeout is about to expire.
I have a web form that uses AD to authenticate users. I want to
I want to put the user password check to never expire. When I create
I want to add expire TIMESTAMP in DB table. I have one field timestamp
I want to make a table where the entries expire 24 hours after they
i want to create a trial webpage with static languages that expires after 10
I have have this query that i want to execute. SELECT warehouse.expiry_date, pharmacy.expiry_date, drugs.active_substance,
I work for an organization that sends sms to users based on subscription, my
I want to expire my previous page when end user clicks on LogOut or
I want my asp.net mvc(C#) application to be with the session without expire. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.