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.
- Open Command Prompt as Administrator (press Win+X, then select "Terminal (Admin)" or "Command Prompt (Admin)").
- Type
diskpartand press Enter. - Type
list diskand 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). - Type
select disk X(replace X with your external drive's number) and press Enter. - Type
online diskand press Enter. This removes the offline status. - Type
attributes disk clear readonlyand press Enter. This removes any read-only flag that might block writes even after going online. - Type
exitto 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, thenselect partition 1, thenassign 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\TimeOutValueand set it to60(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.