Formatting Infected Pendrive Forcefully.
Sometimes when we connect our pendrive to a virus infected device, it gets infected. As a result, some files are created automatically inside the pendrive that cannot be deleted when we try to format it. Moreover, virus may also partition the drive the automatically. This problem can be solved by the following method.
-
Go to search option and type
cmd. You should seeCommand Promptoption in the dialog box. Right click on the option and selectRun as administrator. -
On the command prompt window type
diskpartwhich will turn on theDISKPARTprompt. -
Type
list diskon the DISKPART prompt. It should list all the available disks. Find out the drive you want to format. Note: Be careful when you select the drive. Once you perform the operation, it cannot be undone. -
Type
select disk disk_number(e.g., select disk 1). The disk number represents the drive you want to format. -
Type
cleanand hit enter. -
After that type
create part primaryand hit enter and finally typeactiveand hit enter.
Voila! Your pendrive should work just fine now. Exit the command prompt and check the pendrive again.
Enjoy Reading This Article?
Here are some more articles you might like to read next: