I’m trying to change the password of the admin user. I modify the authentication.ps1 file to add
$Credential.UserName -eq ‘Admin’ -and $Credential.GetNetworkCredential().Password -eq ‘newpass’)
Now I can login to PSU with admin/admin and admin/newpassword. How can I remove the admin/admin?
Unless you have changed the admin account’s credential vault, the password is stored in the PowerShell Universal database. You should be able to reset it by expanding Security, clicking Identities, and click the option gear next to the admin account.