How To Remove Virus From USB Or Any Drive On Windows 10 Using CMD

How To Remove Virus From USB Or Any Drive On Windows 10 Using CMD   How to remove Virus from any Drive or USB Using CMD Know what damage a v...

How To Remove Virus From USB Or Any Drive On Windows 10 Using CMD 

How to remove Virus from USB Cyber TechNick
How to remove Virus from any Drive or USB Using CMD

Know what damage a virus could do to you

Do you know how viruses can damage your computer exactly? There are many types of viruses, and they behave in many differentiated ways. To sum up, a computer virus is simply a type of program that causes your computer to act in an undesirable way. It can be dangerous, to drag your computer down, erase very important files, or gives hackers access to your personal information…

Viruses are nuisance, unfortunately, it seems unlikely to avoid it. Some viruses like Locky virus and CryptoLocker, also known as ransomware, delete computer files, encrypt them, even change the file extension to .locky or .encypt, while some virus hide files, making users find nowhere to unhide them. If you happen to be a victim who’s looking for .locky file recovery and .crypt file recovery, then click the links.

Properties and type of it’s:
A virus can be present in your system as a file format and its different.

Properties of this virus:

A virus can be a file hidden from a userA virus can be present in the form of an ‘autorun’ or ‘Autoexec’ fileIt can be an exec fileIt can be a file with different attribute permissions

Some of the well-known examples of the above kinds of the viruses 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.
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.

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

How to remove Virus from USB on Windows 10
Removing Virus from USB Using Windows 10

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.


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


I hope this would have been informative for you. If you know some other tricks, let us know in the comments below.

Related Video

COMMENTS

Name

1 Right Sidebar 1st Person 2 Column 2 Column Layout 2 Columns 2 Columns Layout 2017 Games 3 Column Footer 3 Column Footer Area 3 Column Layout 3 Columns 3 Columns Footer 3 Columns Layout 3D Games 3rd Person 4 Blog Layout 4 Column Footer 4 Column Grid Layout 4 Columns Footer 5 Column Footer Action Games Activators Ads Ready Adventure Games Ajax Free Navigation Android Android Games Android tricks Arcade Games Beautiful Beautiful Design Beautiful Layout Beauty Template Black and White Layout blog blogger Blogger Layouts blogger magazine blogger template blogger templates Blogger Themes Blogging blogspot templates Boxed Layout Breaking News Browser Compability Browser Compatibility business template blogger Business Themes Bussiness Blogger Templates Card Games Category Filter Changing BackGround Changing Color Menu Clash Of Clans Hack Classic clean Clean and Well Documented Codes Clean Design Clean Layout Clear Design Clear Documentation Clear Layout CMD Cracked APKs Cracked Softwares Cracking and Patching APPs Cracks and Patching Softwares Cricket Games Custom 404 Page Custom Display Widgets Custom Error 404 Page Custom Widgets Customised Popular Post Drag and Drop Homepage Driving Games Drop Down Menu eCommerce elegant Elegant Design Entertainment Expandible Search Bar Fancy Box Viewer Fashion Fashion Blog Fast Loading Featured Featured Content Slider Featured Images featured slider Fighting Games Filterable Gallery First Person Shooter Fixed Navigation Menu Bar Fixed Width flat flexible Font Awesome Football Games FPS Free Blogger Templates Full Version Games Full Width Post Option Full Width Themes Full Wordpress Templates Fully Responsive Gag gallery Games Gaming Google Font Gray Background Grid Layout GTA Hacks Hidden Object Horror Games HTML5 & CSS3 Indie Interior Design Blogs Kali Linux Kon-Boot Latest Themes Left and Right SideBar Light Box LightBox Mac OS magazine mega menu Menu Bar Minimalistic modern Movies multi Multi Author Supported By Google+ Multi-Purpose WordPress Themes Need for Speed news news template newspaper NFS Notepad Nulled Wordpress Theme nulledthemes.org One Page Blogger Templates Operating Systems Page Navigation Widget Page Navigation with Title and Thumbnail Page Numbering Paid Themes Parallax Parallax Blogger Templates Parallax Header Scroll Effect Parix Blogger PC Games PC Tricks Personal Blog photography Pinterest portfolio Post Format Premium Premium Wordpess Themes PS 3 Games Racing Games Related Post Widget Resident Evil Games Responsive responsive blogger Responsive Blogger Templates Responsive Design Responsive Layout Responsive Themes Retina Ready Reviews and Features Role-Playing Games RPG Games RTS Games seo SEO Friendly SEO Optimized Shooting Games Shopping Shortcodes Blogger Templates Simple Design Simulation Games Slider Slider in Header SliderBrowser Compatibility Sliding Soccer Social Buttons Social Sharing Social Widget Sports Sports Games Stealth Sticky Menu Bar With Multi Color Strategy Games Stylish Look Support RTL Supports Audio Supports Multiple Currencies Supports Video Survival Horror tech Tech Blog Technology Template Themeforest Themeforest Wordpress Themes Top Bar Trending News Ultra-Premium Video Embeds Visual Composer Well Documentation White BackGround Windows Woo Commerce Wooden Design woothemes Wordpress Latest Wordpress Look Wordpress Themes Wpeka Wpmudev WPZoom Themes Wrestling Games WWE XBOX 360 Games YooThemes Zooming Effect
false
ltr
item
cybersboys: How To Remove Virus From USB Or Any Drive On Windows 10 Using CMD
How To Remove Virus From USB Or Any Drive On Windows 10 Using CMD
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK5Vc3rZrynbQdLBaC0-8iEoRChb961NZhKyv4WlFAE9rtWc7u7ELz8BCm_PzCGu09Gqs89_BzUbuzxHuPZuKUE0uRgJo6I_wbn3yJY6l42LSPhIilbzZ-D_21Zi4g8Gwqb96fkcnuHGY/s640/how-to-remove-virus-using-cmd.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK5Vc3rZrynbQdLBaC0-8iEoRChb961NZhKyv4WlFAE9rtWc7u7ELz8BCm_PzCGu09Gqs89_BzUbuzxHuPZuKUE0uRgJo6I_wbn3yJY6l42LSPhIilbzZ-D_21Zi4g8Gwqb96fkcnuHGY/s72-c/how-to-remove-virus-using-cmd.jpg
cybersboys
https://cybersboys.blogspot.com/2017/01/how-to-remove-virus-from-usb-or-any.html
https://cybersboys.blogspot.com/
http://cybersboys.blogspot.com/
http://cybersboys.blogspot.com/2017/01/how-to-remove-virus-from-usb-or-any.html
true
7044507450140150141
UTF-8
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy