I can hang PCs today with my bad code. Fix? I have find what I did wrong and fix that.
Here's the thing. There is no hang proof Windows yet. Given your story I can't guess if your PC or something installed has an issue. Try this. Use Windows 10 with as few changes or apps as you can.
My laptop that got window 8 has upgraded to win 10. But as of now i am facing problems as it get hanged. any solutions and suggestions are welcome.