Here is how to fix Failed to schedule Software Protection service for restart with SvcRestartTask The task XML contains an unexpected node.