Reconfiguring Factory Shipped CMS
White paper | Reconfiguring Factory Shipped CMS
5 | April 16, 2013
Pwd-Change-CMSreconfig.ps1
Scope
The Pwd-Change-CMSreconfig.ps1 script is used to change the initial installer account password.
This script is used only for the initial reconfiguration, as it depends on the values in the software-
settings.xml file.
Pre-requisites
Host name/IP change must be completed (if applicable).
User must be logged in as initial installation account
Automated Steps
1. Launches the OO administrator via Internet Explorer to change OO administrator
password
2. Prompts the user for new password
3. Changes the user’s password in Windows
4. Changes the password on the service account
5. Executes the mxreconfig –m password
6. Updates the mxnodesecurity entry for the dsc_rdp protocol with new password
7. Reboots the CMS
Manual Steps Needed
1. Edit and regenerate the PXE boot images for RDP.
Domain-Acct-CMSreconfig.ps1
Scope
The Domain-Acct-CMSreconfig.ps1 script is used only for the initial reconfiguration, as it depends
on the values in the software-settings.xml file.
Pre-requisites
CMS must be joined to the domain.
New user account must be created on the domain.
Host name/IP change must be completed.
User must be logged in with a domain account with local administrator privileges.
The local or domain username/hostname must not contain the character $.
SQL service must be manually started if they are not up and running just after the
reboot.
Automated Steps
1. Checks that the logged in user is a domain account with local administrator rights
2. Prompts the user for the new domain account credentials
3. Validates to ensure that the credentials exist in the domain
4. Adds the new account to the local administrators and HPIO administrators group
5. Reboots and auto login set for original installer account
6. Adds the new login to HPSIM (script copies current account settings)
7. Launches OO administrator via Internet Explorer to change OO administrator password
8. Sets the new account and password on the CMS services
9. Updates the RDP configuration files
10. Sets the mxnodesecurity for dsc_rdp protocol
11. Adds the domain account logon to local SQL server as system administrator
12. Checks if scripts are called in conjunction with the DB-Change script
a. If YES, Launch DB-Change-CMSreconfig.ps1
b. If NO, the script does the following:
i. Execute mxreconfig sqlredirect command
ii. Update IO and OO configuration files