How To remove Virus From USB Or Any Drive On Windows 10 using CMD - Computer Tricks & Free Software

Latest

Loads of the great computer hints and tricks with a purpose to boom productiveness and your common laptop experience

Facebook Page

Monday 5 March 2018

How To remove Virus From USB Or Any Drive On Windows 10 using CMD

Realize what harm an infection could do to you


Do you know how infections can harm your PC precisely? There are numerous kinds of infections, and they carry on in numerous separated ways. To whole up, a PC infection is basically a sort of program that makes your PC demonstration in an unfortunate way. It can be perilous, to drag your PC down, delete imperative records, or gives programmers access to your own data…


Infections are irritation, lamentably, it appears to be probably not going to maintain a strategic distance from it. Some infections like Locky infection and CryptoLocker, otherwise called ransomware, erase PC records, scramble them, even change the document augmentation to .locky or .encypt, while some infection shroud documents, influencing clients to discover no place to unhide them. On the off chance that you happen to be a casualty who's searching for .locky document recuperation and .sepulcher record recuperation, at that point tap the connections.

Properties and sort of it's:

An infection can be available in your framework as a document organization and its unique..

Properties of this infection:

An infection can be a document escaped a client

An infection can be available as an 'autorun' or 'Autoexec' document

It can be an executive document

It can be a document with various trait consents

A portion of the notable cases of the above sorts of the infections are:

Ravmon.exe

New Folder.exe

svchost.exe

Heap41a

  
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.
– Similarily,  A stands for “Archiving” which prepares a file for archiving.
– 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.

Here is the proper syntax for attrib command:

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [+I | -I] [drive:][path][filename] [/S [/D] [/L]]

 

How to remove virus from USB drive, memory SD card and other drive using CMD in Windows 10

 Simply give you an illustration. I am will exchange an 'autorun.inf' infection from my USB drive to my D: drive and erase that infection from my D: drive.

 

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).

        Remove Computer Virus using CMD

 

Step 5. Type del autorun.inf and enter, to delete the files.

 

 

No comments:

Post a Comment