Source: Service COntrol Manager
Event ID: 7034
"The SharePoint 2010 User Code Host service terminated unexpectedly. It has done this .. time(s)."
At the same moment you can also observe an error message in the ULS logs:
"Performance Counter OS (pdh) call failed with error code PDH_INVALID_DATA"
When the service is started, it verifies its performance counters were registered correctly.
If the option was set in the registry to include a PID in the process name this verification fails.
Article ID: 2509267 - Last Review: Feb 22, 2011 - Revision: 1