Below is the report generated by the failure code you posted, minus your notebook's serial number.
Failure ID Tag Checksum HP Serial Number Test Date Failure Code Device Includes Error Message
9C6C9D-7NLAA8-MFPWMG-60FX03 | OK | XXXXXXXXXX | 11/23/20 | 301 | Storage | Floppy Drive, Hard Drive, Memory Drive, Optical Drive, SCSI, Tape Drive | Hard Disk 1 SMART Hard Drive Detects Imminent Failure |
You will need to install a new drive and reinstall the operating system.
If you can still get into Windows, back up any files you need to save onto a portable hard drive.
Below is the link to the service manual for your notebook, where you can find the hard drive removal and replacement procedure.
h10032.www1.hp.com/ctg/Manual/c04655191
You may want to consider replacing the drive with a better performing, normally more reliable solid state drive (SSD).
If you don't need a lot of drive space, this 500 GB model provides the best performance for the price
Amazon.com: Western Digital 500GB WD Blue 3D NAND Internal PC SSD - SATA III 6 Gb/s, 2.5"/7mm, Up to...