Is there a way to Deactivate X6 before rebuilding PC?

I'm about to wipe my PC and reinstall everything from scratch (I do this about twice a year on this production machine). To avoid the activation nightmare I've had before, is the a way to deactivate CD X6 beforehand to avoid this?