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

Nepal Bank Housing Loan Scheme: Saral Awas Karja for Easy Homeownership with 6.63% Interest

Nepal Bank Housing Loan Scheme: Saral Awas Karja for Easy

Share It On:29th January 2025, Kathmandu Nepal Bank Limited, the first bank of Nepal, has launched a new housing loan

IME Life Insurance Q2 Earnings Report: 14% Profit Growth, Life Insurance Fund, Premium Collection

IME Life Insurance Q2 Earnings Report: 14% Profit Growth, Life

Share It On:29th January 2025, Kathmandu IME Life Insurance has made history as the first insurance company to release its

Global IME Laghubitta Q1 Earnings: 147% Growth, Improved NPLs, Increased Deposits – Microfinance Sector

Global IME Laghubitta Q1 Earnings: 147% Growth, Improved NPLs, Increased

Share It On:29th January 2025, Kathmandu Global IME Laghubitta has reported a significant profit increase of 147.57% in the first

NECO Insurance Hiring Nationwide: Multiple Job Openings for Branch Managers, Officers, and More

NECO Insurance Hiring Nationwide: Multiple Job Openings for Branch Managers,

Share It On:29th January 2025, Kathmandu NECO Insurance Ltd. is hiring for a wide range of positions across Nepal. The

Nepal Startup & SME Conference 2025: Deuba Advocates Innovation, Investment for Economic Growth

Nepal Startup & SME Conference 2025: Deuba Advocates Innovation, Investment

Share It On:29th January 2025, Kathmandu Sher Bahadur Deuba, President of the Nepali Congress, opened the Nepal Startup and SME

Nepal Health Ministry Cracks Down on Illegal Unregistered Vitamin & Mineral Supplement Sales

Nepal Health Ministry Cracks Down on Illegal Unregistered Vitamin &

Share It On: 29th January 2025, Kathmandu The Ministry of Health and Population has issued a strong warning against the