0% found this document useful (0 votes)
64 views2 pages

How To Remove Autorun Virus Using CMD

This document provides instructions for removing three types of viruses using CMD: 1) Autorun viruses by changing file attributes and deleting the autorun.inf file on all drives. 2) Shortcut viruses by deleting shortcut files and changing file attributes on an infected drive. 3) Empty folder viruses by changing file attributes on the infected drive to recover files. It notes to restart without opening drives after running the commands.

Uploaded by

Neeraj Dwivedi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views2 pages

How To Remove Autorun Virus Using CMD

This document provides instructions for removing three types of viruses using CMD: 1) Autorun viruses by changing file attributes and deleting the autorun.inf file on all drives. 2) Shortcut viruses by deleting shortcut files and changing file attributes on an infected drive. 3) Empty folder viruses by changing file attributes on the infected drive to recover files. It notes to restart without opening drives after running the commands.

Uploaded by

Neeraj Dwivedi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

How to remove autorun 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\ (enter) and come to
the root C:\> and do the following.
Type in (attrib h r s autorun.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 ?

These Shortcut viruses are those which converts all


your data inside 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 ?

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.

You might also like