Hi,
here I am going to described about how to remove a virus using command prompt
(CMD) and Notepad. Virus is a computer program that can copy itself and infect
your computer. These viruses can spread via Flash/USB or from one computer to another
computer by few written codes.
Ø “There are many antivirus software available to remove
viruses from computer. But there is some virus or suspicious files which can’t
be removed by any antivirus software.”
Ø
Some suspicious file such as autorun.inf initiate all the
virus in pc. These files must be removed for safe operation of your pc, because
they may lead to data loss, software damages etc.
Such virus and files can be removed by using CMD. Here we
will discuss how to remove a virus using command prompt. Following steps can be
used to remove a virus using command prompt from your computer.
Ø
Step 1: Go to start
menu and type “CMD” in the search box or start>all
program>accessories>command prompt.
Ø
Step2: Open the
infected drive such as write, g: to go to G drive.
Ø
Step3: Now type
dir/w/a. it will show all the files of the drive including hidden files.
Ø
Step4: Locate AUTORUN.INF
or any Virus and other suspicious files in the directory.
Ø
Step5: Type command
attrib-r-a-s-h- to remove attributes of corresponding file.
Type Del autorun.inf to delete autorun .inf file.
Ø
Step6: Now type del
virus name.exe t delete it.eg:del newfolder.exe.
You can
also delete virus by using following steps
“When
you find an autorun .inf file or any other unusual .exe file just rename it.”
Syntax for rename is (rename filename.extension new name.
for example: (rename autorun .inf virus) to rename autorun .inf file. Here I have
renamed it by “virus”
Ø
Now you can access the
defected drive without affecting the virus.
Ø
To delete the renamed file
go to the defected drive and select the file you renamed.
Now delete the harmful renamed files.
You have deleted that virus successfully but sometime virus
resides in the Recycler folder. To locate this folder.
Ø
Type cd recycler command.
Ø
Again type dir/w/a to
locate all file of the folder.
Ø
Identify malicious files
and delete then using above commands.
Note: Make sure that no other processes being running
while performing these action Best of luck.
Follow the above steps very carefully.
0 comments:
Post a Comment