- How to create a PowerShell alias - Tue, Jul 29 2014
- System Center Updates Publisher – Create a SCUP catalog - Fri, May 23 2014
- System Center Updates Publisher – Third-party patch management - Wed, May 21 2014
- Error: Failed to run task-sequence 0×80070032
- Error: Failed to stage WinPE. Code(0x80070032)
- The parameter is incorrect. Error 0×80070057
- The task-sequence has failed with Error: 0x80070070
- The directory is not empty. Error: 0×80070091
- Element not found. Error 0×80070490
- Image has failed with the Error: 0x800700A1
- Error: 0x80042413; source: unknown
In the next three posts I will write about errors I have experienced whilst working with SCCM Windows deployment. I have re-written the “cause” from the original smsts.log and added my own brief explanation and what to do to fix it. My intention is to help you avoid even looking at the log files. You just look at the error popup instead! I have categorized the errors into: Disk issues, network, XML, and media. In this post I will cover disk issues
Error: Failed to run task-sequence 0×80070032 ^
Error: Failed to stage WinPE. Code(0x80070032) ^
CAUSE: There is no valid file system either because the target is corrupt, encrypted or unformatted. The task requires SCCM to COPY the WinPE files to C: i.e. you must have an NTFS partition as a pre-requisite.
FIX: Quick format the disk with echo y|format c: /q or recreate the disk partitions using diskpart.exe
One other possibility I have seen for this error is that the disk you are targetting has gone "offline" (as seen by diskpart). Just make it online
sel dis 0
online dis
The parameter is incorrect. Error 0×80070057 ^
CAUSE: no C: volume exists
FIX: Open a shell and use diskpart to create a C drive
The task-sequence has failed with Error: 0x80070070 ^
CAUSE: The partition is too small for the build. On a new OEM machine the Task Sequence will default to install to the machine's super secret OEM partition, which is 1GB at best, so your big 4GB “fat image” won't fit. You may have the 100MB BitLocker partition present instead.
FIX: Check the partition sizes with diskpart and edit the disk as appropriate.
The directory is not empty. Error: 0×80070091 ^
CAUSE: Once I somehow managed to allow the Task Sequence to write a logfile to C: whilst trying to wipe it at the same time.
FIX: My fix was simply to reboot, but as a general issue if SCCM cannot wipe the target disk because of corrupt files or illegal filenames, use “diskpart clean” and then re-run the deployment.
Element not found. Error 0×80070490 ^
Symptom 1: if you open shell and try changing drive to C: you get: "The volume does not contain a recognised file system.."
Symptom 2: Unable to find a volume that is suitable for staging the boot image. Element not found.
CAUSE: The C drive is not formatted (or is encrypted) so SCCM cannot create logs, the task sequence or stage WinPE.
FIX:
1) Open a shell (F8)
2) format c: /q
That's ALL. Don't wipe the drive with "clean"! Format C will leave the other partitions (e.g. D: or whatever you have) intact.
Alternate CAUSE: The BIOS has set the HDD in RAID mode and the WinPE boot image has no suitable driver to even wipe the disk.
FIX: Set BIOS to use AHCI (or IDE if the machine is too old) or load RAID drivers into WinPE
Image has failed with the Error: 0x800700A1 ^
CAUSE: No C partition exists OR the disk is RAW.
Fix: Create a C partition and format it with echo y|format c: /q. Then run tsbootshell.exe again to run the wizard.
Error: 0x80042413; source: unknown ^
CAUSE: Trying to format disk 0, partition 0, whilst using it at same time is generally not a good idea! Diskpart quits with error 2147755027
FIX: The disk will be corrupt now, so use diskpart clean. Format c: is not enough this time.
Subscribe to 4sysops newsletter!
In Part 3 I will discuss SCCM errors related to networking , XML and media.
I was able to solve the Code(0x80070032) by changing picking the right OS in the Wim file. The Windows Installer Wim file contained several OSes. So I picked professional 64bit instead of Premium 32 bit.
Hi,
How do you select the OS automatically? Is there a config file? Thanks
This article is very helpful. I’ve used it several time during OSD issues. Thank you for posting.
Awesome. Helped a lot. Thanks mate.
Hi,
I Am getting there is no task sequence available error while deploying windows image.
Please help.
Hi,
Nice article. There is one thing that I like to mention. In the section, for Error: 0x800700A1, you have to use the diskpart commands and only then the error will be fixed. I got it fixed from this article – https://www.prajwaldesai.com/task-sequence-has-failed-with-the-error-code-0x800700a1/
Hi Vijay – thanks for the compliment. You are right about diskpart – I don’t know why I didn’t include it. I’ll fix that now.
What I find easiest to simply avoid typing is to put the diskpart commands in a text file. Then you can use diskpart /s yourfile.txt
The text file for a machine with just one drive is this:
select disk 0
clean
create partition primary
select partition 1
format quick fs=NTFS
assign letter C
exit
This works best if you have a USB with the diskpart text file on. If you can’t do that and have to type, then a top tip is you can shorten all diskpart verbs commands to 3 letters. This means you can type this:
sel disk 0
cle
cre par pri
sel par 1
format quick fs=NTFS
ass C
exit