If you mean you had to add servers to favourites again, and your old settings (key bindings, mouse sensitivity, etc) are lost, that's because you reinstalled Windows without backing up the game folder in My Documents\
It's perfectly normal. For the next time, you can make a backup in another drive and then put it back after you've installed Windows.