You can get rid of this situation using the Net User command. The command is built to set an expiration date for a user account, or completely turn off user account expiration.
it is important to separate account expired for password expiring, it is not the same!
Also a tip , expired date account can’t be checked on computer management
Turn off User Account Expiration using PowerShell
- Open Powershell console
- Get the username you want to set no expired
net user %username% /expires:never