#1 Remove Computer Viruses, Using Command Prompt
Step 1. First of all, click on Start and type cmd. Now right click on a cmd icon and select Run as administrator. Now command prompt window will open, now select your drive where you want to remove a virus.
Step 2. Let the drive be D. So now type “dir D: attrib -s -h /s /d *.*” and press enter.
Note: Capital D is the considered as the drive to be checked you can change the drive according to your needs.
Step 3. Now the command prompt will explore your selected drive and will load all the files on your drive.
Step 4. Now if you notice and unusual file.exe and any of autorun.inf then rename it with the command (rename filename.extension new filename)
That’s it! Now you can access your drives without affecting from viruses.
#2 Disabling Suspicious Services In Task Manager
Step 1. First of all, open task manager by pressing CTRL+SHIFT+ESCAPE and end all suspicious services under services section.
Step 2. Now from new task start MSConfig.
Step 3. Now in MSConfig box go to the service tab and then uncheck any suspicious or unwanted service that you can guess by thinking that did you have installed something related to that service or not.
Step 4. Now you need to head over the next tab “Startup” Look over any suspicious or unwanted files and under command section, you will find the path of the suspected file
Now open the command prompt and go to that location of the suspect file and change the attribute of the file as discussed in the first method with the help of CMD. And then only delete the file from there.