Hi Tom. I'm Greg, an installation specialist, 10 years awarded Windows MVP, and Volunteer Moderator, here to help you.
Please do not respond to the tech support spam phone number which I just removed from the thread.
This can happen automatically if WIndows was hard shut down from holding the PC power button. If not then it can be due to disk errors being detected by a SMART check which triggered doing a full Disk Check. When it won't complete this is not good, and usually means it's gotten stuck while trying to move data off a sector to repair it.
In this case before doing anything else if you have files that are not backed up, try to rescue them using one of these methods: http://answers.microsoft.com/en-us/windows/wiki.... Your files are never safe until backed up because a hard drive can die at any time without notice.
Then using the same Command Prompt from Repair Mode or Boot, run a full proactive Disk Check to see if it will complete:
https://www.raymond.cc/blog/running-a-check-dis...
Then run DIsk Diagnostics to know for absolute certain the condition of the drive:
https://www.lifewire.com/free-hard-drive-testin...
https://mashtips.com/ssd-health-test-and-perfor...
HP and Dell have hardware diagnostics triggered by tapping the ESC or F12 keys respectively as you power on.
Best is to use the HDD/SSD manufacturer's own if there is one, otherwise use Seatools bootable long test: http://blog.nowherelan.com/2013/04/04/boot-seat...
If the drive is failing, I'd replace it with an SSD which is the best Upgrade one can have - lightning fast, faster than a new higher-end PC without one - especially if you do the gold standard Clean Install in this link which compiles the best possible install which will stay that way as long as you stick with the tools and methods given, has zero reported problems, and is better than any amount of money could buy: http://answers.microsoft.com/en-us/windows/wiki...
If the diagnostics and DIsk Check complete with no errors remaining unfixed but the DIsk Check keeps repeating then there is a fix for this here:
https://www.thewindowsclub.com/check-disk-runs-...
I hope this helps. Based on the results you report back I may have other suggestions if necessary. If you will wait to choose whether the problem is resolved, then I will continue to help until the problem is fixed.
___________________________________________________
Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.