As long as its the retail version of windows you can transfer it to any pc your want just sign in with your Microsoft account and it will auto activate for you
As long as your just going from intel to intel or amd to amd it should boot
amd to intel and vice versa might give you some issues