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

‘Ncell Woman ICON ICT Award 2024’ presented to Bandana Sharma

‘Ncell Woman ICON ICT Award 2024’ presented to Bandana Sharma

Share It On:26th December 2024, Kathmandu This year’s ‘Ncell Woman ICON ICT Award’ has been conferred on Bandana Sharma, recognizing

456 MW Nepal’s Upper Tamakoshi Resumes Power Generation After Landslide Damage

456 MW Nepal’s Upper Tamakoshi Resumes Power Generation After Landslide

Share It On:25th December 2024, Kathmandu The Upper Tamakoshi Hydroelectric Plant, Nepal’s largest with a 456-megawatt capacity, has resumed partial

Bajaj Platina Mileage Champion 2024: Dhangadhi Event Winners, Performance Highlights, and Fuel Efficiency Showcase

Bajaj Platina Mileage Champion 2024: Dhangadhi Event Winners, Performance Highlights,

Share It On: 25th December 2024, Kathmandu The ‘Bajaj Mileage Champion’ event took place in Dhangadhi, Kailali, where local riders

inDrive Partners with ICT Award 2024, Supports Innovation in Nepal’s Startup Ecosystem

inDrive Partners with ICT Award 2024, Supports Innovation in Nepal’s

Share It On:25th December 2024, kathmandu inDrive a global mobility and urban services platform, is proud to announce the winner of

Citizens Bank Easy Dental Partnership: Exclusive Discounts for Customers

Citizens Bank Easy Dental Partnership: Exclusive Discounts for Customers

Share It On: 25th December 2024, Kathmandu Citizens Bank International Ltd. has entered into a partnership with Easy Dental Pvt.

Bajaj Motorcycle Finance Fair 2024 in Nepal: Low Interest Rates & Easy Loan Approval

Bajaj Motorcycle Finance Fair 2024 in Nepal: Low Interest Rates

Share It On:25th December 2024, Kathmandu Hansraj Hulaschand & Company Pvt. Ltd., the official dealer of Bajaj Motorcycles in Nepal,