How To Remove Computer Viruses Using CMD

Share It On:

Almost everyone is facing the same problem of virus penetration in our computer, likewise I have also encountered the same problem too but I was able to recover my malware problem so I come up with some fruitful tips to let up give direction on removing your computer viruses using CMD although Firewall and another antivirus can also detect it. But allowing not virus to act anything is the best practice then to combat with it using antivirus. I guess you have understood what I am talking about so feel free to go along with these tips and tricks:

  1. At first, go to start and type “cmd” then right click on the cmd icon and select “run as administrator” button. Then after selecting the drive from where you want to remove a virus.
  2. The drive may be either C or D or E or F as you like but always use a capital letter. Suppose I choose G drive and type “G:” in cmd but without quotation on CMD, i.e., just G:
  3. Then after you would see the directory of G drive as G:\> and type dir G: and it would be understood as G:\>dir G:  and hit enter.
  4. So now type “dir G: attrib -s -h /s /d *.*” and hit enter.
  5. Now the cmd will load all the files within that drive
  6. If you see an unusual home and any of autorun.inf, then rename it with the command as (rename filename.extension new filename) like rename auditorium. Inf amaranth, if not then your system is excellent and exit your cmd by using “exit” code.

However in case if you want to delete any file that contains virus you can type “del.autorun.inf” and replace autorun.inf with your file name.

This is the quick method to remove computer viruses using CMD Command Prompt so use it serially and fix your viruses.


Share It On:

Recent Posts

Genese Solution Vindicated in Electronic Transactions Case

Genese Solution Vindicated in Electronic Transactions Case

Share It On:16th January 2024, Kathmandu The Kathmandu District Court has exonerated Genese Solution, a UK-based value IT and Cybersecurity

TikTok U.S. Ban Battle: Latest Updates and Impact on 170 Million Users

TikTok U.S. Ban Battle: Latest Updates and Impact on 170

Share It On:16th January 2025, Kathmandu TikTok is preparing to suspend its operations in the United States starting Sunday, January

Genesis Solutions at Birat Expo 2025: Driving Digital Transformation in Koshi Province

Genesis Solutions at Birat Expo 2025: Driving Digital Transformation in

Share It On:16th January 2025, Kathmandu Genesis Solutions, a UK-based IT consulting firm, will participate in the Birat Expo 2025

KMC Rejects Minister’s Claims on Revenue Sharing with Bagmati Province

KMC Rejects Minister’s Claims on Revenue Sharing with Bagmati Province

Share It On:16th January 2025, Kathmandu Kathmandu Metropolitan City (KMC) has strongly objected to remarks made by Bagmati Province’s Minister

Sanima Bank Shares Sale Nepal: Invest Now at NPR 145,Apply for Nearly 50,000 Shares

Sanima Bank Shares Sale Nepal: Invest Now at NPR 145,Apply

Share It On:16th January 2025, Kathmandu Sanima Bank is offering nearly 50,000 shares for sale. Of these, 49,050 shares come

  • by Mina Aryal
  • January 16, 2025
ICFC Finance Appoints Aryal as Chairman to Drive Growth and Strategic Leadership

ICFC Finance Appoints Aryal as Chairman to Drive Growth and

Share It On:16th January 2025, Kathmandu ICFC Finance Limited has unanimously appointed Sushil Kumar Aryal as its new Chairman. This