Monday, 4 September 2017

How to delete pc / lap virus without using anti virus software

How to Use CMD to Remove Virus from Any Drive in Windows

You can use CMD to remove any type harmfull virus in your PC or LAPTOP try this:-

General knowledge about commands

In this page, we're going to offer you solutions to remove viruses from your USB drive, memory card, in fact, any drive in a Windows 10 computer using CMD. In order to remove a virus using CMD, we will use a famous CMD command called 'attrib' command. So first, we'd better have some understanding about the commands we're supposed to use.
Here are the basic attributes of the 'attrib' command which we will use later:
R – R represents the "Read-only" attribute of a file or folder. Read-only means the file cannot be written or executed.
H – H stands for the "Hidden" attribute.
A – Similarily,  A stands for "Archiving" which prepares a file for archiving.
S – S attribute changes the selected files or folders into a system file from a user file by assigning the "System" attribute to that particular file.

"attrib" Syntax:

ATTRIB [+ attribute | – attribute] [pathname] [/S [/D]]
In the above command, let’s see what the different parameters and switches are:
'+ / –': To enact or to cancel the specified attribute.
'attribute': As explained above.
'/S': Searching throughout the entire path including subfolders.
'/D':  Include any process folder.
'pathname': Path where the target file or folder is located

How to remove/delete virus using CMD in Windows 10/8.1/8/7

Just give you an example. I am going to transfer an 'autorun.inf' virus from my USB drive to my D: drive and delete that virus from my D: drive.


click here to see the full details
 Step 1. Open Command Prompt from search and run as an administrator.
Step 2. Type D: and press Enter.
Step 3. Type attrib and press Enter. You'll see autorun.inf virus listed.
Step 4. To remove virus using CMD, type into your command prompt attrib -r -a -s -h *.* and press Enter. This will remove the Read Only, Archive, System and hidden file attribute from all the files. (*.* for all the files with all different types of file extensions).
Step 5. Type del autorun.inf and enter, to delete the files.

                                               (OR)
you can copy the command by clicking this link:-
click here to view the command
Removing a Virus Without Using Any Anti-virus Software
Virus is a computer program that can copy itself and infect computers.
The term "virus" is erroneously used to refer to other types of malware, including adware and spyware programs that do not have the reproductive ability.
A true virus can spread from one computer to another (in some form of executable code).
One of the ways by which a virus can infect your PC is through USB/Flash drives.
Common viruses such as 'Ravmon' , 'New Folder.exe', 'Orkut is banned' are spreading through USB drive .
Most anti virus programs are unable to detect them and even if they do, in most cases they are unable
to delete the file, only quarantine it.So in our post we use command prompt to remove harmful files that
any anti-virus can't.


These are the steps.


Step 1:

http://corneey.com/q4JQTh
 Run the command prompt by going to start and type cmd on the search programs and files.

Step 2:

http://corneey.com/q4JQTh
 Select the virus affected drive
                 (drivename: )
examples
C:
J:
F:
D:
E:

Step 3:

http://corneey.com/q4JQTh
 type attrib -s -h *.* /s /d then press enter

Step 4:

http://corneey.com/q4JQTh
 type dir 
        the dir command shows you the content of the drive

Step 5:

http://corneey.com/q4JQTh
check if there is an unusual .exe file
                 if there's an autorun.inf file rename it

                    (rename filename.extension newfilename )

Step 6:

http://corneey.com/q4JQTh
by doing the following steps you can now acces the drive without affecting the virus

 Go to my computer

Step 7:

http://corneey.com/q4JQTh
Select the drive

Step 8:

Delete the harmful files
             *you can also delete the harmful files using command prompt
              ( type del filename)

 


























No comments:

Post a Comment