Reinstall NIS to new harddrive

I have had to put a new harddrive into my son's computer, how do I transfer the licence that was on the old hard drive (no longer accessible) to the new hard drive?