Save your userdata folder or even the whole TS12 folder to another drive such as a USB external, then copy it back after you have reinstalled. TS12 doesn't need to be reinstalled you can just copy it to another PC drive or whatever and apart from re-entering your password, username and preferences etc it will work.