Hi @arzaanali
Try this....
go to:
https://ftp.ext.hp.com/pub/caps-softpaq/cmit/HPIA.html
Use ***HP Image Assistant (HPIA)***
to download the correct drivers and bios update on your pc.
Run the tool and click Analyze
Allow for some time to capture system configuration,
and install it.