slmgr /rearm
This error often happens because a script or admin tried to apply a Volume License (business/enterprise key) to a computer that is supposed to use a Retail or OEM license.
Note: This requires you to have a valid digital license linked to your Microsoft account.