Learn how to recover deleted files in any situation via the corresponding ways on this page. Besides, there’re practical data loss prevention measures for you.
If you find yourself in the distressing situation of accidental or intentional deletion, take a moment to compose yourself and lower your stress levels. In the majority of instances, it’s possible to recover deleted files from various storage devices such as computer hard drives, USB sticks, external hard drives, or iOS devices.
How to recover deleted files Windows 10 or 11 PCs? Please refer to the following ways.
After accidental deletion, you can press “Ctrl + Z” to Undo Delete them immediately. Then these accidentally deleted files will be restored to their original locations.
Besides, you can also recover deleted files from Recycle Bin before permanent deletion (emptying your desktop Recycle Bin or pressing Shift + Delete to remove certain files).
» Open your desktop Recycle Bin > locate the deleted file you intend to retrieve > right-click on it > Restore it to its previously saved path.
Sometimes, your missing files might be hidden from you instead of deletion. So you can use the attrib command to make hidden files/folders visible to you because attrib is designed to change the file attribute of a file/folder. Please get an overview of common file attributes.
▶Read-only (R): No written permission to change or alter the read-only file.
▶Hidden (H): Besides Windows apps like File Explorer, MS-DOS commands like dir are not allowed to show hidden files/folders to users.
▶System (S): You can modify the priority of the file/folder.
▶Archive (A): If the hosting file has been changed since the last backup, the backup tool will inevitably erase it after a full/incremental backup.
Likewise, you can also employ the dir command to show hidden files.
Step 1. Enter “cmd” in the search bar on your PC and “Run as administrator” to open it.
Step 2. Copy “attrib –h –r –s /s /d G:\*.*” in the command prompt window. In this case, G is the drive letter of your drive that saves your hidden files, you can replace this letter with the real drive letter.
Step 3. After the process, you’ll find a new folder with your desired files saved on your Windows PC. You can also change their formats and store them in another path.
If even the attrib command cannot work for you to show hidden files/folders, these files are probably deleted instead of hidden.
Backup and Restore first appeared in the Win7 operating system. As the name suggests, a backup is a necessity for the restoration process. Let’s show how to recover permanently deleted files via Backup and Restore.
Step 1. Type “System and Security” in the search bar to open it. Then select “Restore files from backups” under the Backup and Restore (Windows 7) tab.
Step 2. Click the “Restore my files” button.
Step 3. Select “Browse for files” to locate your wanted files > click Next.
Step 4. To retrieve your selected TS videos to their original location or set a new saved path > click Restore.
But how to recover deleted files from Recycle Bin after emptying them? Especially for users without regular backups. At this point, using professional data recovery software remains the most effective way to recover permanently deleted files.
Perhaps MyRecover can fulfill your needs because it is designed to recover deleted and lost files from internal and external hard drives, USB flash drives, SD cards, etc.
Step 1. After launching MyRecover on your Windows > hover the mouse over the D drive > click Scan.
Step 2. MyRecover will automatically run Quick and Deep Scan to scan your selected D drive and display all the recoverable files.
To quickly find your wanted files, preview or filter them according to Filename, Type, Path, Size, Date, etc.
Step 3. Go to the Other Missing Files folder > select the files you intend to retrieve > click Recover x files to recover permanently deleted files.
Those users who’re familiar with CMD can try to recover lost files using Windows File Recovery because this free file recovery software aims to recover deleted/lost files from local storage devices such as HDDs, SD cards, and USB drives.
Moreover, you’re asked to replace your selected mode and switches with the following basic format command because this tool does not offer a graphical user interface (GUI).
▶winfr source-drive: destination-drive: [/mode] [/switches]
Step 1. Figure out the file system of your source drive: Open File Explorer by pressing the “Win + E” keys > click This PC > right-click on the source drive > click Properties.
Or the following form also can give you a hand.
File system |
Examples |
FAT and exFAT |
SD cards, flash or USB drives (< 4GB) |
NTFS |
Computers (HDD, SSD), external hard drives, flash or USB drives (> 4GB) |
Step 2. After checking the file system of your source drive, select the basic “Regular” or “Extensive” mode with the following form.
File system |
Scenarios |
mode |
NTFS |
Deleted recently |
Regular |
NTFS |
Deleted for a while |
Extensive |
NTFS |
Formatted disk |
Extensive |
NTFS |
corrupted disk |
Extensive |
FAT and exFAT |
Any |
Extensive |
Step 3. Select some common switches from the form below.
Switch |
Description |
Supported modes |
/y: |
Recover specific extension groups, comma-separated |
Signature |
/p: |
Saves a log file of the recovery operation in a different location than the default location on the recovery drive (for example, D:\logfile). |
All |
/a |
Overrides user prompts, which is useful in a script file. |
All |
/u |
Recovers undeleted files, for example, from the Recycle Bin. |
NTFS Segment |
/k |
Recovers system files. |
NTFS Segment |
/g |
Recovers files without primary data streams. |
NTFS Segment |
/e |
To keep your results manageable and focus on user files, some file types are filtered by default, but this switch removes that filter. |
NTFS Segment |
/e: |
Specifies which file types are filtered. |
NTFS Segment |
Step 4. Download Windows File Recovery from the Microsoft Store by clicking the “Get” button. After installation, “Open” it on your computer.
Step 5. For example, if you attempt to recover deleted MP4 videos from the original F drive and save them to the D drive, enter “winfr F: D: /extensive /n *.mp4” in your command prompt window.
Step 6. Press “y” to go on. After the recovery process, you can go to the specified saved path to check your recovered MP4 files. If you want to stop the process, press the “Ctrl + C” keys.
This part aims to help you recover recently or permanently deleted files on Mac.
As the title implies, this method is designed to recover inadvertently or recently deleted files from the Mac Trash.
» Find the corresponding Trash Bin in the Dock > find the deleted files you want > right-click on it > select Put Back.
Time Machine, a backup feature provided by Apple, automatically creates backups at regular intervals, such as hourly, daily, and weekly, ensuring your files are safeguarded and recoverable in case of accidental deletion.
If you’ve enabled Time Machine before, you can easily restore files from backups. Let’s perform how to recover permanently deleted files via Mac Time Machine.
Step 1. Open the window where you lost files.
Step 2. Click the Launchpad icon in the Dock, find Time Machine, and click Enter Time Machine.
Step 3. Use the up and down arrows to locate the files you need to restore.
Step 4. “Restore” your selected files to their previous location.
Where do permanently deleted photos go on iPhone? Similar to Windows data recovery, permanently deleted photos might be still on your iOS device provided that they haven’t been overwritten by newly captured images.
Thus, you’re recommended not to take new pictures on your iPhone for a higher iPhone data recovery rate. But in practice, it’s unavoidable to save images in daily use.
In this scenario, you can seek assistance from powerful iOS data recovery software like MyRecover for iOS. Moreover, the sooner you begin iPhone permanently deleted photo recovery via MyRecover for iOS, the better chances you’ll get.
Step 1. After launching it on your PC, connect your iPhone to the computer.
Step 2. Please “Trust This Computer” on your iPhone, then click “Scan Now” to start the scanning process.
Step 3. You can see the recoverable images in the window after scanning. Please click the “Recover” button to get your selected photos back.
How to recover deleted files in any situation? How to recover permanently deleted files from different storage devices such as computer OS or iPhone? Please get the respective way to solve these issues.
To safeguard against data loss from the source, it’s necessary to create regular file backups using built-in features or trustable third-party backup software.
This proactive approach ensures that your important data remains secure and retrievable in case of any unforeseen events.