My system:HP All-in-One 27-cb0036ns Bundle All-in-One PC (6K6Q1EA)
AMD Ryzen 7 5700U with Radeon Graphics
Windows 11 Pro 24H2
My problem is that the system keeps crashing and restarting.
I updated all the drivers.
try doing a SFC scan and DISM scan in your command prompt. You can google how to do them. Sounds like you got corrupt windows files.