If you have a Windows 10 installation media then boot with that and try a repair install.
Else, you may create a bootable device from here:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
If you have a Windows 10 installation media then boot with that and try a repair install.
Else, you may create a bootable device from here:
1)Indicate whether the computer no longer boots to Windows or whether it may boot to Windows
2)Find one or two flash drives that you can format
3)Find a working Windows computer
4)On the working Windows computer create a bootable Sea Tools flash drive
https://www.seagate.com/manuals/software/seatools-bootable/
5)Move the bootable Sea Tools flash drive to the problematic computer and boot to the flash drive
6)Run the Sea Tools bootable Long Generic Test > take pictures > post images or share links into this thread using one drive, drop box, or google drive
7)If the disk drive fails the Sea Tools Long Generic test then backup files and replace the disk drive
8)It the disk drive passes the Sea Tools Long Generic test then repurpose the flash drive or use another flash drive to create a bootable Windows 10 Media Creation Tool (Windows 10 iso)
https://www.tenforums.com/tutorials/9230-download-windows-10-iso-file.html
https://www.microsoft.com/en-us/software-download/windows10
9)Move the bootable Windows 10 (MCT) (Windows 10 iso) to the applicable port on the problematic computer and boot to the flash drive
10)Open Windows Recovery Environment (RE) > troubleshooting > command prompt > type or copy and paste:
bcdedit | find "osdevice"
Take pictures > post images or share links into this thread
--please don't forget to upvote
and Accept as answer
if the reply is helpful--