It will depend on how close the laptop platform was to the new PC. Chances are slim that you will be able to boot to the desktop. But it is worth the try. Keep in mind that laptop HDDs are not as fast as the std. HDD used in desktops.
If your laptop has a legal copy Win10 on it, it may be better to just download the Windows .ISO file and burn yourself a Win 10 installation disk. Then use it to clean install to a new HDD.https://www.microsoft.com/en-us/software-download/windows10