During an install of System Center 2012 R2 Service Manager, i came across an error during the “Finalize” stage of the install sequence. The error i received was “An Error occurred while executing a custom action:RollbackCleanup.”.
After doing some research i found that this can sometimes be due to a timeout. The amount of time before a timeout occurs is written in the registry and can be changed by following the steps below:
- Open regedit from the Start menu.
- Browse to the following subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
- Create a new DWORD value named ServicePipeTimeout.
- In the properties of ServicePipeTimeout, select Decimal, and give a value of 600000. (This is milliseconds).
- Restart the Comnputer.
Once this change was made the install completed successfully.
Please Note: The above is a global change and will affect the timeout for all services. This may need deleted once the install has been completed.