Monday, 24 November 2014

How to remove a virus using command prompt(cmd)

Leave a Comment
we all know that a computer VIRUS is a malware program that, when executed, replicates by inserting copies of itself (possibly modified) into other computer programs, data files, or the boot sector of the hard drive; when this replication succeeds, the affected areas are then said to be "infected". Viruses often perform some type of harmful activity on infected hosts, such as stealing hard disk space or CPU time, accessing private information, corrupting data, displaying political or humorous messages on the user's screen, spamming their contacts, or logging their keystrokes.

However, not all viruses carry a destructive payload or attempt to hide themselves—the defining characteristic of viruses is that they are self-replicating computer programs which install themselves without the user's consent.

remove a virus using command prompt (cmd)


Many people waste a huge amount of money buying antivirus to delete these virus files. These softwares are costly and often slows down our pc.

So, Today i'm going to tell a method to remove a virus using command prompt. Follow the steps given below to remove a virus file using command prompt.

STEP 1:- Go to start menu and type “cmd” in the search box or Start>all programs>accessories>command prompt.

STEP 2:-Open the infected drive such as write , d: to go to D drive.

STEP 3:-Locate AUTORUN.INF or any Virus and other suspicious files in the directory.

STEP 4:-Type command attrib  -r –a –s –h to remove attributes of corresponding file.

STEP 5:-Type del autorun.inf to delete autorun.inf file.

STEP 6:-Now type del virus name.exe t delete it, eg : del virus.exe

That's it now you can remove a virus from your pc using command prompt.
please like and comment if the trick works for you.

0 comments:

Post a Comment