You might see this error after installing third-party software that changed system files. Windows activation needs certain system files to complete activation. You can try to restore your PC’s system files back to an earlier point in time. This will remove any software you installed after that point in time without affecting your personal files. For more info, see the section about restoring from a system restore point in Recovery options in Windows 10.