Best steps to remove virus from your Computer using command prompt
Have you ever think why
virus is still in your computer even after scanning through it with anti-virus
severally? Continue reading to find out why.
We all know the kind of
damage virus do to our important files/documents, and that is why you learn how
to remove virus from your computer. This method does not required anti-virus,
but we’re going to achieve this with command prompt using few line of codes.
Don’t panic, you’re not
going to learn how to code, it is just a simple line of codes that I will, then
all you need is write them in your computer command prompt and you’re good to
go.
If though you master how to
remove virus from your computer using command prompt, it is advice you still
install anti-virus software and scan your operating system once in a while.
Doing this, you’re not just depending on one method.
Before I take you down the
steps, there certain things you need to understand, first, we’ll scan to see if
we can find any missing or hidden files.
In window system, the C:/
drive does not met to have file such as .exe and .inf
And C:\windows\system32 is
not as well met to have hidden or read only files. Example; S H R files
Now that we know the kind
of corrupted files making our operating system to have, we need to find them
using the “attrib” to check for the files in the above mentioned places.
Step 1: open your command
prompt and type in “cd” just after system32>, then hit the enter button on
your keyboard, and a new line will automatically start, “C:\>”, type in
attrib and hit enter to see if you have “.exe” in C root.
Example;
C:\>cd
Check he image below
I found sscv.exe and
auorun.inf that is not supposed be in “C” root. So next is to delete them.
Step 2: from the C:\>,
type in attrib as you did initially, after typing in attrib, give space and “–s
–h –r –a –i autorun.inf” then click enter and type in “del autorun.inf” and
click the enter key for the very last time.
Now you’re done deleting
it, repeat same method with the sscv.exe file.
Let’s now check the
system32. As always, anytime you hit the enter key, new line will automatically
start, now type in “windows/cd system32" and click the enter key as usual.
Again type in attrib then press the enter key and countless amount of files
will pop up with their extension.
example;
C:\>windows/cd system32
Note: always try to run the "attrib" command for like 3
– 4 times.
Check for any file as S H
R, if you find any; write them out as we’ll be deleting one after the other.
After you’ve written all the S H R files, type "attrib" “–s –h –r –a
–i atr.inf” and you type in the delete command on the next line.
Example;
“C:\>windows/system32/del
atr.inf”
Press the enter key and
you’ve successfully deleted atr.inf file from system32. Now delete all the S H
R files you’ve taken down using same step. Cross check again to see if there
are still S H R files in the two directories.
Drop a comment if you find it difficult to understand any part of this article.




Comments
Post a Comment