Edit/Summary: I will not have physical access to the computer for the next month (it's at my parent's house and I live abroad), but from reading the comments, I believe a deep cleaning of the internals is a great suggestion, and I will as soon as I get back. I will also replace the MB battery, though the latter seems fine (read below for details). But if you have any proposed solutions that don't require physical access, please express them as I do have Teamviewer access.
I'm having a very weird issue where my computer instead of shutting down will blink for around 3-5 seconds (the sleep-state slow blink) and then it will start up/wake up again on its own. The same happens when I choose to "Sleep".
Things I have tried:
- Resetting Windows 10 using the Troubleshoot at boot
- Resetting BIOS settings to default (disabled wake on LAN)
- Updating all drivers. BIOS last official update Dec. 2015. Installed since early 2016
- Disallowing Wake Events to wake PC.
- Disabling Hibernate/Hybrid Sleep
- Checked all devices in Device Manager and disabled
Allow device to wake computerwhen available (only the LAN driver had such an option).
- Removed all cables except mouse/keyboard/monitor. (no wifi)
- Checked the physical Power Button
- Disabled Windows Maintenance Activator and manually ran the maintenance tasks
powercfg waketimersreturns nothing
powercfg -DEVICEQUERY wake_armedreturns NONE
- Unfortunately I had System Restore disabled so I cannot restore to a previous point
- Threw away my very weak UPS and connected directly to power strip
- Cleaned the graphics card because its position seemed kind of odd. Rest of the insides have been last cleaned in December
- Checked condition of motherboard battery: it's fine (after draining the capacitors and cutting power to the PSU for a minute, system time is still correct (50ms ahead)). I will replace it anyway when I get back.
The issue still persists.
When I run
powercfg /lastwake I get nothing useful (no wake source), and when browsing Event Viewer, I get
Wake Source: Unknown.
Now I'm simply out of ideas. Could it be some kind of motherboard issue? This computer is 10+ years old (battery works fine), but it has been running Windows 10 fine since it came out, and the BIOS was last updated 2015.
Edit: I believe this question is not a duplicate of the one suggested because of two reasons: - I have already read the whole post and the proposed solutions did not help my case. - The duplicate answer suggested has no mention of shutdown issues: only sleep is mentioned. - My issue occurs only seconds after sleep/shutdown regardless of time, suggesting that a scheduled task is not the issue. Therefore I believe that a different answer/solution is applicable.