Forum Discussion
How do you clean the MBR on removal drives.
I can't remember what the command was. Trying to get rid of trojan, but also need to clean all my USB drives.
I'm noticing all information seems to have been removed or moved so far down the list it's not visible anymore.
All of them return UEFI, and nothing on cleaning MBRs on removal drives. UEFI is unreliable (as far as I can tell). The hackers are better getting in than UEFI is at keeping them out.
3 Replies
- jamesehenCopper Contributor
If you just want to clean the MBR on a USB drive, the quickest way is to use Diskpart in Windows. Open Command Prompt as admin, run:
diskpart
list disk
select disk X (your USB number)
clean
exit
This wipes the MBR completely, then you can reformat the drive. Just be careful to pick the right disk because it erases everything.
- stusstowIron Contributor
Have you fixed?
- HutsellIron Contributor
On Windows you can wipe the MBR of a removable drive with diskpart.
Open an elevated Command Prompt, then:
diskpart
list disk
select disk <number of your USB drive>
clean
exit
⚠️ Warning: clean will erase the partition table and all data on that disk. Double-check the disk number before running it.If you want a full overwrite (not just removing the partition table), follow up with a format or use clean all to zero the entire drive.