DiskSalvor › Help

What Windows does when you plug in a drive

How drives work · Drivers, Disk Management, indexing and thumbnails: what Windows does to a drive on its own, and how to stop it straining a failing one.

Plug indriver identifies it:model, size, serialDisk N appearsDisk Management,\\.\PhysicalDriveNRead sector 0–33MBR or GPT?list partitionsEach partition:recognise itsfile system? Yes: mount itgives it a letter (G:)dirty flag set? →"Scan and fix?" pop-up No: shown as RAW"You need to format the diskbefore you can use it"→ click Cancel Then, in the background:indexing, antivirus,thumbnails, AutoPlay;Recycle Bin and SystemVolume Information (writes!) No partition table at all? Disk Management may ask to"Initialize disk": that writes a new, empty table. Cancel.
Windows partWhat it doesWhy it matters for recovery
Storage driversIdentify the drive and pass commands to itRetries failed reads several times before giving up, so one bad spot can freeze things for minutes.
Disk Management (diskmgmt.msc)Shows Disk 0, Disk 1… with their partitionsOffers to Initialize a disk with no recognised table, and to Format RAW partitions. Both write. Use it only to look.
Mount managerGives each recognised volume a drive letterAn unrecognised (damaged) volume still gets a letter but shows as RAW.
File-system driversRead and write NTFS, exFAT, FAT, ReFSOn mount NTFS replays its journal: that writes to the drive even if you only open it.
Dirty flagSet while a volume has writes in progress; cleared on clean ejectStill set at next plug-in → "Scan and fix?" prompt.
Write cache / removal policy"Quick removal" (default for USB) writes immediately; "Better performance" cachesUnplugging or rebooting while files are being written can leave half-written sectors and a damaged index.
Safely remove / EjectFlushes and closes the volumeFails if anything has a file open (Explorer preview, antivirus, a copy). Forcing it by pulling the plug or rebooting mid-write is a classic cause of damage.
Background servicesSearch indexing, Defender, thumbnails, AutoPlay, Recycle Bin, System Volume InformationRead (and sometimes write) the drive without asking. On a fragile drive, close Explorer windows on it.
CHKDSK / "Scan and fix"Repairs file-system structures in placeWrites; on a damaged index it may move or delete what it can't place. Never on a failing drive before your data is copied.
TRIM / Optimize DrivesTells SSDs which space is freeMakes deleted files on SSDs unrecoverable. Quick-formatting an SSD trims the whole volume.
BitLockerUnlocks encrypted volumesA locked volume reads as noise until unlocked.
Disk signaturesEach disk has an IDTwo disks with the same ID (a clone) → Windows sets one offline.
← PreviousInside FAT32 and exFATNext →What has a backup copy, and what doesn't

Free help for a failing drive

DiskSalvor is free, open-source data recovery for failing drives on Windows. It never writes to the drive, gets the easy files off first, goes back for the rest round by round, and explains what it's doing in plain English. No file limits, no paid edition, no account.

Start here if your drive is failing

How drives work

Reference