The best two ways to avoid this whole thing is
A:
Linux... You would be amazed at what has become of that operating system no one has heard of in the last ten years.
B:
Partition your hard drive or
buy an external drive and use it to keep ALL your install files documents.. EVERYTHING. Just use your primary drive for windows.
Then it is remarkable easy to reinstall your operating system in the event of some new virus.