Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » How to set an account expiration date in Active Directory
  • How to Delete Quick Heal Anti virus cfrbackup folder or other Anti virus on Windows
    How to Delete Quick Heal Anti-virus cfrbackup folder Anti-Virus Solution
  • MBAM
    Fix MBAM Client Deployment is only supported on MBAM 2.5 SP1 Windows
  • nicedisk les chatfield cropped 100734348 large
    How to create a bootable USB using Rufus on Windows Windows
  • How to Disable TLS 1.0, TLS 1.1 and TLS 1   banner
    How to Disable TLS 1.0, TLS 1.1 and TLS 1.2 in Windows Using GPO Security | Vulnerability Scans and Assessment
  • Watchguard Firewall 180504 100511 1
    WatchGuard Firebox: Restoring Backups on XTM Device Network | Monitoring
  • powershell
    How to perform PowerShell syntax check using PSScriptAnalyzer Scripts
  • google chrome web browser download icon png favpng 2fg4fswmttnwqnvax7lrd1hxp
    How to remove Quick Access from Google Drive Online Windows
  • office365family
    How to Cancel Office 365 Family Subscription JIRA|Confluence|Apps

How to set an account expiration date in Active Directory

Posted on 22/05/202228/08/2023 Temitope Odemo By Temitope Odemo No Comments on How to set an account expiration date in Active Directory
Active Directory account management

The account expiration date is used for access control purposes. Let us assume an organization temporarily create an AD account for someone that needed access to one of your servers or a workstation, there is every possibility that you can forget to disable the account when the person completes his task. This can open the way for unauthorized access to the organization’s system. The best way to stop this from happening is by automating the process by setting an account expiration date on the AD account. If you need more guides on Windows Active Directory then you can read these: Is my AD user account or service account password correct? How to run an App as a different User and switch Users in Windows, How to create Organisation Units, Service Accounts, and Active Directory Security Groups, and the concept of Active Directory Computer Account.

If the project that the external vendor wants to execute will span some weeks and access will be needed then the system admin will have to set the account expiration to the same number of weeks required so that after this period the account will be automatically disabled.

Related Active Directory Guides and Next Steps: Account Management, Delegation, and Date Setting

Furthermore,Kindly refer to these related guides: How to find disabled Active Directory User accounts, Restore AD Objects: How to restore deleted user accounts in Active Directory with Microsoft LDP and PowerShell, How to delegate control for Bitlocker recovery keys in Active Directory, Active Directory Ports: Service and network port requirements for Windows. Follow the next steps on how to set the date on the Active Directory

1: However, Set up the temporary AD account by using the Active Directory Users and Computers

User account expiration settings
Active Directory

2. Moreover, Enter the password for the temporary account

Account lifecycle management
Password Setup

3. In addition, After the account is created then open the Users folder and by the right scroll to the temporary account created and right-click and click Properties.

image-41
Active Directory Users and Computers

4. Nonetheless, Click on the Account tab and in the Account expire section uncheck the Never button and click the End of: button and you can now adjust the date to the approved time that the temporary account should expire and click OK.

image-42
Properties

5. Consequently, If you try to login into the account after this date passed then you should get the message “The user’s account has expired.”

image-43
Account Expired

Similarly, I hope you found this blog post on How to set an account expiration date in Active Directory interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:Active Directory, Active Directory Administrative Center, Active Directory Domain Services, Windows Server 2016

Post navigation

Previous Post: How to Enable and Disable WMI Traffic through Windows CMD
Next Post: How to configure screen saver timeout in Windows

Related Posts

  • Disable and Enable USB in Windows
    Disable and Enable USB Usage for Certain Users in Windows Windows
  • DC 3
    How to demote and remove a Domain Controller on Windows Servers Windows Server
  • Manually resize your partition
    KB5034439 Windows Update Error: Resize WinRE Partition Windows Server
  • How to Change Active Directory Group Scope
    How to change Active Directory Group Scope Windows Server
  • windows pe screenshot1 rcm1200x0
    Workaround and Permanent fix for this snap-in performed a non-valid operation and has been unloaded: To continue using this snap-in restart MMC or try loading the snap-in again Windows Server
  • FileNotFoundError Errno 2 No such file or directory
    Fix FileNotFoundError: [Errno 2] No such file or directory Scripts

More Related Articles

Disable and Enable USB in Windows Disable and Enable USB Usage for Certain Users in Windows Windows
DC 3 How to demote and remove a Domain Controller on Windows Servers Windows Server
Manually resize your partition KB5034439 Windows Update Error: Resize WinRE Partition Windows Server
How to Change Active Directory Group Scope How to change Active Directory Group Scope Windows Server
windows pe screenshot1 rcm1200x0 Workaround and Permanent fix for this snap-in performed a non-valid operation and has been unloaded: To continue using this snap-in restart MMC or try loading the snap-in again Windows Server
FileNotFoundError Errno 2 No such file or directory Fix FileNotFoundError: [Errno 2] No such file or directory Scripts

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a
 
  • How to Delete Quick Heal Anti virus cfrbackup folder or other Anti virus on Windows
    How to Delete Quick Heal Anti-virus cfrbackup folder Anti-Virus Solution
  • MBAM
    Fix MBAM Client Deployment is only supported on MBAM 2.5 SP1 Windows
  • nicedisk les chatfield cropped 100734348 large
    How to create a bootable USB using Rufus on Windows Windows
  • How to Disable TLS 1.0, TLS 1.1 and TLS 1   banner
    How to Disable TLS 1.0, TLS 1.1 and TLS 1.2 in Windows Using GPO Security | Vulnerability Scans and Assessment
  • Watchguard Firewall 180504 100511 1
    WatchGuard Firebox: Restoring Backups on XTM Device Network | Monitoring
  • powershell
    How to perform PowerShell syntax check using PSScriptAnalyzer Scripts
  • google chrome web browser download icon png favpng 2fg4fswmttnwqnvax7lrd1hxp
    How to remove Quick Access from Google Drive Online Windows
  • office365family
    How to Cancel Office 365 Family Subscription JIRA|Confluence|Apps

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,840 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.