I have a PC (Intel i5-6500 CPU in a Gigabyte GA-Z170N-WIFI motherboard) that was running Windows 7 fine for 5+ years, but after a clean install of Windows 10 has seemingly endless shutdown/sleep issues.
Occasionally, it can shutdown or sleep successfully, but often it fails in a consistent way: the screens turn off, but the PC's power LED stays lit. It then doesn't respond to any input (even the hard reset button) and I have to hold down the power button (or disconnect AC power) to power down.
I also tried installing Linux (Ubuntu 23.04), which (like Windows 7) is able to shut down every time without any issues.
The system also randomly freezes under Windows 10 (but never under Windows 7 or Ubuntu), which may or may not be related.
I have tried every suggestion I found online, including:
- Fresh install of Windows 10 (again)
- Repair install of Windows 10
- [EDIT:
Dism /Online /Cleanup-Image /RestoreHealth
followed by]sfc /scannow
- Windows 10 Power troubleshooter
- Every combination of BIOS/UEFI settings I can think of
- (Although Windows 7 and Ubuntu both work fine with the same settings)
- Every combination of enabling/disabling hibernation and enabling/disabling fast startup and enabling/disabling hybrid sleep
- Reinstall all drivers for all devices from the manufacturer's website
- Update all drivers for all devices
- Enable/disable all "Allow the computer to turn off this device to save power" checkboxes in Device Manager (particularly IMEI and USB hubs)
- Shutdown/hibernate from cmd using
shutdown /f /s /t /0
orshutdown /s /t /0
orshutdown /h
- DDR RAM test (memtest86)
- Stress test the CPU/GPU/DRAM/PSU
All I can really conclude is:
- Hibernating and restarting work consistently.
- Sleeping and shutting down fail often.
- The freezes seem to be random (but there was never a freeze during many hours of stress tests - freezes tend to happen during much lighter workloads).
I have really exhausted all my ideas. Could anyone help me to even start diagnosing what is going on?