Step1: pressWindows Button + r then type cmd in it and press
enter.
Open Infected drive such as write eg:,E:to go E drive.
Now type "dir/w/a".
It will show all the files of the drive
including hidden files.
Locate your virus file name i am using AUTORUN.INF.
Type commandattrib " -r
-a -s –h" to remove attributes of corresponding file.
Now type del virus
name.exe t delete it eg: : del newfolder.exe
and you are done, you can also delete viruses by using
following steps:
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 “virusfile”.
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, and delete it.
You have deleted that virus successfully but sometimes 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 them using above
commands.
Note:Make sure
that no other processes being running while performing these actions.
No comments:
Post a Comment