Virus Deletes Files When You Try to Open Them

Jean updated on Sep 18, 2019 to File Recovery | How-to Articles

Summary

Grab the simple fixes here in case virus deletes files when you try to open them. Download EaseUS data recovery software to recover all types of files deleted by virus, including pictures, documents, videos, music and more.

How to Protect Files from Being Deleted by Virus Automatically

When you cannot open a file or folder by double-clicking as usual, be careful! You're very likely threatened by a virus! Many people are reporting that virus deletes files when they try to open them, and asking an effective solution to virus file recovery badly. Let's see an example.

"Virus! Please help me out. When I try to open any file such as a movie, video, picture, and document on my USB stick, it became a shortcut and double-clicking doesn't open it. Instead, I can only delete it. What should I do? How to prevent virus deleting files?"

How to Recover Files from Hard Drive or USB Flash Drive Deleted by the Virus

Computer and laptop virus is loathful and disgusting. Also, it's dangerous. It can slow down your system performance, delete all your important files. What's worse, it encrypts files so that you can hardly get them back.

For the case that virus deletes files when you try to open them, you can rely on two effective methods: to recover virus infected files using cmd or try a third-party file recovery software.

EaseUS Data Recovery Wizard is a qualified virus file recovery software, being specialized in retrieving data after being deleted or hidden by the virus on various storage devices, including computer hard drive, external USB flash drive, SD card, pen drive and so on.

 

Step 1: Launch EaseUS Data Recovery Wizard.

Select the disk partition or storage location where you lost files and click "Scan".

Run file recovery software.

Step 2: EaseUS Data Recovery Wizard will start a scanning process to find lost files.

The scanning process will automatically start to find all of the files.

Scan and find lost files.

Step 3: Preview and restore lost files.

You can filter scan results by file type, select found files and click "Recover" to get them back. You should save the files to another safe spot in your PC/storage device, not where they were lost from.

Restore virus deleted files.

How to Remove Virus That Automatically Deletes Files

With files being well protected and restored, you should start immediately to find a powerful antivirus software or perhaps use cmd to remove the virus from any drive in Windows 10, 8.1, 8 or 7.

Follow the detailed guide to remove virus that deletes everything

Just give you an example. I am going to delete'autorun.inf' virus from my USB drive, which is D:

1. Right-click on Start and select Command Prompt (Admin).
Sign in with your Administrator account and password if the system asks.
2. Type: D: and hit Enter. (Replace D: with the drive letter where the virus files exist.)
3. Type: attrib and hit Enter.
4. Type: attrib -r -a -s -h *.* and hit Enter.
5. Type: del autorun.inf and hit Enter. 

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.

Follow the simple steps below to show hidden files with this 1-click-fix software. 

Step 1.  DOWNLOAD EaseUS Tool M for Free.

Step 2. Start EaseUS Tool M, choose "File Fixing" on the left pane. Next, choose the target drive and keep the "Show hidden files." selected. Then, click the "Fix" button to start the progress.

show hidden files - step 2

Step 3. After the operation completes, click the View button to check the hidden files. 

show hidden files - step 3

 
 

100% of people found this article helpful.

 

Frequently Asked Questions

1. Why choose EaseUS Data Recovery Wizard?

"EaseUS Data Recovery Wizard is the best we've seen. It's far from perfect, partly because today's advanced disk technology makes data-recovery more difficult than it was with the simpler technology of the past, but it's fast and efficient..."PCMag

"The first thing you'll notice about EaseUS Data Recovery Wizard Pro is that its interface is very clear and uncluttered, with only a small collection of self-explanatory controls. You won't find lots of extra options hidden in a system of hidden menus, either; what you see really is what you get."techradar

"Recover lost files, even after deleting a partition or formatting your drive."Macworld

2. Why cannot I recover 2GB data for free?

It is recommended to check the version installed is Free or Trial because they are different versions.

Trial has data preview function but cannot save any files, while the Free version enables to recover 2 GB files. The default free space is 500 MB and you may share the product on social media to get another 1.5 GB.

3. Why cannot the recovered files be opened?

A file is saved as 2 parts on the storage device: directory info (which is comprised by file name, time stamp and size info, etc.) and data content.

If the files with original file names and folder structures cannot be opened, one possible reason is the corrupted directory info. There is still a chance to recover the data content with the RAW Recovery method in our software.

4. Why isn't it suggested to recover the files back to the original drive?

The storage structure of the lost files would be altered or damaged by any changes on the drive. If you save the recovered files back to the same drive, the original data structures and data content would be corrupted or overwritten, which causes permanent data loss. So you should prepare another disk to save the files.

5. How can I check whether my data is recoverable or not before purchase?

The Free version helps you save 2GB files to better verify the recovery quality of our product before purchase.

6. How long does it take to scan the drive?

It strongly depends on the capacity of your hard drive and the performance of your computer. As reference,most drive recoveries can be completed in around 10 to 12 hours for a 1-TB healthy hard drive in general conditions.

About Data Recovery Wizard

It's super easy to recover 250+ types of files after deletion, disk formatting and virus infection. Click the links and compare the difference of each version.