Powered by Blogger.

How to Remove a Virus Using CMD And Notepad

How to Remove a Virus Using CMD And Notepad


What is a virus. 
  • Virus is hang your computer ya lepi. 
  • Virus is a hack your data.
  • Virus is a computer program it's can be copy itself & infect computer.
  • 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. 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. 
  • Some viruses and files can be removed by using command prompt. 
  • This article discuss how to remove a virus using command prompt. 

  • Following steps can be used to remove a virus using command prompt from your computer.

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 , g: to go to G drive.

Step 3)  Now type dir/w/a . It will show all the files of the drive including hidden files.







Step 4)   Locate AUTORUN.INF or any Virus and other suspicious files in the                            directory.





Step 5) Type command attrib  -r –a –s –h to remove attributes of corresponding file.





Step 6) Type del autorun.inf to delete autorun.inf file.




Must Read : How To Create Portable Wifi Hotspot in Windows 8 Using CMD



Step 7) 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.





Step 8)  Now you can access the defected drive without affecting the virus.
             To delete the renamed file go to the defected drive and select the file you                    renamed.







Step 9)  Type cd recycler command.



Step 10) Again type dir/w/a  to locate all file of the folder.
               Identify malicious files and delete them using above commands.


  • Follow the above steps carefully and i think this information is enough to remove a virus using command prompt easily.

Share on Google Plus

About Harsh

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

1 comments:

  1. I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job
    They're produced by the very best degree developers who will be distinguished for your polo dress creating. You'll find polo Ron Lauren inside exclusive array which include particular classes for men, women.

    plugin manager notepad++

    ReplyDelete

Popular Posts

Like Us HackGiri

Download Our New Toolbar

Get our toolbar!