Dear Customer,
The clicking noise is normally from the HARD DRIVES when there are about to FAIL and the below mentioned TEST confirms that the HARD DRIVE is Failed.
Whenever the Hard Disk Short/Long DST test fails that indicates that the Hard Disk Drive has failed and that requires a replacement to resolve the issue
This issue could be due to Application or driver conflicts, virus issues, file corruptions due to incompatible applications, improper shutdowns, update failures due to conflicts, sudden power surges, if notebook is dropped etc..
HP will provide a replacement Hard Disk Drive if the Notebook warranty is Active, If not you need buy a SATA Hard Disk Drive from a retail shop nearby
Please Contact HP if your HP Notebook is under warranty, HP would replace the Hard Disk Drive and provide you a Recovery media to restore factory operating system after replacement (if you've not yet created Recovery Discs/USB Media)
Note: Back up all the personal data to an external drive if it's possible. Otherwise you could connect the failed HDD via SATA to USB adapter with another PC or same PC after replacement of HDD & re-installation of OS and try copying /recovering the files. You can also refer to the below shown link for further support
http://www.wikihow.com/Recover-Data-from-the-Hard-Drive-of-a-Dead-Laptop
Please click on the link In order to Identify, Prevent, Diagnose & Recover from Drive Failures on HP Notebook Hard Drives & Solid State Drives :
http://h10032.www1.hp.com/ctg/Manual/c02876562.pdf
You can Check your warranty Here to verify the status and Click Here to order a new Hard Drive
Hope this helps, for any further queries reply to the post and feel free to join us again
**Click the White Thumbs Up Button on the right to say Thanks**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
Thank You,
GBL84
I am not an HP Employee