|There is just no possible way this can happen if you are using a legitimate, Microsoft, factory, "hologram" CD|
A Cd is BY DEFINITION a "ROM" "read only media"
which means that it cannot be written to or changed.
This means that if your CD is legit, then
either it's damaged in some way
or else you are misreading your license
If you are using a "burned copy" and if you have your "product key" written down on a scrap of something, then almost anything can happen.