1
I recently encountered the problem that Windows 10 hangs on restarting and shutdown. I have to turn off the machine my the power button. I also can't launch Windows task manager. I've tried a safe mode boot and startup repair but that hangs. I recently tried to run AVG PC tuneup's check disk but had to cancel it half way through. Whenever I try and access the hard disk through file explorer I get a message saying that Microsoft Windows is not responding. If I click end task it shows a black screen with a cursor and nothing else. This might be down to me writing a windows application in C++ as I specified the window destroy option return to be 1 instead of a safe exit with 0. So I'm worried that Windows has a memory leak or something. What can I do to get my computer working again?
1
No return code can "destroy Windows". Seems like a problem with Windows or a virus infection. Try: (1)
– harrymc – 2019-04-14T17:30:56.683chkdsk
, (2) sfc /scannow, (3) Speccy to add in your post the SMART data of the disk.Cheers Harry, managed to boot to safe mode. I was getting "not enough resources to run Microsoft Windows" at command prompt before safe mode. Sfc /scannow would not run in Windows proper because I couldn't open cmd with administrative rights. Sfc /scannow is running in safe mode, just hope there's enough memory to complete. I'm going to run chkdisk afterwards since I was trying to run AVG's version of that. I doubt this is a virus. I think I messed about when programming with things I didn't understand. – Samuel Alban Meachem – 2019-04-14T17:39:25.830
I don't think a user-mode program can destroy Windows in this way. If you are almost out of disk space, free some. Windows needs a few gigabytes to be free. If nothing is found, the only solution would be to do Repair Install.
– harrymc – 2019-04-14T17:44:42.430Okay sfc /scannow didn't return any problems. – Samuel Alban Meachem – 2019-04-14T17:46:08.053
I have 32gb free of about 500gb – Samuel Alban Meachem – 2019-04-14T17:47:00.923
Chkdisk /f is now running – Samuel Alban Meachem – 2019-04-14T17:49:44.400