Zend certified PHP/Magento developer

How to transfer ssd with windows 10 to a different computer/motherboard

My computer with windows 10 has stopped working but I still have the ssd with everything on it in my possession. I want to purchase another computer and move the ssd onto it. I understand that there is a difference between OEM and retail licenses for the windows installations. I think mine was a retail license but I don’t have access to it anymore as I got the computer second-hand.

To put it briefly I want to put my current ssd with Windows 10 in it directly into another computer and I want to switch another Windows 10 license in to run on the new computer because I don’t have access to the old license anymore. Is this possible?

Although I see questions similar to this all over the internet, I can’t find any that address the possibility of using a new license to replace the original retail or OEM license for the Windows installation.