Type Here to Get Search Results !

Remove virus from your computer using Command Prompt (CMD) !!!

REMOVE virus from your computer using Command Prompt (CMD)



There are so many antivirus software available online to remove viruses from personal computer. But there are some viruses or suspicious files which can NOT be removed by any antivirus software. Some suspicious files such as autorun.inf initiate all the viruses in your computer.

These files must be removed for safe operation of your pc, because they may lead to data loss, software damages etc.Here’s a trick to remove all your viruses. Follow the steps given below to remove viruses using cmd ( command prompt )

Finding & Removing Viruses Using Command Prompt

Follow the below guide only if you think any of your drive is affected with virus or if you think there are some harmful files and you want to delete them.

Step 1: Go to start menu and type “cmd” in the search box or Start>all programs>accessories>command prompt.

Step 2: Select the infected drive,to do so type in CMD , D: to go to D: drive.

Step 3: Now type dir/w/a . It will show all the files of the drive including hidden files.

Now Check if there is any file or virus that you are not aware of and you think might be Harmful to your PC.

Step 4: Usually there is Autorun.inf file which you must delete it. to do so Type in attrib -h -r -s autorun.inf  and press Enter. Type del autorun.inf  and press Enter. Follow this for all other drives.

Step 5: We have now Succesfully found and deleted autorun.inf file from D drive. if you find any .exe file which is unknown to you. then delete it using the same above method.

How to remove Shortcut virus using cmd ?

The Shortcut viruses are those which converts all your data from your pen drive or Hard disk to shortcuts, but they are recoverable. just follow the below given steps to remove shortcut virus from pen drive and recover back your files.

Go to Start -> Run -> cmd.
Go to your pen drive directory.
Type this command: del *.lnk and press Enter.
Type attrib -h -r -s /s /d e:\*.* And then press Enter.
Recover your files :

You can recover your files through Winrar.

 Open WINRAR Application.
Navigate to your Pendrive location or PC Folder location.
Copy Files and Paste where you want.
Format your Pendrive.
Got some Files in your pen drive but they are empty! Because of the virus in your pendrive malfunctions your drive. How to remove this empty folder virus and recover files? Follow the steps given below.

Start -> Run -> cmd.
Type this command: attrib -h -r -s /s /d x:\*.*
Here the letter “x” should be replaced with the drive alphabet of your pendrive that you have inserted into the computer.
If your pendrive shows the drive alphabet as “J”, then type  this command: attrib -h -r -s /s /d j:\*.* And then press Enter.
Restart your Pc for the changes to take place… So these were some methods to find and remove different viruses using Command Prompt. I hope this will help many of my Readers.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

Top Post Ad

Below Post Ad