Accidentally Formatted a Drive, USB Stick or Memory Card: What Happens to the Data When You Format, When It Can Be Recovered and Which Actions in the First Few Minutes Decide Everything

Accidentally formatted a drive

Formatting by mistake is one of the most common data loss scenarios. Someone meant to format a new USB stick but picked the external drive with the archive. Windows showed "You need to format the disk before you can use it", and the user clicked "Yes". During a system reinstall, a self-taught technician deleted every partition, including the one with documents. A photographer formatted the memory card in the camera without copying the latest shoot. In every case the first reaction is panic, and the second is an attempt to fix things urgently. Let's look at what really happens when you format and why the outcome depends on your first actions.

What happens when you format

Formatting creates a new, empty file system on the media — the index that records where files are located. With a quick format on a hard drive, USB stick or memory card, mostly just this index is overwritten, while the data itself physically stays in place until something new is written over it. So after a quick format, recovery is often possible, although sometimes without the original file names and folder structure.

With a full format in modern versions of Windows, the entire media is overwritten with zeros. After that, recovering the data by software means is practically impossible. "Erasing" a memory card in some cameras and phones works in a similar way.

A special case: SSDs

Solid-state drives work differently. When you format or delete partitions, the system sends the SSD a TRIM command saying all blocks are free. The SSD's controller clears them in the background, often within minutes. So the chances of recovering data after formatting an SSD are much lower than with a hard drive, and time is critical: the sooner the drive is disconnected, the better the chance the clearing hasn't finished. External SSDs and some USB connections don't always pass TRIM through, which sometimes improves the odds.

"You need to format the disk" — say no

If Windows offers to format a USB stick or drive when you connect it, that means the system can't read its file system. There can be various causes: file system damage, unsafe removal, a controller fault, a physical failure. The data is usually still there. Clicking "Format" means reducing your chances of recovery with your own hands. The right move is to cancel and disconnect the media.

Reinstalling Windows on a drive with data

The worst case is when an operating system is installed on the drive straight after formatting. Installation writes tens of gigabytes of files, which land on top of the old data, mostly at the beginning of the drive. Some information stored further along can sometimes be recovered, but a full recovery is unlikely in this case.

What not to do

  • Write anything to the formatted media — not even "just to check" that it works.
  • Install recovery programs on it or save recovered files to it.
  • Run another format, a disk check or "error repair".
  • Keep using the camera with the formatted card.
  • Leave an SSD switched on "for later".

What are the chances

  • Quick format of a hard drive, USB stick or card, nothing written since — high chances.
  • Quick format and a few new files — good chances, but some data may be damaged.
  • A system reinstalled over the data — partial recovery.
  • A full format — recovery is practically impossible.
  • SSD — depends on the model, the connection and the time elapsed; lower chances.

What our technician does

  1. Finds out how and with what the format was done and what happened afterwards.
  2. Connects the media in read-only mode so nothing is changed.
  3. Creates a full sector-by-sector image and works with that.
  4. Looks for remnants of the previous file system and recovers the folder structure, or files by their signatures.
  5. Saves the recovered data to other media and checks that the files open.

A real example

A company manager from Dighomi wanted to prepare a USB stick for a presentation and accidentally formatted a 2 TB external drive holding five years of the department's documents. He realised the mistake at once, disconnected the drive and wrote nothing to it. The format was a quick one, so we recovered practically all the documents with the original folder structure and file names. Only a handful of files were damaged, partly overwritten when the new file system was created. Afterwards we set up automatic backups to a NAS for the department.

A word about memory cards in cameras and dashcams. Many cameras perform only a quick clean when formatting, and if you don't shoot anything straight afterwards, the pictures can often be recovered, including RAW files and video. But photographers often keep shooting on the same card without noticing the mistake, and every new frame lands on top of the old ones. So as soon as you realise a card was formatted by mistake, take it out of the camera and keep it separately until recovery. If you have a spare card, carry on shooting with that one.

Call a technician

If you've accidentally formatted media holding important data, disconnect it and get in touch — we'll help in any district of Tbilisi around the clock. Learn more on our data recovery, USB flash drive recovery and hard drive recovery pages.

Need help right now?

On-site technician across Tbilisi and suburbs, 24/7.

Comments 0

No comments yet. Ask a question and a technician will reply.

Leave a comment

Comments appear after moderation. Links and advertising are not allowed.

Open 24/7

Request a technician

Describe the problem — a technician will contact you, clarify the details and quote a price.

'Lucky Time' · −30%

We call back in 5 minutes

Leave your number — a technician will call you and advise for free.