Hello! I ran the disk cleanup tool as administrator on the computer (cleanmgr.exe):
And I checked all the boxes that appeared and it deleted them all. Then I restarted it. It was fine. On the second restart, the message "Updates are in progress. Please keep your computer on." came. And I didn't wait, I held down the power button and turned it off. This screen came up again at startup, but this time it was finished in a shorter time. After that, the following commands were problematic:
dism /online /cleanup-image /restorehealth (specific to cmd and powershell)
repair-windowsimage -online -restorehealth (specific to powershell)
These two remained at 62.3%. So as a complete solution, I deleted the location in the following folder: C:\Windows\SoftwareDistribution I deleted everything in the SoftwareDistribution folder. And I restarted it. And surprisingly, the update screen didn't come this time and I was able to open it without any problems. Then I opened disk cleanup again(as administrator) and checked that windows update was filling 200mbps. I didn't touch that this time. And I opened regedit and saw this key under HKLM: COMPONENTS and deleted it and rebooted. And the key was deleted and there was a problem creating the directory. So I rebooted again(The update screen never came during this time) then I ran this command in cmd:
sfc /scannow(I ran this but it scanned as %0 completed)
What it found was:
Windows Resource Protection found corrupt files but was unable to fix some of them.
Details are included in the CBS.Log file located at
C:\Windows\Logs\CBS\CBS.log
And then I ran the following in the administrator powershell:
repair-windowsimage -online -restorehealth(This also completed very quickly compared to normal)
Then I ran sfc again(And it scanned as %0 completed again.) And this time it said no errors were found. The screen was as follows:

Afterwards I ran dism /online /cleanup-image /restorehealth. And it became 100% (when the update was corrupted it remained at 62.3%, now it still took at least 5-7 seconds to reach 100%, it normally doesn't happen like this) Then I deleted the COMPONENTS key in HKLM in regedit again on the computer. When I ran dism on the 2nd reboot this was happening and it was being permanent. There was a problem creating the directory on the first reboot, this was fixed on the 2nd reboot. And let me also state that I didn't get a BSOD during normal boot or normal startup and I continue not to get one. However, the only images I notice on the system right now are these:

- [And dism completes very quickly from 3.8% directly to 100%.] +

I have never experienced anything like this. However, are the events I mentioned normal? I don't know that either. [NOTE: What I wrote is explained in the most concise way. And some extra non-critical scenes are not written, but a wrong problem is not written. Only clearly experienced events. And the reason for this needs to be explained.]
Best regards, MovelessMove.