How to Remove a Virus Using Cmd

Open the drive that contains the virus., Press Ctrl+A to select all. , Hit Alt+Enter to view properties. , Note the total space consumed by the data of the drive. , Compare it to the used space of the drive., Press Ctrl+R at the desktop. , Type cmd...

13 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: Open the drive that contains the virus.

    If the used space exceeds the total size of the data, then it is possible to recover the lost data.

    In other words, if the drive is showing more space consumed than the actual data inside the drive, then your lost data can be recovered. ,,,* , The drive will now contain a folder without any name.

    This folder contains your lost data. ,,
  2. Step 2: Press Ctrl+A to select all.

  3. Step 3: Hit Alt+Enter to view properties.

  4. Step 4: Note the total space consumed by the data of the drive.

  5. Step 5: Compare it to the used space of the drive.

  6. Step 6: Press Ctrl+R at the desktop.

  7. Step 7: Type cmd and hit Enter.

  8. Step 8: Type the command:    attrib -a -r -h -s /s /d x:\*.

  9. Step 9: Replace x with the drive letter and hit Enter.

  10. Step 10: Delete any unnecessary files that you see such as autorun.inf

  11. Step 11: recycle.bin etc.

  12. Step 12: Backup your data and format the drive

  13. Step 13: if possible.

Detailed Guide

If the used space exceeds the total size of the data, then it is possible to recover the lost data.

In other words, if the drive is showing more space consumed than the actual data inside the drive, then your lost data can be recovered. ,,,* , The drive will now contain a folder without any name.

This folder contains your lost data. ,,

About the Author

B

Barbara Hill

Enthusiastic about teaching organization techniques through clear, step-by-step guides.

90 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: