PSD icon indicating copy to clipboard operation
PSD copied to clipboard

deploying image task sequence failed

Open Dinzen4t0r opened this issue 2 years ago • 7 comments

Hi We are getting constant failures when trying to image to our Devices. The logs show Task sequence failed to execute task sequence code 0x80004005. We are using the default task sequence psd template. It is failing on installing windows operating system. And on another system we are getting a failure on the task trying to make the partition bootable. Using diskpart clean doesnt help either.

What could this be? DSC_0509

Dinzen4t0r avatar Nov 08 '23 12:11 Dinzen4t0r

It seems like the image task is not imaging to the c:/ drive for some reason. The logs are all showing its writing to the s:/ windows

Dinzen4t0r avatar Nov 08 '23 12:11 Dinzen4t0r

Applying the OS image to the S volume is normal while in WinPE, once booted out of WinPE and into the full OS image that volume will become the C: drive.

My first guess would be that its having trouble accessing the OS images on your deployment share, could you include more logs though? I also recommend using cmtrace (x64 version) to view the logs as it will format everything nicely and make it much easier to read.

3pichaxz0r avatar Nov 09 '23 13:11 3pichaxz0r

Hi we figured out the issue, we put all our files in the script directory which filled up the storage on the ramdisk this caused the image to crash.

is there a reason why the scripts are being uploaded before image procedure is done?

Dinzen4t0r avatar Nov 09 '23 16:11 Dinzen4t0r

Hi we figured out the issue, we put all our files in the script directory which filled up the storage on the ramdisk this caused the image to crash.

is there a reason why the scripts are being uploaded before image procedure is done?

Hi @kl0t3 ,

Which files have you placed in the Scripts directory specifically?

GeoSimos avatar Dec 05 '23 00:12 GeoSimos

We also are seeing this pop up semi-randomly as well, same error. However when we do a diskpart - clean it seems to clear it up. Maybe adding a diskpart - clean in the format step would clear this up?

bretthexum avatar Aug 26 '24 18:08 bretthexum

There are a few scripts and modules added during the boot media build; these are need to initialize PSD. Then once it connects to the deployment share, it will download the rest. All steps in task sequences are processed locally within winpe; converting the legacy wsf/vbs steps into ps1 steps. Depending on your winpe scratch space;there should be enough room to process them.

What size id you winpe scratch space?

PowerShellCrack avatar Aug 27 '24 00:08 PowerShellCrack

It was just default 32 MB as I thought newer WinPE dynamically set it anyway. I can try to increase it to see if it makes a difference

bretthexum avatar Aug 27 '24 14:08 bretthexum