Did you rip the CDs with Media Player?
If so - the option to Copy Protect music was more than likely enabled - meaning, now you've reinstalled Windows, your installation of Windows isn't the one that protected them - so as far as it's concerned, you don't own the licence to play the files.