Fix SCCM Task Sequence Error 0x8007000F

Let’s see how you can FIX SCCM Task Sequence Error 0x8007000F. You might encounter a prompt message An error occurred while starting the task sequence during Operating System Deployment with SCCM.

The Task Sequence Error 0x8007000F is generic, and the solution could be different based on the details you get into logs.

First of all, you will need to understand the meaning of the error code 0x8007000F. You can use the method to translate SCCM Error Codes To Error Messages.

The Task Sequence error 0x8007000F translates to The system cannot find the drive specified. Generally, the error occurs If the task sequence cannot find the path because the drive is RAW and unable to find/format the disk properly before applying the image.

Patch My PC
Translate Error Code - Fix SCCM Task Sequence Error 0x8007000F
Translate Error Code – Fix SCCM Task Sequence Error 0x8007000F

Issue Descriptions – SCCM Task Sequence Error 0x8007000F

When users proceed for the deployment, At the initial stage of the task sequence step, Windows deployment gets failed. Here are the error details in the prompt window that appears.

ERROR: Task Sequence Failed with the Error Code 0x80070002. For more information, contact your system administrator or helpdesk operator.

Fix SCCM Task Sequence Error 0x8007000F
Fix SCCM Task Sequence Error 0x8007000F

It’s always be recommended to examine the SMSTS.log for task sequence failure issues that will help you get the inside about the failure prompt to troubleshoot the task sequence error, and most importantly, to be aware of the location of the SMSTS log during the SCCM OSD process.

More you can explore SCCM OSD Task Sequence Troubleshooting Steps by Step Ultimate Guide SMSTS.log.

Depending on the deployment or failure scenarios, the OSD troubleshooting logs (smsts.log) are located in different folders. Further examining the smsts log file, I got the following highlighted entry inside the logs for task sequence error 0x8007000f –

Failed to Stage WinPE
Failed to prepare the system partition for staging.
The system cannot find the drive specified. (Error: 8007000F; Source: Windows)
StageBootImage() failed. 0x8007000f

FIX – Task sequence has failed with the error code 0x8007000F

To fix this issue, The drive needs to be formatted before continuing with the task sequence. Let’s follow the steps below to format the hard drive –

#Option 1

If you’re already in the error windows screen, Press F8 to launch the command prompt window or Restart the machine and boot with the same task sequence to access the command prompt.

Important – Enable command support (F8) that is not recommended for production use. You can explore the available command prompt support option in Boot Image.

The diskpart command interpreter helps you manage your computer’s drives (disks, partitions, volumes, or virtual hard disks), Type the following commands in the command prompt

Diskpart
List disk                (Displays all the disks on the device)
Select disk 0            
Clean                    (Wipes the disk)
Create partition primary (Creates windows partition)
Select partition 1
Format quick fs=NTFS     (Format primary partition)
Assign letter C
Exit

Once you are done with the above steps, Restart the target machine and reinitiate the task sequence deployment, It should continue without any errors.

#Option 2

Sometimes, you may experience the formatting, and cleaning the drive doesn’t help in the scenarios, you may try to manually format the drive, and making a partition will be helpful.

Here you can change the drive size based on your requirements, however, once the task sequence will be executed. You will be able to standardize the drive partitions based on task sequence steps.

Diskpart
Select disk 0
Clean
Convert gpt
Create partition efi size=300
Format quick fs=FAT32
Create partition msr size=128
Create partition primary
Assign letter=c
Format quick fs=NTFS
Exit

If you have a different experience with the Task Sequence Error 0x8007000F, Examine the SMSTS.log to get more details! Would you please share your inputs in the comment section?

Use the HTMD Forum, the one-stop-shop for all your device management queries related to ConfigMgr (a.k.a SCCM), Intune, and more!

Author

About Author – Jitesh, Microsoft MVP, has over five years of working experience in the IT Industry. He writes and shares his experiences related to Microsoft device management technologies and IT Infrastructure management. His primary focus is Windows 10 Deployment solution with Configuration Manager, Microsoft Deployment Toolkit (MDT), and Microsoft Intune.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.