1) Time Machine it 2) Clean install 3) Drop off computer to be fixed 4) Pick up computer 5) Restore from Time Machine
I've never had a problem.