Latest Updates

Sunday, 11 January 2015

How to Remove a Virus Using Command Prompt Easy And Effective Way To remove Virus

Dear TechyFreaks  readers today I am going to tell you How to Remove a Virus Using Command Prompt
Virus is a computer program that can copy itself and infect your computer. These viruses can spread via USB/flash drive or from one computer to other computer by few written codes. There are many antivirus software available to remove viruses from computer. But there are some viruses or suspicious files which can’t be removed by any antivirus software. Some suspicious files such as autorun.inf initiate all the viruses in pc. These files must be removed for safe operation of your pc, because they may lead to data loss, software damages etc. Such viruses and files can be removed by using cmd. In this article we will discuss how to remove a virus using command prompt. Following steps can be used to remove a virus using command prompt from your computer.

READ THIS:-How To Send Free Text SMS to Any Number Using Gmail

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

  • Open the infected drive such as write , g: to go to G drive.
  • Now type dir/w/a . It will show all the files of the drive including hidden files.



there was no virus in my drive so only autorun.inf is been highlighted.
  • Type command attrib  -r –a –s –h to remove attributes of corresponding file.

Type del autorun.inf to delete autorun.inf file.


  • Now type del virus name.exe t delete it, eg : del newfolder.exe .
(You can also delete viruses by using following steps:
  • When you find an Autorun.inf file or any other unusual .exe file just rename it.

READ THIS:-
Top 10 Ways to Hack Facebook Accounts

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 “virus”.




Now delete the harmful renamed files.)
You have deleted that virus successfully but sometimes virus resides in the Recycler folder.To locate this folder:
  • Type cd recycler command.



Follow the above steps carefully and i think this information is enough to remove a virus using command prompt easily.
Important: Make sure that no other processes being running while performing these actions. Best of luck.

==================================================================
                          This Article was Written by Ajay Devgan
Ajay Devgan Founder and Editor-in-Chief of 'www.techyfreaks.com'.
  
Cyber Security Analyst, Information Security Researcher, Developer and Part-Time Hacker.

Follow 'Ajay Devgan' on Google+Twitter or Facebook or Contact via Email
.
 ==================================================================

  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Item Reviewed: How to Remove a Virus Using Command Prompt Easy And Effective Way To remove Virus Description: Rating: 5 Reviewed By: AJAY DEVGAN
Scroll to Top