Unplugged a USB Drive? Check and Repair It in Windows

USB flash drive laptop
Photo: Shixart1985 · CC BY 2.0 · via source

Learn how to protect your files, check the USB drive for errors, and repair it without making a small problem worse.

First, do not panic

Accidentally unplugging a USB drive does not automatically ruin it. The greatest risk comes when Windows is saving or copying data at the exact moment the drive is removed. A file being written may become incomplete, and the drive's file system—the index Windows uses to locate files—may develop an error.

If the drive was sitting idle, your files are probably fine. Even so, treat it gently until you have checked it. Do not save new files to it, delete anything, or agree to format it. Formatting prepares a drive for fresh storage and can make recovery harder.

These instructions apply to Windows 10 and Windows 11. Button wording may vary slightly between versions.

  1. Leave the USB drive disconnected until any copy or save window has disappeared.
  2. Reconnect the drive directly to a USB port on the computer.
  3. Select Cancel if Windows asks you to format the drive.

Rescue important files before repairing the drive

If the drive opens, copy your irreplaceable files somewhere safe before running a repair. Repair tools change the drive's file-system information, so making a backup first is the cautious move.

Start with documents, photos, and other files you cannot replace. Do not begin by copying hundreds of gigabytes if the drive is behaving strangely.

  1. Press the Windows key and E together to open File Explorer.
  2. Select This PC in the left side of File Explorer.
  3. Double-click the USB drive under Devices and drives.
  4. Create a new rescue folder on your Desktop.
  5. Copy your most important files from the USB drive.
  6. Paste the copied files into the rescue folder.
  7. Open one or two copied files to confirm that they work.

Check and repair the USB drive

Windows includes an Error Checking tool for this job. It examines the drive's file system and offers to repair problems it can handle. Keep the drive connected throughout the scan, even if the progress appears to pause.

Close any document, photo, music, or video that is still open from the USB drive before starting. Programs can continue holding a file even after its window appears finished.

  1. Return to This PC in File Explorer.
  2. Right-click the USB drive.
  3. Select Properties from the menu.
  4. Select the Tools tab in the Properties window.
  5. Select Check under Error checking.
  6. Select Scan drive if Windows offers that choice.
  7. Select Repair drive if Windows reports errors.
  8. Wait for Windows to report that the scan or repair is complete.
  9. Select Close when the result appears.

Know when to stop

Stop troubleshooting if the drive disappears repeatedly, shows the wrong capacity, makes clicking or grinding sounds, or still asks to be formatted. Do not initialize, erase, or format it. If the missing files matter, disconnect the drive and consider a professional data-recovery service.

A successful scan is encouraging, but it cannot prove that every individual file is intact. Open several important files from your rescue folder. Check recent files especially, because they were most likely to have been in progress when the drive was unplugged.

  1. Disconnect the drive if it repeatedly vanishes or makes unusual mechanical noises.

Remove it safely next time

Windows normally uses a Quick Removal policy on current systems, which reduces reliance on write caching. Write caching temporarily holds changes in memory before sending them to the drive. Quick Removal lowers the risk, but it does not protect a drive that is unplugged during an active copy or save.

The safest everyday habit is still simple: close files, wait for activity to finish, and use Windows' eject command. The eject icon may be behind the small upward arrow near the clock.

  1. Close every file that is open from the USB drive.
  2. Wait for any copy progress window to finish.
  3. Select the upward arrow near the taskbar clock.
  4. Select the Safely Remove Hardware and Eject Media icon.
  5. Select the name of your USB drive.
  6. Wait for the safe-to-remove message before unplugging it.

Bottom line

If the USB drive opens normally, rescue important files first and then run Windows Error Checking. Never format a troubled drive just because Windows suggests it—and next time, wait for saving to finish before ejecting it.

Sources

Steps grounded in the guidance above; wording and walkthrough are PcFixin' originals.

Need a hand?

If you'd rather someone just take care of it, PcFixin' can help — residential or commercial.

About PcFixin'