How to Recover Deleted Hidden Files on Windows

Approved by

Recover hidden files on Windows

Every Windows computer has hidden files. Of course, not many know this as the average computer user will never need to seek them out. However, just because the files are hidden doesn’t mean they’re not susceptible to loss due to accidental deletion, formatting, or corruption.

Recovering hidden files and folders is definitely possible. In fact, it’s just as easy as recovering visible files. Read on to find out how you can retrieve hidden files from your Windows computer.

Go to data recovery solution ⤵

How to Show Hidden Files on Your Computer

Before we get into how to restore hidden files, we have to first make sure we can locate hidden files. Few are aware that Windows hides some files on your computer by default. These are typically system-related files that are hidden because they shouldn’t be tampered with or deleted. Regardless, they exist, and it’s relatively easy to uncover hidden files using Windows Explorer.

Here’s how to find hidden files on computer:

  1. Open File Explorer.Open file explorer
  2. Click on the View tab, then click Options.Select options in view tab
  3. Click to the View tab, then under Hidden files and folders, make sure the radio button for Show hidden files, folders, and drives is enabled. Click Apply then OK to finish.Show Hidden Files and folders

How to Unhide Hidden Files or Folders

Hidden files and folders are invisible due to a specific attribute that has been applied to them. When this attribute is active, the files won’t appear unless you’ve specifically set your system to show them using the previous steps. Once this attribute is removed, the files and folder will show up like normal.

Method 1:Unhide files or folders with Windows Explorer

Just like showing hidden files, folders, and drives, making files visible is super easy using Windows Explorer.

  1. Open File Explorer and navigate to the folder that contains the files you want to unhide.Folder in file explorer
  2. Right-click on the file or folder you want to unhide and click Properties.Properties option
  3. Deselect the Hidden attribute, click Apply then OK. The file or folder will be visible again. For folders, you will need to choose whether you want to apply the changes to the folder only, or all subfolders and files within that folder.Disselect the hidden option

Method 2:Unhide files or folders with Command Prompt

If you prefer using a command-line interface, you can unhide files by removing the hidden attribute. This can be performed at a folder level, or to individual files.

  1. Press Windows + S and search Command Prompt. Open it.Open command prompt
  2. Type cd “C:Hidden Folder”. Replace the quoted text with the location of your files/folders. If there is a space in the directory location, be sure to include it within quotation marks. Press Enter.Hidden folder command
  3. Type attrib -h “Secret File”. Replace the quoted text with the name of the file you want to unhide. If it states that the file cannot be found, try adding the file extension to the end of the filename.

    If you want to remove the hidden attribute from all files and subfolders in the selected folder, use the command attrib -h /s /d instead.

    Type the name of file

You can hide the files again by replacing the -h command with +h, which will add the attribute back.

How to Recover Deleted Hidden Files on Windows

Even though the files are hidden, the data still resides on the storage media. The only difference between visible and hidden files or folders is an attribute. Otherwise, everything else in terms of recovery is the same. Until the physical location that once held the data is overwritten, there’s a chance of restoring hidden files.

If you’ve lost or deleted some hidden files or folders, you can recover them using data recovery software. Disk Drill is one such data recovery solution that’s trusted by many because of its robust recovery capabilities and user-friendly interface. In only a few clicks, you can recover deleted folders, pictures, videos, and many other forms of data.

Follow the below steps on how to recover hidden files.

  1. Download Disk Drill. Once downloaded, install and open it.
  2. Select the drive that contains the hidden files or folders that you want to recover. Click Search for lost data. This will locate any hidden files that have been deleted.Search for lost data
  3. When the scan has finished, click Review found items.Review found items
  4. Here you will find a list of the files that can be recovered. If you click Filters, you will see that the Show hidden system files is enabled by default. Select the files you want to recover by checking their box.Show hidden system files
  5. When you’re ready, click Recover.Recover selected files
  6. Specify the location you want the files to be recovered to. It’s good practice to choose a location that’s not the same drive that the files were lost from. Press OK.Choose location

Hidden files on your PC that have been restored can be found in the specified recovery location. Disk Drill can be used to recover data in any situation, like recovering files after a Windows update, and it contains features that can protect your data against future data loss situations.


You can delete hidden files the same way you’d delete a visible file. However, in order to do so, you first need to make sure your system displays the hidden files.
  1. Open File Explorer and navigate to the folder that contains the hidden files.
  2. Click the View tab and ensure that the Hidden items checkbox is ticked.
  3. Right-click the files you want to delete and click Delete.
Hidden files that have been deleted will be moved to the Recycle Bin by default before being permanently deleted.
Before you can unhide a hidden folder or hidden files on computer, you first need to make sure your system can see all hidden files and folders. Then, you can specifically remove the hidden attribute from the folder.
  1. Open File Explorer and navigate to the parent folder that contains the hidden folder.
  2. Click the View tab at the top and make sure the Hidden items checkbox is ticked.
  3. Right-click the hidden folder and click Properties.
  4. Deselect the Hidden attribute, click Apply then OK.
After you’ve clicked Apply, the hidden folder will now be visible again, even if you uncheck the Hidden items checkbox.
Even if you’re running an older operating system like Windows 7, you can still find hidden files on PC.
  1. Click Start, then open the Control Panel. Go to Appearance and Personalization.
  2. Click Folder Options, then click on the View tab.
  3. In the Advanced settings sections, click Show hidden files, folders, and drives. Click OK.
Once this is confirmed, you can find hidden pictures on computer, as well as other files.