Like I said it's a store bought Cyberpower tower but here is what Windows says:
CPU Intel i7-8700
MB Asus Prime b360m-a
Ram 32
GPU Nvidia 1060
Windows 10 Home
Monitor Asus
PSU generic
SSD generic
I did this: To stop your Windows 10 computer from automatically restarting on errors, go to your Control Panel, navigate to System and Security > System > Advanced system settings, then under Startup and Recovery, uncheck the "Automatically restart" option in the System Failure section.
However, I used eventvwer.msc and got this critical error but there are no codes:
Critical: The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly. I have the computer on battery backup so it didn't lose power.
I do have two other errors also, but they are not critical.