This article explains the automatic repair options in Windows.
How to Fix Automatic Repair Loop in Windows 10 – Startup Repair Couldn't Repair Your PC
Depending on the version of Windows you are running, there are several ways to automatically repair major problems with the Windows operating system without having to use a destructive process like Reset this PC or a clean installation of Windows.
The latest versions of Windows offer simple, automated solutions to problems that you tried to fix manually but couldn’t. Examples include random error messages, general slowness, or even problems that prevent Windows from starting at all.
It's a hodgepodge of older versions of Windows, with some automatic fixes for certain types of problems or all-or-nothing repair processes that, while sometimes seem overkill, are certainly welcome when you need them.