The easiest solution is to simply redeploy a new installation package with the new server address over the old installation.
Barring that, if you could get the new server on the address of the old one for a short time to use the console to disable the self-defense (under troubleshooting options) that is blocking the ini, you could then use the script to change the inis.