You haven't explained what "swaped hardware intel to amd" means, so we have to guess.
If you changed your motherboard, then for the purposes of activation, you have a new PC, and a new PC needs a new license.
The only Window license that can be moved from one PC to another PC is a Retail license. If that's the type of license your copy of Windows has, we can show you how to reactivate that on the new hardware.