It happens to everyone eventually. You tidy up your desktop, empty the Recycle Bin, and a few minutes later realise the client proposal, the school report or the only copy of your wedding photos was inside. Or your phone's memory card suddenly says it needs to be formatted, or a flash disk stops showing your files. The first reaction is panic. The good news is that, in many cases, deleted files can be recovered, especially if you act quickly and stop using the affected device. This guide explains why recovery is often possible, the free tools and methods for computers, phones and flash disks, when to call a professional, and how to make sure you never face this stress again.
Why deleted files can often be recovered
When you delete a file on most storage devices, the data itself is not immediately erased. Instead, the system marks the space the file occupied as "available". The file's contents remain physically on the disk until something new is written over that space. Recovery tools work by scanning the disk for these leftover files and reconstructing them.
This leads to the single most important rule of data recovery: stop saving new files to the device as soon as you notice the loss. Every new download, photo, app installation or document could overwrite the space where your lost file sits. If the lost file was on your computer's main drive, avoid installing recovery software on that same drive; install it on another drive or use a portable version from a flash disk.
There is one important exception. Modern solid state drives (SSDs) with a feature called TRIM, standard on most new laptops, often clear deleted data quickly to maintain performance. On these drives, recovering permanently deleted files can be very difficult, which makes backups even more important.
Start with the easy places
Before trying specialised tools, check places where deleted files often wait to be restored.
Recycle Bin and Trash
On Windows, open the Recycle Bin on your desktop, find the file, right-click it and choose Restore. It returns to its original location. On a Mac, open the Trash in the Dock, right-click the file and choose Put Back.
Cloud recycle bins
If the file was in cloud storage, it may be recoverable even after you deleted it from your device. Google Drive keeps deleted files in Trash for 30 days. OneDrive has a Recycle Bin that retains files for a period depending on your account. Google Photos keeps backed-up photos in its Bin for 60 days. On iPhone, the Photos app has a "Recently Deleted" album that keeps photos for about 30 days, and the Files app has its own Recently Deleted section.
Previous versions and backups
On Windows, right-click the folder where the file used to be, choose Properties and open the Previous Versions tab. If File History or system protection was enabled, older versions may be available. On a Mac, Time Machine backups let you browse back in time. In Microsoft Word, Excel and PowerPoint, open File, Info, Manage Document to find unsaved or autosaved versions, which can rescue work lost when an application crashed or power went off before you saved.
Recovering files on Windows with free tools
Recuva is one of the most beginner-friendly free tools. Install it on a different drive from the one you are recovering, choose the type of file you are looking for, such as documents, pictures or videos, select the location, and run a scan. If the quick scan finds nothing, try the deep scan, which takes longer but finds more.
Windows File Recovery is a free Microsoft tool available from the Microsoft Store. It runs from the command line, so it is less friendly, but it is powerful and supports many file systems.
PhotoRec is free and open source. Despite its name, it recovers documents, videos, archives and many other file types, not just photos. It ignores the damaged file system and searches for file signatures directly, which means it can recover files even from drives that have been formatted. The trade-off is that recovered files may lose their original names.
Whatever tool you use, always save recovered files to a different drive, never back onto the drive you are recovering from, to avoid overwriting other lost data.
Recovering files from flash disks and memory cards
Flash disks and SD cards are widely used in Uganda for moving documents and storing phone media, and they are prone to accidental deletion and corruption. If a card or flash disk suddenly says it needs to be formatted, do not format it if you need the data. Connect it to a computer, using a card reader for memory cards, and run Recuva or PhotoRec on it.
If your files suddenly turned into shortcut icons rather than disappearing, they are probably hidden by malware rather than deleted. In that case, follow our guide on removing the shortcut virus, which uses a simple command to make them visible again.
Recovering deleted files on Android
Start with Google Photos' Bin and your gallery app's "Recently deleted" or "Trash" folder, which many Android phones now have. Check Google Drive and any backup apps you use. For WhatsApp, if Google Drive backup was enabled, you can uninstall and reinstall WhatsApp and restore the latest backup; media you received may also remain in the WhatsApp folder inside your phone's file manager. Recovering files from an Android phone's internal storage without a backup is difficult and often requires rooting the phone, which carries risks. Be cautious of Play Store apps promising miraculous recovery; many are simply filled with adverts. If the files were on an SD card, remove it and scan it with a computer instead.
Recovering deleted files on iPhone
Check Photos, Albums, Recently Deleted, and Files, Recently Deleted. If the files are gone from there, you may be able to restore from an iCloud backup or a computer backup made with Finder or iTunes. Be aware that restoring a full backup replaces the current contents of the phone, so you may want to back up the current state first.
When to call a professional
Software tools are for logical problems such as accidental deletion or formatting. If a hard drive is clicking, grinding or not detected at all, a laptop was dropped, or a phone was badly water-damaged, stop trying software tools. Repeatedly powering on a physically failing drive can destroy the remaining data. Professional data recovery services in Kampala can work on the hardware directly, sometimes in specialised clean environments. These services cost more, so ask for an evaluation and quote first, and proceed only if the data is worth it.
How to never lose important files again
The best data recovery is not needing it. Follow the 3-2-1 backup rule: keep three copies of important data, on two different types of storage, with one copy off-site or in the cloud. In practice, that might mean files on your laptop, a copy on an external drive and a copy in Google Drive or OneDrive. Turn on automatic phone backup with Google Photos, Google One or iCloud; see how to back up your phone. Save work documents in cloud-synced folders so every change is backed up automatically. Businesses should also protect their websites and email: Baasa Cloud hosting includes daily backups, so a site can be restored if something goes wrong.
Frequently asked questions
Can I recover files after formatting a drive?
Often yes, particularly after a quick format, as long as little new data has been written. PhotoRec is especially good at this.
How long do I have to recover a deleted file?
There is no fixed deadline. It depends on how quickly new data overwrites the space, so act as soon as possible.
Are recovery apps on the Play Store safe?
Some are legitimate, many are not. Check reviews, permissions and the developer, and never pay before seeing a preview of recoverable files.


