Type diskpart and press Enter. Accept the UAC prompt.
Wait for the list of disks to load. Identify your target drive by size and label.
Type select disk X (replace X with your disk number). Example: select disk 2
Type cmd in the search bar. Right-click Command Prompt → Run as administrator .
Now you have all the knowledge to safely and effectively format any drive in Windows 10. Always double-check the drive letter before clicking “Start.”