0% found this document useful (0 votes)
684 views

How To Remove Autorun Virus Using CMD

1. The document provides steps to remove viruses using the command prompt (cmd). It describes how to remove autorun, shortcut, and empty folder viruses. 2. To remove an autorun virus, the steps are to open cmd, navigate to the infected drive, use attrib commands to remove attributes from autorun.inf, and delete the file. 3. For a shortcut virus, the steps are similar but deleting all files with a .lnk extension, and using attrib to remove attributes recursively from the infected drive. 4. An empty folder virus can be removed by opening cmd, navigating to the infected removable drive, and using attrib to remove attributes recursively from all files on the drive.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
684 views

How To Remove Autorun Virus Using CMD

1. The document provides steps to remove viruses using the command prompt (cmd). It describes how to remove autorun, shortcut, and empty folder viruses. 2. To remove an autorun virus, the steps are to open cmd, navigate to the infected drive, use attrib commands to remove attributes from autorun.inf, and delete the file. 3. For a shortcut virus, the steps are similar but deleting all files with a .lnk extension, and using attrib to remove attributes recursively from the infected drive. 4. An empty folder virus can be removed by opening cmd, navigating to the infected removable drive, and using attrib to remove attributes recursively from all files on the drive.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

How to remove command

autorun prompt

virus

using )

cmd ( ?

Steps :

Press ( Start or winkey ) -> Run -> cmd. If you are at the root directory ( C drive ) then do the following, else give cd.. and come to the root C:\>and do the following. Type in ( attrib -h -r -sautorun.inf ), without brackets and press Enter. Type ( del autorun.inf ), without brackets and press Enter. Follow this for all other drives.

How to remove Shortcut virus using cmd ( command prompt ) ?

These Shortcut viruses are those which converts all your data in side your pen drive or Hard disk to shortcuts, and which 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 a gentle Enter.

How to remove empty Folder virus using cmd ( command prompt ) ? 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 a gentle Enter.

Note: Do a restart, and before that don't open any drives after performing the following steps.

Steps

1.

1
Go hit start

2.

2
Than click on Run

3.

3
In the searchbox type in cmd.exe

4.

4
When you click on OK a windows should come up Simalar to this:

5.

5
First, type in the Infected Drive such as for example: dir/p C:

6.

6
DON'T HIT ENTER YET! Type in the end switch such as s - h *. * /s /d and press ENTER

7.

7
The command prompt will load all the files in your drive. If you see anything suspicous for example: Autorun.inf or a .exe file. These files you need to watch out for.

8.

8
If you see the .exe and the autorun.inf than you have just found a tainted file.

9.

9
Write the prgram name and where the program is located.

10.

10
Rename the Autorun.inf so you can open it without activating the virus. Rename it as a rar. extension.

11.

11
Go to start, and double click the My computer icon.

12.

12
Select the tainted drive, that has the infected file. Find the program directory that contains autorun.inf.

13.

13
Right-click on the file you renamed "virusfile" and choose "Delete."

14.

14
Right-click on the ".exe" file and choose "Delete." You have now removed the virus from your computer's hard drive.

You might also like