A number of malfunctioning spacecraft have been reprogrammed so that they can produce useful results.