Detuned? In what sense? You play C4 and hear F4? Or a note seems to change pitch with time (as it decays/sustains)? Is this occurring only with piano patches? If so, USER piano patches or (non-flash) ROM pianos as well? Did you buy your XP used?
Save your sounds, initialize internal memory, then see if you still have your problem.