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 ...
This article will walk you through how to format your USB key on a Mac, Windows, or Linux PC. USB keys will sometimes display less memory than is actually available, even after the drive has been ...