My USB keyboard and mouse had both stopped working during the middle of an online game I was playing. I use a USB WiFi adapter that remained to work, so that is how I know that not all of the USB ports had stopped working at once. After 5 minutes of waiting for the USB's to respond, or turn back on, I gave up and held the power button down to shut off my computer, expecting that it had bugged out or whatnot. I turned my computer back on, and my fans had begun to spin, and the led's that accompanied them turned on. Although this had happened, nothing was displayed on the monitor, and my USB keyboard and mouse had not lit up as they usually do. I shut the computer down, and on the second time it booted. It took about 5 minutes to see a display on the monitor, and everything was normal, besides the fact that my mouse had not worked, but me keyboard seemed to act just fine. I tried different USB ports to plug the mouse into, but it would not work in any of them. I did the same for the keyboard, and the keyboard had worked in every single port. I looked up a solution online, and I saw several people say that simply reinstalling Windows fixed the problem for them. I navigated through the computer only using the keyboard, and reinstalled Windows. Everything went fine until I came across the setup menu for Windows (Enter your name, date, location, etc.) My keyboard had stopped working. I relocated it to different ports, but each time I would plug it in, it would light up for only a second, and then shut off again. I am still stuck at this problem, and any help I can get would be greatly appreciated. Please keep in mind if responding that I can not access the computer through clicking, typing, or pressing the F-Keys on startup. Thank you.