Activate windows

If you have incorrect key setup. You can change it and activate by using the following commands.

slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Put in a valid key for the above. This registers windows with that key.

slmgr.vbs /ato
The above activates it.