Windows is activated through the Key Management Service (KMS) and must reactivate itself every 180 days. If your system has an outdated domain or IP address for the KMS server, Windows cannot reach the activation server.

Requirements

Solution

Under Attachments you will find the script "kms_renew.cmd". Run it by double-clicking and answer "Do you want to allow this app to make changes to your device?" with Yes, if necessary.
It checks whether the stored information for the activation server is set correctly and corrects it if necessary, activating Windows afterwards.