How to Track Active Directory Users with Password Set to Never Expire

Authored by: Support.com Tech Pro Team

1. Introduction

How to Track Active Directory Users with Password Set to Never Expire

2. Solution

Start Windows PowerShell with administrative privileges. Run the following Windows PowerShell cmdlet to search Active Directory accounts that have passwords set to “never expire”.

search-adaccount –passwordneverexpires

Following screenshot shows the result of the command.

Above result set may have some disabled user accounts. To get the list of only active user accounts with never to expire passwords, run the following command.

search-adaccount –passwordneverexpires | where {$_. enabled}

Followng screenshot shows such a report.