Task sequence has failed with the error code 0x800700A1

14 6,866

One of our customer decided to go with brand new range of dell latitude laptops. The customer is running SCCM integrated with MDT. The moment they started imaging the laptops using SCCM, they got an error. Task sequence has failed with the error code 0x800700A1. For more information, contact your system administrator or help desk operator. This error occurred while imaging new laptops only. On other old laptops, the operating system deployment worked well. Error 0x800700A1 translates to disk being RAW format. Probably the hard disk format on new laptops is not something that SCCM likes. If the partition is in RAW format, it is always recommended to format it before the OSD. In other words before a package that gets cached to the hard disk, the disk needs to be formatted properly. Below is the screenshot of the error.

Task sequence has failed with the error code 0x800700A1Task sequence has failed with the error code 0x800700A1

To fix the error task sequence has failed with the error code 0x800700A1, you could try the below steps. Basically we use diskpart commands to format the disk. In addition here is the link for diskpart commands and diskpart command line options. First of all in the WinPE environment, press F8 which brings up the command prompt. Type the below commands in order.

diskpart
list disk    (lists the disks)
select disk 0    (0 being the disk to setup)
clean    (wipes the disk)
create partition primary (creates windows partition)
select partition 1
format quick fs=NTFS (Format primary partition)
assign letter C
exit

After performing the above steps, restart the machine and try the OSD again. This time you shouldn’t see the task sequence failing with error 0x800700A1.

  • Trying to create partition primary, I receive an error that reads “DiskPart has encountered an error: The request could not be performed because of an I/O device error. See the system event log for more information.”
    Any Ideas?

  • After I write the first four lines from the above, I get an error that says “Virtual Disk Service Error: There is not enough usable space for this operation.”
    This doesn’t make sense to me because the command “clean” would wipe the disk that I selected to clean. I ran the commands multiple times and am still getting this error. Any suggestions?

      • I’m actually not 100% if it is. It was imaged at one point. However, as I was working on it slowed down a lot. So I decided to re-image the machine and that is when I came across this message.

  • Thanks for the post, based on your suggestion I discovered my hard drive was not being detected, I switched SATA ports, It formatted and imaged as expected.

  • Hi,

    I also get the error. I wrote a PS script to chose the disk in OSD when there are multiple disks. So I can prevent to format wrong disk. Unfortunately I have to run the script before the disk gets formated. Any other idea to run the script except copying it to Boot WIM?

    Thank you for your help.

  • This “before a package that gets cached to the hard disk, the disk needs to be formatted properly.” fixed it for me. I accidentally had put a package before the formatting of the disk in my TS order.

    As soon as I placed the package after the formatting disk step, the error went away.

  • >