All that IT stuff you normally forget as you go along and spend ages trying to remember...
To set a local Windows user password not to expire use the following.
wmic UserAccount where Name='username' set PasswordExpires=False
The following PowerShell command will produce a csv file with username, last login date and time, and 'user enabled' columns.
Get-LocalUser | Select-Object Name, LastLogon, Enabled | Export-Csv -Path "C:\path\to\your\LastLogonReport.csv" -NoTypeInformation