Although the HDD will boot everything from the Main board will be set to the old PC.
In many cases it will find the various things however, you would have been better doing a format and clean install of windows.
If you have files on the Hdd you can save them with dos commands. eg. copy C:/myfiles/ a: