Need a script to do the following within Windows 7.
Enable the Administrator user account
Reset/set the Administrator account password to XXXXXXX
Set the Administrator account not to expire the password
Prompt whoever is running the script for a new computer name, then accept input and change the name of the computer. This needs to check and see if the computer is joined to a domain. If so, notify user and not allow name change. If not a domain member then proceed with name change.
These will save me tons of time in a large project I am working on.