The Rehosting Utility has been built to automatically rehost the most common environment configurations but there may be times when a unique configuration is not updated properly as part of the rehost. To ensure that a rehost results in a fully functional system, you may need to change property values that were incorrectly set by the utility. The utility is designed to support this operation via the StartProcessTask.
First, create a script (bat file, shell script, etc.) that makes the proper update via xconfmanager. The following prop-update.bat runs an xconf command to update the value of wt.server.codebase.
Next, create a script entry in rehost.properties that references the script relative to the Rehosting Utility installation directory. In most cases, placing the scripts in the rehost\scripts directory should be sufficient.
Lastly, modify projects.properties to run this script immediately prior to starting Windchill.