Home » PC Tips » Format Virus Infected USB / Pen drive Using Command Prompt

Formatting Pendrive by usual method (Right click –> Format) doesn’t remove some harmful virus. By following the below steps you can remove all the harmful virus in your USB drive without any antivirus software.
  1. Insert your Pendrive to be formatted into USB port.
  2. Open MyComputer and check for the USB drive letter followed by colon(:) and note down in your mind.
  3. Open Command prompt through RUN command (Window key + R) then type cmd in RUN command and press OK. ***Command Prompt window will be open
  4. In that type Format G: Eg: C:usersdinesh>format g:
  5. Now Command prompt verifies your system and ask you to press Enter. Then Formatting your Pendrive starts. (It takes some minutes)
  6. It asks you to enter volume label If none press Enter.
Yeah! You have removed virus from your Pendrive.
Note: You can also format any of your disk (like C: , D: , E: , ).
Thanks for reading with us please share with friends and drop your comment.
READ ALSO  How To Get A Better Battery Performance On Android Devices


  1. hassan says:

    thanks for dropping such a useful post.

  2. Welcome @hassan happy sunday

  3. hassan says:

    this is a nice way of wiping out virus from USB, thanks for sharing

  4. hussaini says:

    Thanks for the informative article

  5. hussaini says:

    Thanks for the informative article

  6. hussaini says:

    Thanks i find this post very helfull

  7. hussaini says:

    Thanks for your informative update, love to see more on this blog

  8. hussaini says:

    What a way by which usb infect virus ,am gona foward this link to my brothers

Leave a Reply

Your email address will not be published. Required fields are marked *


%d bloggers like this: