You are on page 1of 1

One of the ways by which your system can be effected by virus is through USB, so check the

following steps to check if your usb has virus and remove it.

Step 1:
1. After connecting your usb,open command prompt from start-->cmd
2. In the command prompt type the drive leter : and press enter [ex: d:]
3. Now type dir and press enter
4. List of files in your usb will be shown
Step 2:
1. Now open another cmd window
2. Type the drive letter,but now instead of dir type dir /w /a and press enter
3. Now files with all the attributes will be shown [even hidden files will be shown ,many virus
files will be hidden]
4. Now match the files with step 1
5. Any suspicious file may be a virus
6. Some examples are
Autorun.inf
Ravmon.exe
New Folder.exe
svchost.exe
How to remove the virus:
1. In cmd after typing the usb drive letter [ex d:]
2. Type attrib -r -a -s -h *.* and press enter.
3. This will remove the Read Only, Archive, System and hidden file attribute from all the files.
4. Now just delete the files using the command del filename.
5. Example del Ravmon.exe.
6. Delete all the files that are suspicious.

You might also like