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 ...
Launching the DiskPart is not a big task. You are just required to open the Windows command terminals, either the Command Prompt or Windows PowerShell with the administrative rights. In this ...