The motherboard in the HP Pavilion P7-1240 is the MSI/HP MS-7778 Motherboard older OEM HP drivers can be downloaded on that page. Drivers for Windows 10 which should run pretty good on this system can be downloaded below.
Sound Drivers:
Network Drivers:
Additional Drivers: