Ahmed Yassin you are a God amongst men... Well, maybe a Demigod!
I have a Lenovo Thinkpad running 64bit Windows 10 and some time several weeks ago it just started refusing to allow me to bring windows to the front - less of the randomness described above, more just a case of anything behind anything else refusing to come
forward.
I used this fix early last week and my computer seemed to work perfectly! I wanted to give it a chance to prove itself before saying thanks so apologies for not giving kudos sooner but this does work... that is, it did work - until today.
This morning, I was experiencing the same issues, however following the same steps a second time seems to have solved the problem again after a reboot. I do not know why my computer reset the change back to Hexadecimal but it seems while this is a fix, it is
not a 100% permanent fix. That said, occasionally resetting the registry entry is a LOT less frustrating that always having to minimise half a dozen windows to get to the one you want...
Thank you Sir!