4 Easy Ways To Remove Autorun Virus From Pendrive or PC

It is very easy to Remove autorun virus from your pen drive or from your PC. In this tutorial, I am going to cover possible methods to Remove autorun virus.

What is Autorun.inf file?

You may see autorun.inf file in your pen drive or in your PC drives. It is not actually virus. This file has auto executable setup file and some other information related to your device. When you insert pen drive into usb slot, windows first execute this autorun file. Windows works according to the guidance given by the autorun file. You can find autorun.inf file in your ‘C’ drive also. For example your CD/DVD drive software must contain autorun file to execute functions automatically.

Windows first execute autorun.inf file. Because of this reason, attackers place virus in this file, so that they can spread virus easily to entire system. mostly attackers place worm virus in autorun.inf file.

Can I delete autorun.inf file?

Yes. You can delete autorun.inf file. Nothing will happen to your pen drive or PC, if you delete autorun file. When you delete autorun.inf file from pen drive, Windows will not open pen drive automatically. Of course, you can access pen drive files by going in to my computer. It is good practice to remove autorun.inf file from pen drive.

How to Remove autorun virus from pendrive or PC

You can not remove autorun virus manually. Because autorun.inf file may contain system, hidden, archive and read-only attributes.

When you want to delete any file which has any one of these four attributes, first you need to remove those attributes from the file. You can change file attributes by using command prompt.

Here I am going to show you possible methods to remove autorun virus from pen drive or PC.

Method 1 : Create Duplicate autorun.inf file

This method may work for older versions of Windows. It will not work in latest versions. If you have latest version, you can skip this method.

Insert your pen drive into usb slot. Open pen drive. Right click on space. Create a new empty text document with the name “autorun.inf”. Save the document, it will ask you to replace existing autorun file. Click yes. Now you have replaced virus autorun file with empty autorun.inf file. You don’t have virus now.

Latest version of Windows will not overwrite the existing file, instead it creates file with file name autorun(2).inf.

Method 2 : Remove autorun virus by using command prompt

It is the best method to remove any type of virus including autorun.inf file.

Insert pen drive in to usb slot. Just go to my computer and note down your pen drive’s drive letter (C or D or E or F or G). Just see below screenshot, here ‘G’ drive is my pen drive’s drive letter.

Go to start -> Go to Run -> Type cmd and hit OK -> Right click on Command Prompt and select “Run as Administrator. You will see command prompt window. Type,

Type G: and press enter

Type attrib -h -s -r -a *.* and press enter

This command removes hidden, system, read only and archiv attribute from all the files in ‘G’ drive. You can also use attrib -h -s -r -a autorun.inf to remove those attributes only from autorun.inf file.

Now type del autorun.inf and press enter it will delete the file. You can also manually delete the autorun file.

If you get any problem in this method, you can try the next method.

Method 3 : Delete autorun file in safe mode

Some times you may get “access denied” error after trying “attrib” command.

To solve this problem, just restart your system in safe mode. If you don’t know how to start system in safe mode,

Open your pen drive. Delete the autorun file. You can easily delete the file in safe mode. If you can not delete the file. Right click on autorun.inf file -> Click “Properties” -> Go to “Security” -> and Edit access permissions to “EVERYONE”.

Now restart your PC in normal mode and apply attrib and del command shows that in method 2.

Still if you see problem, then go for next step.

Method 4 : Use winrar and sdformatter

Open your pen drive with winrar. Copy all files from pen drive to your computer by leaving autorun.inf in the pen drive. Format the pen drive. You can use sdformatter to format pen drive instead window format option. Because this software even clears virus from your pen drive.

Related

About jinka varalakshmi

I am from Andhra Pradesh, India. I am the Administrator of this blog. We have latest discount coupons and deals from top software brands. Just see Deals Page to get most out of whatvwant. If you like my article, you can Follow me on Google,Twitter, Facebook.

Comments

I have a pen drive.
when i insert it in my laptop and format it after copy some movi.
then some movi is present in the pendrive.
but after the unplug from laptop.
whole data whose delete form pendrive automatically appear and movi whose copy form laptop is delete automaticlly.
that’s means my pendrive automatic reach reset.

Duplicate files deleter software helps you dash off some more space by eliminating copied or unnecessary files in bulk. This software gives forth truly what you would presume based on its name, and it does it effectively and quickly. You would not believe how much space it raids off.

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

Comment

Name *

Email *

Website

Yes, Subscribe me to WhatVwant Newsletter!

Notify me of follow-up comments by email.

Search Whatvwant

Subscribe to our newsletter

Sign-up to get the latest Tech.Tips straight to your inbox.

Name

Email

SUBSCRIBE!

Give it a try, you can unsubscribe anytime.

About Admin

I am Jinka Varalakshmi from Andhra Pradesh, India. I am the Administrator of this blog. I have habit of learning about new technologies. That made me to create this blog and to write what I learn. If you like my articles, you can Follow me on Google,Twitter, Facebook.You can also Subscribe to Whatvwant by Email for updates.