Windows goes by the hardware signature, bios, etc to identify the computer. If you move it to another computer build it will not work, and that's without even taking into account the drivers. If you have the retail version of Windows 10 or a prior version of Windows jut take the ssd to the new build and install. It should auto validate once you have entered your key. Any different build you will have to do a fresh install no matter what do to the way Msft has the os designed. Remember that any version of OEM Windows will not work, only full retail version will allow this.