Skip to main content

How To Remove Computer Viruses Using CMD

Actually, the command prompt is a utility program that has an access to reconstruct all the system files, and in this method, we will be using the same access of cmd.

This method works on attributes removing which can be one reason of virus. As the most probable reason for the virus to come into your computer is through USB device. So this method works perfectly on USB to remove its viruses and secure your computer.

  Steps To Remove Computer Viruses Using Command Prompt:

  Firs of all click on Start and type cmd. Now right click on a the cmd icon and select run as administrator. Now command prompt window will open, now select your drive which you want to remove a virus.

  Let the drive be D. So now type

“dir D: attrib -s -h /s /d *.*”

then press enter.

  Now the command prompt will explore your selected drive and will load all the files on your drive.

  Now if you notice and unusual file.exe and any of autorun.inf then rename it with the command(rename filename.extension new filename)

  That’s it now you can access your drives without affecting from viruses.
_________________________

Comments

Popular posts from this blog

What is SQL ?

SQL (Structured Query Language) is a standardized programming language used for managing relational databases and performing various operations on the data in them. Initially created in the 1970s, SQL is regularly used by database administrators, as well as by developers writing data integration scripts and data analysts looking to set up and run analytical queries. The uses of SQL include modifying database table and index structures; adding, updating and deleting rows of data; and retrieving subsets of information from within a database for transaction processing and analytics applications.  Queries and other SQL operations take the form of commands written as statements -- commonly used SQL statements include select, add, insert, update, delete, create, alter and truncate. _________________________