Hi Saqib,
Did you check if the device is getting detected in the Device Manager?
1. Click on Start; in the start search type devmgmt.msc and hit Enter.
2. Check if the DVD RAM is getting detected. If yes, check if it has a yellow exclamation mark in front of it.
3. If the DVD RAM has a yellow exclamation mark, then expand the DVD RAM drive and right click on HP DVDRAM GT20L ATA and click on update driver.
4. It may get a window “How do you want to search for the drivers”. Choose the first option “Search automatically for updated driver software”.
If updating the driver software doesn’t work, then I would suggest you to re-install the chipset/motherboard drivers. You can download the drivers for your HP Compaq515 notebook from the link below.
Hope this information is helpful
Mouneshwar R – Microsoft Support
Visit our Microsoft Answers Feedback Forum and let us know what you think
[If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.]