Tuesday, October 29, 2019

Definition of Virus & Remove virus using command in Windows

Definition of 'Computer Virus'


Definition: A computer virus is a malicious software program loaded onto a user’s computer without the user’s knowledge and performs malicious actions.

Description: The term 'computer virus' was first formally defined by Fred Cohen in 1983. Computer viruses never occur naturally. They are always induced by people. Once created and released, however, their diffusion is not directly under human control. After entering a computer, a virus attaches itself to another program in such a way that execution of the host program triggers the action of the virus simultaneously. It can self-replicate, inserting itself onto other programs or files, infecting them in the process. Not all computer viruses are destructive though. However, most of them perform actions that are malicious in nature, such as destroying data. Some viruses wreak havoc as soon as their code is executed, while others lie dormant until a particular event (as programmed) gets initiated, that causes their code to run in the computer. Viruses spread when the software or documents they get attached to are transferred from one computer to another using a network, a disk, file sharing methods, or through infected e-mail attachments. Some viruses use different stealth strategies to avoid their detection from anti-virus software. For example, some can infect files without increasing their sizes, while others try to evade detection by killing the tasks associated with the antivirus software before they can be detected. Some old viruses make sure that the "last modified" date of a host file stays the same when they infect the file.

General knowledge about commands


On 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 the Command Prompt (cmd). In order to remove a viruses using cmd, we will use a famous cmd command called the 'attrib' command. First, we'd better have some understanding about the commands we'll be using.
Here are the basic attributes of the 'attrib' command:
R – represents the "Read-only" attribute of a file or folder. Read-only means the file cannot be written on or executed.
H – the "Hidden" attribute.
– stands for "Archiving" which prepares a file for archiving.
– the "System" attribute changes the selected files or folders from user files into system files.
- "not content indexed file" attribute.

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

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


Warning

Be careful while using the Command Prompt. Improper use of cmd can result in system damage.

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

Here is an example of how to transfer an 'autorun.inf' virus from my USB drive to my D: drive and delete that virus from my D: drive. And you can follow for a try now
:


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 files listed.
Step 4. To remove the 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 hit enter to delete the files.
If you are infected with other viruses, replace autorun.inf with other virus extensions such as *.ink or *.exe so to respectively delete those suspicious files.
Manual input of the command line is suitable for computer professionals since wrong commands can cause more severe problems. Therefore, for security and usability, we strongly recommend you try an automatic command line alternative. EaseUS Tool M is a practical tool that enables you to check and fix files system error, enable/disable write protection and system update with one-click instead of typing intricate command lines.

>>>>>orginaly copyright reserved by easeus

Aspire Leadership Program affiliated by Harvardx

Aspire Leaders Program  হল একটি নেতৃত্ব উন্নয়ন প্রোগ্রাম যা হার্ভার্ড বিজনেস স্কুলের অধ্যাপকদের দ্বারা চালু করা হয়েছে বিশ্বব্যাপী সুবিধাবঞ...