All this is assuming you can still boot into Windows 11/10 in a regular way. If you cannot, the only way is to use a bootable USB drive. You can then use the advanced recovery. Reset Windows Format ...
Here E is the letter of the USB or external drive – or any drive for that matter – where you would like to scan for errors and repair the errors if found. So make sure you replace it with the correct ...