How to Recover Hidden Files and Folders by Virus  

How to Recover Hidden Files and Folders by Virus

Updated on Jun 13, 2024 | by Edwards

Quick Navigation:

If your computer has been attacked by a virus, it's not uncommon for files to become hidden or inaccessible. However, don't panic as there are simple solutions to recover hidden files and folders. To resolve the issue, follow these two straightforward steps, and the problem will be resolved.

Part 1. How to Recover Hidden Files and Folders due to Virus

To recover hidden files, a professional data recovery tool like Deep Data Recovery can be used, which can help recover files hidden by a virus and provide a safe and effective recovery option for all data loss scenarios. The software features two scanning modes to find the desired files.

Your Safe & Effective File Recovery Program

  • Recover hidden files from any storage device with 100% safe and effective software, including hard disks, partitions, memory cards, external hard drives, RAW drives, and USB drives.
  • Files can be recovered from various situations such as deletion, lost partition, formatting, virus attacks, and system crashes, making it possible to retrieve lost or hidden data.
  • The recovery process is straightforward, consisting of just three steps, and is accompanied by a detailed guide. The software also supports various file systems, file types, and formats, and can easily display hidden files on Mac or Windows PC.

You can find the download link for Deep Data Recovery on the official page for both Windows and Mac OS, and once downloaded, follow the steps to recover hidden files and folders affected by a virus.

Step 1: Select File Types

When launching the software, you'll see a "Next" button and multiple file types displayed on the screen. By default, all files are selected, but you can choose the type of file that suits your preferences. Clicking the "Next" button will proceed to the next screen.

Select File Types

Step 2: Select hidden files or folders location

The program scans the specified location for hidden files and folders, enabling their recovery.

Select hidden files or folders location

Step 3: Recover Hidden files or folders

After the scan is complete, the recovered files will be displayed on the screen, sorted by type, allowing you to select the files you want to retrieve and click the "Recover" button to download them onto your system.

recover hidden files by to virus

If the Quick scan mode doesn't show relevant results, switching to Deep Scan mode can help recover hidden files and folders in Windows 7, 8, 10, and macOS by looking deeper. Save recovered files in a different location to avoid data overwrite and corruption.

Part 2. How to Recover Files Hidden by Virus with Command Prompt

To recover hidden files by a virus, remove the virus from the storage device using the Windows Command prompt utility, then follow the guide on how to recover files hidden by the virus.

Step 1: To access a storage device, simply plug it into the system and allow access. From there, go to the Start menu, type "cmd" in the search bar, select it, and press enter to open the Command Prompt utility.

Step 2: To check for malware on a device, run the Check Disk command by typing "Chkdsk G: /f" and pressing Enter, replacing "G" with the actual drive letter of the device in question, to scan for errors and potentially identify malware.

Chkdsk G: /f

Step 3: To recover deleted files, follow these steps: type 'Y' and hit Enter, then type 'G:' and hit Enter again, and finally type "attrib –s –h –r /s /d*.*" and press Enter. This allows you to use the Command prompt to recover deleted files.

attrib –s –h –r /s /d*.*

This command retrieves hidden files from a separate folder and repairs the infected drive, but may not recover lost or deleted files, while Deep Data Recovery software can be used to recover lost files.

Part 3. Advantages & Disadvantages of the Above Methods

Both Command Prompt and Deep Data Recovery can recover hidden files and folders, but they lack key features that might be helpful in data loss scenarios, and it's unclear which method is more reliable.

  • Methods
  • Advantages
  • Disadvantages
  • Command Prompt
  • Completely free recovery tool
    Applicable for lost, hidden and virus-infected files
    The device supports various types of storage devices, including Windows drives, external hard drives, USB drives, and SD cards, among others.
    Powerful built-in utility available for all Windows system
  • File restore is restricted to a limited number of files
    Users need to be careful while using the commands as a tiny mistake can lead to more significant issues, potentially causing system crashes, data corruption, or even complete system failure.
    The recovery process requires manual operation as users need to extract every single file, making it a time-consuming and labor-intensive task.
  • Deep Data Recovery
  • Don't have a requirement of any manual operation
    Provide security and a 100% guarantee of file recovery
    A software that can recover deleted or lost files from a computer's hard drive, regardless of the reason for the loss, including formatting or a crashed drive.
    A selective recovery feature can save a significant amount of time and effort by allowing users to recover specific files or folders from a previous backup, rather than restoring the entire backup. This feature can be especially useful for users who need to recover a small number of files from a large backup, or for those who want to recover files from a specific date or time.
  • Large files can cause scanning and recovery processes to take longer, as they require more time and resources to process.
    Some features are only available in the paid version of the software, limiting their functionality for users who have only the free version.

To recover hidden files and folders due to a virus, you can opt for various methods, but we recommend using Deep Data Recovery, which can restore files erased from storage devices.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!