How to Remove Virus from your Computer With command prompt Without Using Any Antivirus ?
Go to start -> type cmd -> once your command prompt window is opened.
select the drive form which you want to remover virus
for example we take "D" drive
D:\>
your "D" drive will be displayed like this on your command prompt window.... Now write the following command...
D:\>attrib -s -h *.* /s /d
the above command will unhide each and every single file on your "D" drive including the virus exe's and autorun.inf file.
once the above command is compiled again you'll see a message
D:\>
this is indicates that the above command executed successfully... Now type "dir" command
D:\>dir
and press enter, DIR is used to list all the files and directories on present on "D" drive....
After the successful execution of DIR command, all the files and folder will be listed on the prompt window...
Now check for suspicious files (i.e. exe's) and autorun.inf files,
once you find the above files.... just rename them and do change their extensions...
look example
D:\> rename autorun.inf abcde.pqr
this command will rename autorun.inf file to abcde with extension as "pqr"
same action can be performed over the exe files.
This code can be used with external storage media like pendrive.
NOTE: As autorun.inf files are used in order to run the virus exe as
soon as the directory is opened by the user... So whenever you find any
autorun.inf file, just rename them, because they are more dangerous than
the virus itself,
exe file cannot execute itself, either you need to click on it or autorun.inf files are used to execute them.
If you find it useful please share.
Related Posts: Basic Tips,
Windows Hacking
0 comments:
Post a Comment
Note: only a member of this blog may post a comment.