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

  1. Open Powershell console
  2. Get the username you want to set no expired
  3. Run:
net user %username% /expires:never