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

IBN CEO Submits FY 2080/81 Report to PM Oli, Stresses Enhanced PPP
Latest News Top News

IBN CEO Submits FY 2080/81 Report to PM Oli, Stresses

Share It On:26 July 2024, Kathmandu Investment Board Nepal CEO, Sushil Bhatta, submits the FY 2080/81 Performance Contract Report to

Morning Offer on Lumbini Cable Car: Enjoy 50% Discount on Tickets Every Monday from July 29 to September 16, 2024
Banking & Insurance Latest News Top News

Morning Offer on Lumbini Cable Car: Enjoy 50% Discount on

Share It On:26 July 2024, Kathmandu The Lumbini Cable Car has announced an exciting ‘Morning Offer’ available every Monday morning

Realme Narzo N65 5G Price in Nepal: Cutting-Edge Performance and Innovation at Affordable Prices
Gadgets Latest News Top News

Realme Narzo N65 5G Price in Nepal: Cutting-Edge Performance and

Share It On:25 July 2024, Kathmandu realme Unveils New Narzo N65 5G and realme C63 Smartphones: Pushing the Boundaries of

Nabil Bank Launches Nabil Nari Karja: A Game-Changer For Women Entrepreneurs
Banking & Insurance Latest News Top News

Nabil Bank Launches Nabil Nari Karja: A Game-Changer For Women

Share It On:25 July 2024, Kathmandu Nabil Bank is proud to announce the launch of Nabil Nari Karja, an innovative

Leidos Breach Hackers Leak Documents From Pentagon IT Services Provider
Latest News Security Top News

Leidos Breach Hackers Leak Documents From Pentagon IT Services Provider

Share It On:25 July 2024, Kathmandu Learn about the Leidos cyber breach linked to Diligent Corp., which exposed sensitive documents

Appier Partners SkinX Thailand to Revolutionize Dermatology and Telemedicine with AI-Powered Solutions
Latest News Top News

Appier Partners SkinX Thailand to Revolutionize Dermatology and Telemedicine with

Share It On:25 July 2024, Kathmandu Appier announces partnership SkinX Thailand to drive AI-powered digital transformation in dermatology and telemedicine