0x8078015B

Backup Target Disk Offline: Why Windows Drops External Drives

Windows backup fails with 'target disk offline' when an external drive's disk signature conflicts. The fix is simple: disable offline mode in Diskpart.

You plug in an external hard drive, open Windows Backup (or a third-party tool like Veeam or Acronis), and get slapped with: "The backup target disk is offline" or error code 0x8078015B. The drive shows up in File Explorer just fine—you can copy files to it manually—but backup software refuses to touch it. This usually happens after you've moved the drive between different PCs, or after a Windows update that resets disk attributes.

Why This Happens

What's actually happening here is that Windows has marked the disk as offline in Disk Management. This isn't the same as the drive being disconnected or powered off. It's a deliberate state Windows uses to prevent accidental writes to disks whose signatures conflict with another disk already on the system. The real trigger is a duplicate disk signature—when you plug a drive into a machine that already has a disk using the same signature ID, Windows sets it offline to avoid chaos.

Backup software is smarter than File Explorer. When it sees an offline disk, it refuses to write to it because Windows won't allow writes to offline disks. File Explorer doesn't care—it reads from the disk's partition table and shows you files, but it can't write either (try saving a file directly to it—you'll get an error). So the fix is to bring the disk back online and optionally clear the read-only attribute if it's set.

The Fix (No Data Loss)

Skip the Disk Management GUI—it can set the disk online but often fails silently if the read-only flag is also set. Instead, use Diskpart in an elevated command prompt. This takes 30 seconds.

  1. Open Command Prompt as Administrator (press Win+X, then select "Terminal (Admin)" or "Command Prompt (Admin)").
  2. Type diskpart and press Enter.
  3. Type list disk and press Enter. Note the disk number of your external drive (usually Disk 1, Disk 2, etc.). Don't confuse it with your internal drive (usually Disk 0).
  4. Type select disk X (replace X with your external drive's number) and press Enter.
  5. Type online disk and press Enter. This removes the offline status.
  6. Type attributes disk clear readonly and press Enter. This removes any read-only flag that might block writes even after going online.
  7. Type exit to close Diskpart.

The reason step 5 works is that Windows holds a disk signature database in the registry. When you run online disk, Diskpart tells the OS: "This disk is allowed to be written to, even if its signature matches another disk." The read-only attribute is a separate flag—some drives get it set after a failed Windows Update or if the drive was used in a camera or Xbox. Clearing both ensures backup software sees a fully writable target.

Still Failing? Here's What to Check

If the backup still fails after that, you've got one of three things going on:

  • The drive is formatted as exFAT or FAT32. Windows Backup requires NTFS for the target disk. exFAT is common on external drives fresh out of the box. Reformat to NTFS—but you'll lose data, so back the drive up first.
  • The drive letter vanished after reboot. Some USB enclosures get confused on boot. Run Diskpart again and assign a drive letter: select disk X, then select partition 1, then assign letter=Z (choose any free letter).
  • Windows has a stale offline marker in the registry. Open Regedit, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk\TimeOutValue and set it to 60 (decimal). Reboot. This fixes drives that keep going offline after sleep or hibernate.

That third one is rare but real—I've seen it on Dell laptops with Intel RST drivers. The driver times out scanning the disk on resume, and Windows punts the disk to offline mode. Bumping the timeout gives the drive time to respond. Don't set it higher than 120—you'll delay boot if an internal drive ever has issues.

Related Errors in Hardware – Hard Drives
0XC000022E STATUS_FOUND_OUT_OF_SCOPE (0XC000022E) – Real Fixes Hard Drive Click of Death: Stop the Noise, Save Your Data Invalid Class Name Invalid Class Name Hard Drive Error: Real Fix 0XC00D0009 FIX: NS_E_CANNOTOFFLINEDISK (0xC00D0009) Disk Offline Error

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.