Hello, MSK.
Not all types of licenses have the right to transfer to another device, and replacing the motherboard is considered a new device. Please specify how Windows was obtained - as a pre-installed (OEM) or as a standalone version purchased separately from the PC (BOX or ESD)? Also, post a screenshot of the slmgr.vbs /dlv command window here.