The physical hard drive won't have a problem assuming it's in good condition, has same interface, etc.
If it's running an OEM version of Windows, (and pretty sure it is unless he installed it special), the *license* is going to be tied to the HP motherboard and you may not be able to get it to...