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 ...
A Quick Format will rebuild the file system, volume label, and cluster size. A Full Format will delete the files, rebuild the file system, volume label, cluster size & scan the partition for bad ...
Windows 8 has the ability to create a bootable USB flash recovery drive that can be used to troubleshoot a Windows 8 computer that is unable to start. A recovery drive is the same as a startup repair ...