How to format virus infected and unformattable Pen drives

How to format virus infected and unformattable Pen drives

Pen drives are very popularly use in now a days for interchanging and data in between computers and even Tablet. So increase in use of it simply increase in their error and difficulties.

How to format a pen drive

  • Why formatting of Any Drive fails?

The reasons behind fail in formatting of any drive is may be either some hardware damage inside it or any file/s which are stored in the drive are being used by the same systems which we try to format it. The main reason is second one and it usually happened due to virus problems.

  • How to Format the virus infected, Unformatable Pen Drives:

There are two methods by which we can format the pen drives forcefully.

  1. 1) By Windows formatting and using software Unlocker:

This method is quite simple and very easy to do.

Step 1:

Download and Install the Unlocker software.

Download it from here. :


Right click on the Flash drive icon which you want to format and giving error like this or any other error due to virus.

Error in formating the pendrive

Now click on Unlocker  and select unlock All as shown below.

Unlock all process to format pendrive

It also will show the files that are under used from the same drive. In your case these files will be viruses.

Step 3:

After that use your normal procedure i.e. right click on the same drive and select “Format”. And it’s completed.

  1. 2)  By CMD formatting method:

This method used Command prompt to format the Flash drive.

Step 1:

Open Cmd by start—Run—“cmd” or in windows 7 start—type “cmd”

Step 2:

Type as: format<space>”your drive letter””:” and press Enter twice.

For example suppose my drive is F then I will type “format f:” without quote

Step 3:

Now cmd will ask name of the drive. Enter the correct name of drive and press enter.

Your Pen drive is now formatted. Now no more virus in the drive.

 Share on Google +

Join Our Newsletter

Join over 5,000 people who get free and fresh content delivered automatically each time we publish.

About Tushar Thakur

Tushar is founder of Xtendedview. He love to experiments on different gadgets, software/apps. He is professional blogger and Internet marketer. He is Interested in electronics and computers, Internet technology, Search Engine Optimization, Internet Marketing. Running online business and Blogs

Tushar has written 178 awesome articles for us.


  1. Deepak Kr. Das says:

    Thanks Tushar!
    Very informative post written in an interesting manner. I ‘ve just formatted my drive using ur method and it saved me 100 INR. Thanks again man! I’ve bookmarked ur site. Can I also use this method to format Micro SD Card because it says: Fat Alloc Error, everytime I try to format it.

  2. Thank you for this informative article!:)

  3. good day, i have a problem with a 32gig pen drive, i can brows the pen drive but all the folders is in funny language i dont understand, when i try to format the thing it tells me the pen drive is write protect, even in management when i try to delete the partition. in my computer it shows that the pen drive is full, i can not run scandisk on it cause i am getting the same write protect error, on the pen drive is no buttons or anything to switch off write protect it is a sealed unit, what can you sugest i can do..

  4. chris sanjiv xavier says:

    Hi , I downloaded the ‘Unlocker’ and when i tried to use it , that is after step 1 when i right clicked the pen drive folder and clicked unlocker , I got the error as follows:-

    ‘No Locking handle Found’ . Please help me out with this situation.


Speak Your Mind


CommentLuv badge

Previous Post:
Next Post: