Barbarism: WinXP Drive Transplanted to Win7 Hardware-Collection of common programming errors

I am contemplating doing something barbaric.

A computer, with obsolete / discontinued software that requires a Windows XP 32 bit environment, lost it motherboard. As a short term fix a Windows 7 64 bit machine running a virtual machine of XP is running the software; but the software disconnects / crashes from the server several times a day. (The Win7 machine was an under used machine.)

What is the best way to extract the drivers from the Win7 machine for installation on the hard disk of the Windows XP machine? I assume that the Windows XP hard drive will need its license rearmed / reset.

I’ve backed up business files and taken a mirror of the drive