Hi there and welcome to Tom's Hardware,
HP does not list component drivers for Vista or Win-7 for your model,
Here is the HP link for your Compaq NX9010 for review:http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=321852&prodSeriesId=321850&swLang=8&taskId=135&swEnvOID=1093
Might download and run the Win-7 Upgrade Compatability Advisor to see if your laptop will work satisfactorily with Win-7
Here is the link:http://windows.microsoft.com/upgradeadvisor
If there are just minor incompatabilities like not working with Aero, you can live with that, but if there are no updated compaq drivers for the graphics card, modem, etc., then it can be problematic. The upgrade compatability advisor should point those out.