You format the C: drive while Windows is running on it. You must boot from external media (a USB installer).