Use the System File Checker tool to repair missing or corrupted system files - Microsoft Support
https://support.microsoft.com/en-us/windows/using-system-file-checker-in-windows-365e0031-36b1-6031-...
found and fixed corrupted files. running smooth now
so the real question is WHY are your files getting corrupt?
Check your SSD's for firmware updates .. especially if they are Samsung drives
Because I bought crappy PNY drives and also installed Windows 11 on unsupported device, Had a couple crashes until I got it tweaked.