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 ...
I tried to reformat my USB drive with HP USB Disk Storage Format Tool, but it says that there is no media in the specified device. It doesn’t even display total size and the free size of the USB. Then ...