Task sequence and OSD

0x8007001F: A device attached to the system is not functioning

Windows got a general failure from a device or its driver. In SCCM it shows in task sequences and Windows upgrades, usually for a disk or a driver.

Hex code0x8007001F
Decimal-2147024865
NameERROR_GEN_FAILURE
Logs to readsmsts.log, setupact.log, setuperr.log, DISM.log, CBS.log

What 0x8007001F means

A device, or the driver that runs it, returned a general failure. Windows cannot say more than that. The log around the code names the device or the file involved.

In SCCM you see it in smsts.log during OS deployment, when a step reads or writes a disk or USB media. You also see it for in-place upgrades and feature updates, where a driver fails during Windows Setup.

Common causes

  • The hard disk or its cable is failing.
  • USB media was removed or stopped responding during the task sequence.
  • The storage driver in the boot image does not suit the controller.
  • A driver fails during a Windows upgrade.
  • A docking station or other attached device misbehaves during setup.

How to fix 0x8007001F

  1. Find the step and the device

    Open smsts.log and search for 8007001F. Read the lines above for the step name and the path. In WinPE the log is at X:\Windows\Temp\SMSTSLog\smsts.log. For an upgrade, read setuperr.log in C:\$WINDOWS.~BT\Sources\Panther.

  2. Test the disk

    Run the vendor's disk diagnostics from the firmware menu. In WinPE, press F8 and run diskpart, then list disk. A disk that appears and disappears, or shows the wrong size, is faulty. Try the task sequence on a second computer to compare.

  3. Remove extra devices

    Unplug docks, USB hubs, card readers and external drives. Keep only the network cable and the boot media. Then run the task sequence or the upgrade again.

  4. Update the storage driver in the boot image

    In the console, open the boot image properties, Drivers tab. Replace the storage driver with the current vendor driver for that WinPE version. Update the distribution points. Check the storage mode in the firmware, such as AHCI or RAID.

  5. Update drivers before an upgrade

    For a feature update or an upgrade task sequence, update firmware and drivers first. Run SetupDiag from Microsoft on the failed client. It names the driver or phase that broke the upgrade.

Commands that help

Check disk health on a full Windows client · PowerShell
Get-PhysicalDisk | Select-Object FriendlyName, MediaType, HealthStatus, OperationalStatus
Got a different code?

Turn any hex or decimal error code into its meaning, or search every code on this site.

Error code lookup All SCCM error codes

✉

Get new articles in your inbox

SCCM guides, AI tools, automation tips — sent when published. No spam.