Welcome to the world of Microsoft Product Activation. As the other posters have said, try installing and activating via the internet. If that doesn't work, you just have to call MS and tell them that you are rebuilding your computer and they will give you a new activation code.