I've been having issues on and off with this desktop ever since I got it, albeit somewhat minor, and seemingly unrelated. For example, I used to have issues with plugging headphones in and out of the headphone jack, or even pulling on the wire; it would cause my computer to freeze. It got to the point that an old pair of headphones I used to have would stop the computer from booting at all, and it would freeze on startup, but once I got a new pair it seems to have resolved itself and doesn't seem to freeze anymore in regards to that. Someone I knew mentioned the issue of everything not being grounded properly but I don't know if it's related to something else. I used to have to do a hard reboot every time. Somewhat recently I have had it just hang for a while when I am doing something somewhat minor, but usually while I am running a program that takes up a lot of memory usage. I usually have to wait 2-5 minutes for it to resolve and catch up to whatever I was doing. That also seems to be happening less frequently, although it still happens sometimes. I use a USB hub and Windows tends to alert me more that it could be running more efficiently if I plugged it in elsewhere, but I'm not sure if that has to do with memory usage problems or it's not really an issue at all. The hub is fine. My desktop also sometimes freezes after starting up, although not often. Also, this might be more of a software problem, but yesterday I let Windows install updates and when I woke up 6 hours later it was still stuck on update 11 out of 16. I figured it was hanging and just did a hard reboot, it started and went to the desktop, and froze again. I did another hard reboot. It ran chdsk, and when it started it seemed fine. There are no issues in the event viewer concerning my hard drive or any hardware that I can see.
I know this is a bit long, but does anyone know of what might be going on?