Removing virus without using antivirus program is possible but it can be risky task , how do you remove a virus or how do I delete a virus these are common questions and an updated , good quality antivirus can do this task easily. There are many virus programs which can harm your computer so the program for the virus , antivirus and Trojan removal can help you to remove virus from your computer . 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.Command prompt is best for many windows application like How to make windows 8 bootable USB or removing virus without antivirus.
- Command Prompt.
- Registry keys.
- Group Policy.
How to remove virus from command prompt
Each file and folder have the following attributes
- Archive A
- Read Only R
- Hidden H
- System S
-(Minus) sign before an attribute it means removing attributes and + (plus) sign mean giving attributes of 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 .This 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 .
If any file is not deleting rename it 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 .