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 Prompt
option in the dialog box. Right click on the option and selectRun as administrator
. -
On the command prompt window type
diskpart
which will turn on theDISKPART
prompt. -
Type
list disk
on 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
clean
and hit enter. -
After that type
create part primary
and hit enter and finally typeactive
and 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: