[SOLVED] Forcefully format Win10 drive

Sep 8, 2021
32
1
35
Hello,

It seems like there was a virus on my old PC which I cannot get rid of (cannot even kill the processes with processhacker, doesn't let me uninstall etc) so I wanted to reset my windows machine. However, this doesn't work either. It also restricts my access to windows defender. Is there any way I can force-wipe my drive without connecting the drive to another PC?
 
Solution
Is there any way I can force-wipe my drive without connecting the drive to another PC?
Boot from windows installation media,
go into command prompt mode (by pressing Shift+F10)
clean your drive (with diskpart clean method),
diskpart-windows10-command-line-4.png
reinstall windows.