Rename Enable and Reset the Local Administrator Account with PowerShell
We all know it’s not best practice to leave the local administrator account named administrator, for that reason most of us rename it. So why not save a little time while doing it? Below lists a simple PowerShell script that will rename the account enable it and reset the password. I’ve gotten a little tricky with the password and added the serial number as part of it. However that can easily be changed to whatever you’d like it to be.