I bought a Dell laptop last month and recently noticed that my power options were not working like 5 minutes until the screen dims and 10 minutes before it turns off. Then yesterday I noticed I couldn't select anything in the Start menu before it would close on me. In certain areas I couldn't type without being over written as if I selected the text prior to typing. I also noticed the currently active window's borders blinking. After researching online and trying everything including checking for missing or bad system files and creating a new user profile, I tried disabling every service and then turning each on one at a time. From the start I knew it was a Microsoft service because I had turned everything else off and left those on and the symptoms were apparent.
I ended up narrowing the service to Shell Hardware Detection. Turn it off, all is good. Turn it on, all is bad. But I was skeptical so I went one step further. I have 2 USB devices plugged in - wireless mouse and USB drive. Both have been plugged in for weeks with no issues, so I tried anyway. First, I removed the wireless mouse adapter. Same thing occurs, so I removed the USB drive. Bingo! Everything works even with SHD turned on. To verify it really worked, I turned everything on and still no issue. Since then, all my issues went away.
So before you disable SHD, make sure to remove all USB devices, including mice and keyboards and wireless adapters. Nothing should be plugged in.