windows set user password to never expire code example Example: command to set user password to never expire in windows NET USER {username} /expires:never