Sometimes, when taking a PC in for repair, it’s necessary to reinstall Windows. If you (or the repair shop that repaired your PC) used a product key other than the one used when Windows was originally activated during setup, then you may start seeing messages that Windows is not activated and/or genuine.
To fix this and activate Windows, you need to re-enter the product key that originally came with Windows.
.