Sunday, December 16, 2012

How to Remove Virus Without Antivirus

remove virus without antivirus 300x218 Easy step remove virus without antivirus using command prompt


Removing virus without using antivirus program is possible but it can be risky task.A person can delete all virus from a computer or memory cards without using antivirus if you know which files are needed for operating system or application software and which are virus part.
There are three methods for removing virus
1) Command Prompt.
2) Registry keys.
3) Group Policy.
How to remove virus from command prompt
Eeah file and folder have the following attributes
1)Archive A
2)Read Only R
3)Hidden H
4)System S
-(minus) sign before an attribute it means removing attributes and +(plus) sign mean giving attributes to the file or folder.
example ) attrib -r -a -s -h file.txt  this will remove all attributes from file.txt  and attrib +r +a +s +h file.txt  will give all attributes to file.txt .
If pen drive or other hard drive is infected by virus ,Command prompt is the best option.Follow the steps given below.
1)Go to the command prompt by start>all programs>accessories>command prompt or press windows key+r and enter cmd .
2)Go to the drive where you want to delete virus example write d: to go to D drive .
3)type attrib -r -s -h *.* /s /d and press enter .
4)press dir /a .
5)delete all the .inf , .exe , .dll , .log extension file if they are not your files by using dos del command .
example)
del autorun.inf
if any file is not deleting rename that file by rename command
Example) rename dst.exe ms.bak this will rename dst.exe to ms.bak
Now Your pen drive is virus free .

No comments:

Post a Comment