Recovering files for virus infected device can be frustrating, most times you end up formatting the device thereby losing your files.

Now I will show you how to use Command Prompt to recover your files affected by virus. Below are the steps you need to follow;

Step 1

Plug in the device you want to recover from Virus

Step 2

Go to start menu, type “CMD” right click and run as Administrator

Step 3

Type “chkdsk G:/f” and hit enter (G represent the letter on the drive)

Step 4

Type “y” and hit enter

Step 5

Now type “G:” again and hit enter

Step 6

Type “attrib –h –r –s /s /d *.*”

Step 7

Wait patiently for up to a minute, when the process is done. You can now check your drive.


I hope you have gotten some useful tips here, share your thoughts with me in the comment section.

P.S. Thanks for reading to the end. If you found value in this, kindly recommend (by clicking the share buttons below) so other people can learn too!
Is there a Howto you'd love to learn? We'll be glad to create it for you, let us know in the comments. Cheers!


We're always here. You can send us an email and we'll get back to you, asap.


© 2015 - 2018


Log in with your credentials

Forgot your details?