Step 1: Start your command prompt. Type Cmd into your search bar (if you are using Windows Vista or 7) then press enter. This will bring up a DOS prompt in which you can type commands.
Step 2: We need to select the drive which has been affected by the virus. The default drive for your computer is C but you will need to check this. Type (without the speech marks) “C:” and then press enter. To see the content of the drive type “dir” then enter.
Step 3: Here is when it starts to get a bit more difficult. Type “attrib –s –h *.* /s /d then press enter. Type “dir” to check whether it contains unusual .exe files.
Note: The -s means we are looking at system files. The -h means we are looking at hidden files. the *.* indicates we are looking for all files.
Step 4: Delete any files that have “autorun.inf” next to them as they are likely virus files. You can also rename the “autorun.inf” files to whatever you like to deactivate them. Now you can access the drive without affecting the virus.
Hopefully this was of some help to you. Nerd out.