You have a couple of things happening here.
1. When you take a ssd/hdd with a Windows operating system installed on it and and install it in another computer with a different motherboard and a different CPU the operating system will not be able to boot into Windows. Toward the end of a Windows installation you will get the message "Windows is finalizing your settings". This is where Windows recognizes what drivers are needed to boot into Windows and reserves these for the startup. When you change the motherboard and the components on it those drivers change and Windows may not boot at all. Usually if it does start it will have problems which usually continue to get worse and usually requires a fresh installation.
2. If this first computer which had the ssd installed on it was a OEM computer you need to realize that a OEM installation is intended for one computer only. If you built another computer which had all of the exact same motherboard and the other board components you may be able to fool Windows into seeing this as the same computer. But if there is one item different, even the North bridge and South bridge chipset drivers, and you are still able to boot into Windows you will still have one large problem... you will not be able to activate the operating system. After thirty days you will have a very limited version of Windows. This will have limited graphics and other functions, you will not be able to get updates either.
Computers with Windows 7 and forward can generalize the hdd by using the sysprep.exe. This basically removes all of the settings and allows Windows to reassign new drivers. This will not work on a upgraded version of Windows, and to the best of my knowledge this will not work with a OEM installation.
Edited by dc3, 20 December 2016 - 11:55 AM.