Safely Format USB Drive infected with Virus

A USB Pen drive infected with virus should be safely formatted to prevent spread of infection across the computer systems before using it. An effective Antivirus software could be used to scan and clean the infected files on the drive. But, such effective antivirus may be required to be purchased, installed and configured to scan a pen drive before using it, as freely available antiviruses may not have such options to scan the drive before accessing its data.

However, there is a free and inbuilt solution to clean such infected pen drive without the need of a Antivirus software. The solution is to format the USB drive safely which is infected by virus to prevent damage to the current system in which it is inserted and all other systems in which it may be inserted for transferring files. You may format the drive by right clicking on the drive icon in File Explorer and format it but the virus may still persist that’s why it is required to format the drive safely. Formatting a drive safely means that the executable files present on the system should not be able to execute before the process of formatting is completed. The formatting process deletes and re-creates all the tracks and sectors on a disk which removes all references to existing files on the disk and the files are no more accessible. 

An Infected USB drive may contain virus in the form of executable files which may be set as Autorun.  Thus, as soon as the infected pen drive is inserted in the system, the auto-executable files will execute and harm the system. They may even get copied on the system disks and would be re-copied on the pen drive after formatting. These virus files which if gets copied on system will infect other pen drives also which are inserted in that system.

Thus, the most important task is to forcefully prevent execution of any such files present on the drive after inserting and before formatting. To achieve this, the Autoplay option for USB devices should be turned off before inserting the drive in the system slot. The Autoplay option can be turned off in USB settings in control panel.

It is a good practice to keep Autoplay turned off in all computer systems. Also, any USB drive inserted in the USB slot should be scanned before opening.

You can watch the following video for practical demonstration of the process:

The above video shows the process followed in Windows 10, however, the same process would also be available in previous versions of Windows Operating System. The user should search for the USB Autoplay option in control panel of other versions and turn it off before inserting the infected USB pen drive in the system.

Caution: This process will delete entire data on the pen drive, thus, the user should ensure back up of data on the pen drive is available to the user. If data is crucial then the pen drive should be scanned through a effective Antivirus Software only to prevent any losses of data in files present on the drive, however, the antivirus may still not be able to recover and rectify the errors caused to the files on the drive.

We hope the above information was useful for you. If you liked this article, click the Like button. If you find it useful, Share it with your friends. If you have suggestions for improvements, please leave your valuable feedback or suggestions as Comment.

Subscribe our YouTube Channel to receive latest Video updates. You can also find us on Quora, Facebook, Twitter, Tumblr and Reddit.

About Techsolveprac 17 Articles
A blogger and a YouTuber


  1. I have been surfing online more than 4 hours today, yet I never found any interesting article like yours.
    It is pretty worth enough for me. Personally, if all website owners and
    bloggers made good content as you did, the web will be much more useful than ever
    before. I like it when individuals come together and share ideas.
    Great blog, continue the good work! I’ll right away grab your rss as I can’t in finding your email subscription hyperlink or
    e-newsletter service. Do you have any? Kindly permit me understand in order that I may just subscribe.

  2. I’m extremely impressed together with your writing skills and also with the format for your blog.

    Is that this a paid subject or did you customize it your self?
    Anyway stay up the nice high quality writing, it’s
    rare to see a nice weblog like this one today..

  3. Just want to say your article is as surprising. The clearness on your submit is just spectacular and that
    i can suppose you’re a professional on this
    subject. Fine with your permission let me to clutch your feed to stay up
    to date with drawing close post. Thanks one million and please
    keep up the rewarding work.

  4. Nice blog here! Also your site loads up fast! What web host are you using?
    Can I get your affiliate link to your host? I wish my web site loaded up as quickly as yours lol

Leave a Reply