How To Remove Viruse Without Antivirus Program ( Using Command Prompt ) - My Tech Lab

3 Sep 2015

How To Remove Viruse Without Antivirus Program ( Using Command Prompt )


A computer virus is a malware program that, when executed, replicates by inserting copies of itself (possibly modified) into other computer programs, data files, or the boot sector of the hard drive; when this replication succeeds, the affected areas are then said to be "infected"
Most  computer viruses are designed to execute on their own on system startup. They are easily found with name extensions as ".exe" or "autorun.inf"

Autorun Virus Exploits into the Windows OS whenever an External device containing Autorun Virus is pluged in to Windows PC and Autorun is Performed, Then the Autorun.inf will be executed and replicates copies of this Autorun.inf file and .exe files too. This creates a serious mess with files. The following steps below will guide you to remove this autorun viruses from your PC using CMD.

 How To Remove Autorun Virus Using CMD

Before we begin, please note that all text commands in this post are to be
typed without quotation marks("")

Step 1. Head to the start menu on your computer and type "cmd" or
"command prompt" Open with administrator privileges by Right-clicking
and selecting the"Run as administrator"

Bonus Tip: How To Remove Shortcut virus and Recover your files created By Shortcut Virus

Step 2. Select the drive affected with the virus by typing in the drive
letter say "C" Don't press ENTER. If you are not sure of the drive letter,
Go to "my computer" to verify.

Step 3. Type "dir" and then followed by Step 4. dir lets you see the content
of the drive you just selected

Step 4. Type "attrib -s -h *.* /s /d" and press ENTER. at this point the command prompt
display all the files on your drive. Make sure you look out for executable files.
In other words, files with their names ending with ".exe" or
Those files are in no doubt the suspicious virus files.

Step 5. We can now proceed to removing those files from you computer drive if
you found some from the display. To do so, copy the program's name and location
on the drive and paste it in a notepad document or wherever possible so we can
access when we need it.

Step 6. Now for you to be able to access/locate the file in its location on the
drive, you need to rename them into something you can remember. To do so,
Type "rename autorun.ifo rar" where "rar" in this case is my recognizable name.
NOTE: for the purpose of this article I chose to rename the autorun.ifo. you
can as well name the .exe files too.

Step 7. Go to your infected drive from the My computer icon. Now copy back the
directory name and paste it into the address bar of the opened window to
locate the virus(es).

Step 8. Right-click on the file you renamed above in Step 6 and delete it.
Do same for all the "virus files" you located and delete them.

You have now Removed those viruses without using an antivirus program.

Join our Facebook Page Here

Tags: Android, Tutorials, I.T News, Phone Tips, Reviews, Computer tricks, Security

No comments:

Post a Comment

Let's Hear From You Here
Your Comments, Views and questions are warmly welcome.

Subscribe to

Join Us On Facebook