During script execution, the RunOnce and RunOnceEx registry keys are temporarily disabled. This is done to keep the smeclnt profile clean and to avoid conflicts between other applications and any planned installation. However, in some cases you may need to enable those keys for the installation to complete successfully.
This document explains how to enable execution of the RunOnce and RunOnceEx registry keys within an ON Command CCM script.
To execute commands from the RunOnce and RunOnceEx registry keys, use the file Ronce.bat in your script.