Scripts defined to run after configuration, reconfiguration, maintenance, and unconfiguration operations only run if the operation is successful (or completes with warnings). By default, if the script fails, Intel SCS does not make any changes to the Intel AMT settings set by the operation that ran before the script. “Script failure” means that your script returned a non zero exit code, or Intel SCS did not succeed to run the script.
But leaving Intel AMT configured after a post configuration script fails might not be the result you want. If it is critical that your post configuration script will complete successfully, you might prefer to have Intel AMT unconfigured if the script fails.
For post configuration scripts run by the Configurator, you can define this using the /AbortOnFailure parameter. When this parameter is supplied, the Configurator will automatically unconfigure Intel AMT if the configuration operation fails or the post configuration script fails. But unconfiguration will only occur if the Intel AMT system was in an unconfigured state when the configuration operation started. The /AbortOnFailure parameter is ignored for reconfiguration and maintenance operations.