Well, you have to activate it...
If you have the code, and tried activating it with it but it doesn't work, you can try getting a permanent activator.
I don't think they're legal, but as long as you have proof of purchase or the code for your windows version, you should be OK...
But before...