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?
2 Answers
It seems like the problem was some operating system settings that were modified by the AVG anti-virus.
My recommendations is not to use AVG. I have also had it once destroy half of my Startup menu, so I don't trust it any more.
Windows Defender has enormously improved and is now a quite good anti-virus, so you don't need a third-party product. And Windows Defender will never destroy the Windows setup.
-
I accidentally put some programs back to sleep and now I can't run AVG tuneup. What an awful piece of software. AVG should be ashamed. Apr 14, 2019 at 19:35
-
Also had user profile log on service not available briefly. Terrifying. Everything appears to be fixed. Thanks you Harry and Moishe for your helpful suggestions. Apr 14, 2019 at 19:53
Unless your Windows C++ application runs at startup (if it does, remove it), a clean (not hybrid) restart should eliminate that issue. If necessary, try the following:
- Press WindowsR
- Type
cmd
and press CtrlShiftEnter to get the CMD prompt as Administrator. - Enter the following two lines to shut down completely:
powercfg -h off
shutdown /s /t 0
However, has Windows 10 updated? A number of issues have been found with the April update, as well as recent others.
There are a number of solutions for the multiple issues, such as booting into Safe mode and removing the update (though MS will try to reinstall 'em), or uninstalling the non-MS anti-malware suite (unsafe).
-
The C++ program is just an application it doesn't run at startup. After I've checked the C drive for errors, I'll do this if it won't restart or turn off. I think the main problem is Windows just crashing when doing basic things now and running out of memory. Apr 14, 2019 at 17:51
-
I also think my version of Windows 10has updated recently... Maybe it's just a recent bug. Apr 14, 2019 at 17:54
-
32 GB may not be enough... empty Recycle and delete some unneeded files to give more room. Apr 14, 2019 at 17:56
-
-
Okay, I've performed those commands as you suggested. My laptop appears to be hanging on shutting down. Apr 14, 2019 at 18:12
chkdsk
, (2) sfc /scannow, (3) Speccy to add in your post the SMART data of the disk.