A couple months back, I built my first PC. I have been having problems with it since. A couple weeks ago I finally got it all working. I was doing some optimization on my computer (moving files, adding/removing programs, and using IOBit programs to optimize my computer) and had to restart a couple times, but there were no problems. The next day, my computer took much longer to start up, and when it booted up, nothing was working. The lights on my mouse were on, but the keyboard was off and the activity light on my card reader was off. I am completely unable to login to Windows. I then tried using a bootable Ubuntu USB to test if it was hardware or software, and it worked perfectly. I have changed the extensions of the backup and currently use files in C:\Windows\System32\Config to use the old files, but that doesn't work either. I have also tried windows startup repair and recovery, both of which didn't work. I have run out of ideas and don't know what to do, nor do I want to reinstall Windows. Any help would be appreciated. Thank you in advance.