This has been happening for a little while, and I can't come up with any conclusions. Playing a game, then my keyboard changes it's colors, makes the hardware connect and disconnect sound, pc ticks, and resets completely. Every startup it says scanning and repairing drive c, but I used a lot of commands like sfc and DISM, but it always says there's nothing wrong, except when i use the tool to check it in folders. Windows 10 is installed on drive c. My pc always has good temps and stays in range, so i don't know what else it could be.