Hi everyone, and thank you in advance for your help.
About two weeks ago, my Windows 10 computer received the Anniversary Update. When it rebooted after the update, a bunch of programs weren't working properly anymore (probably because they're old, I had some registry hacks, etc.), so I told it to restore the previous version in the Settings menu (I don't remember the exact language, and the option isn't there anymore). This just sent it into a loop where it would start booting, say something like, "restoring previous version of operating system", then reboot. It would loop like this every 15 seconds, and I left it running at least 4 hours before I gave up on it booting up again.
Since then, I got into the boot menu, backed up some of my files from the command line, then wiped the partition and reinstalled Windows 10 from scratch. I've reinstalled most of my programs, moved my files back, and mostly gotten it up and running again. However, there's still one significant problem I've been unable to fix since I reinstalled Windows.
If my computer has only been "awake" for an hour or so, it goes to sleep without any problems. However, if it's been on for longer (I don't have an exact timeframe, but it always seems to fail if it's been more than three hours), it doesn't go to sleep properly.
Normally, when my computer goes into sleep mode, the screen goes dark, then after a few seconds, the lights on the Airplane Mode and Mute buttons go out, and the Power button starts slowly fading on and off. This is the expected behavior. But now, when I put it into sleep after too long, instead after the screen goes dark, the lights all stay on for over 30 seconds, then the power light starts blinking. Instead of slowly fading in and out, it goes completely dark for about one or two seconds, then flashes on for a fraction of a second. It does this four or five times, then everything turns off. When I try to wake it back up, it just boots up like it shut down.
When this happens, I get a Critical Error in the Event Viewer, "Event 41, Kernel-Power", though I'm given to understand this is a very generic error message, and the bugcode is zero. Still, I've attached the XML from the Event Viewer in case this is useful. Also attached are the perfmon and Sysnative logs from the BSOD posting instructions, although I've never actually seen a BSOD from this issue.
My OS is Windows 10, Anniversary Update, 64-bit. The full version number is "10.0.14393 Build 14393". My computer originally came with Windows 8 on it, but I upgraded to 10 as soon as I got it (the free upgrade they offered last year), and have since installed Windows 10 from scratch (I believe on Thursday November 3, 2016).
The computer is an HP Probook 450 G2 (resolution 1366x768...) laptop purchased in August 2015. CPU is "Intel® Core i3-4005U CPU @ 1.70GHz". Google indicates that my computer has a CPU-integrated video card, which is just described by the computer as "Intel® HD Graphics Family". BIOS Version is 2.7, mode is UEFI.
As for my computer literacy level, I've edited the registry a few times, written a good number of C++ programs, and I can navigate the command line with some Google assistance, but clearly there's still quite a bit I don't know.
Once gain, thank you for any help you can offer!
EDIT: I should mention that this happens no matter how I enter sleep mode. It happens if I go through the Start menu, or if I use the power button or sleep button while they're configured to put the computer to sleep, and whether or not the computer is plugged in to the charger.
Edited by turtleman579, 12 November 2016 - 08:29 PM.