You are on page 1of 2

Step 1:

Picture of
Run the command prompt by going to start and type cmd on the search programs an
d files.
Step 2:
Picture of
Select the virus affected drive
(drivename: )
examples
C:
J:
F:
D:
E:
Step 3:
Picture of
type attrib -s -h *.* /s /d then press enter
Step 4:
Picture of
type dir
the dir command shows you the content of the drive
Step 5:
Picture of
check if there is an unusual .exe file
if there's an autorun.inf file rename it
(rename filename.extension newfilename )
Step 6:
Picture of
by doing the following steps you can now acces the drive without affecting the v
irus

___________________________
To remove such virus follow the steps
Open administrative command prompt.
Go to your pen-drive drive letter. Suppose your USB disk is G:. Type G: and pres
s Enter
Now type the below command to remove system file, hidden read-only attribute
attrib -s -h -r /s /d *.*
Delete Autorun.inf from USB
Disk.
This makes all files visible and you are now able to delete them .
del *.lnk
Now to remove the shortcuts from pen-drive , Check the size of any One or Few Sh
ortcuts, all be same.
Delete suspicious files, on errror check task manager for process with same name
or any suspicious process and end it.
Open Explorer and right Click on Pen-drive , Click Open.
Search with Advance Search for all files of same size in Pen-drive.
Select All and Delete

Go to my computer
Step 7:
Picture of
Select the drive
Step 8:
Picture of
Delete the harmful files
*you can also delete the harmful files using command prompt
( type del filename)

You might also like