Reinstalling LW. Doing a system restore of course has its drawbacks. Loss of ones program preferences is one of those sacrifices.
Think first, then act.
Example: backing up one's preferences or certain folders or files onto an external device
before doing a system restore just in case.
A system restore is a reasonably major tactic, so make sure you are prepared for the potential of loss of files or preferences after doing it (since the restore date).