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.
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
-
Find the step and the device
Open
smsts.logand search for8007001F. Read the lines above for the step name and the path. In WinPE the log is atX:\Windows\Temp\SMSTSLog\smsts.log. For an upgrade, readsetuperr.loginC:\$WINDOWS.~BT\Sources\Panther. -
Test the disk
Run the vendor's disk diagnostics from the firmware menu. In WinPE, press F8 and run
diskpart, thenlist disk. A disk that appears and disappears, or shows the wrong size, is faulty. Try the task sequence on a second computer to compare. -
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.
-
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.
-
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
Get-PhysicalDisk | Select-Object FriendlyName, MediaType, HealthStatus, OperationalStatus
Turn any hex or decimal error code into its meaning, or search every code on this site.