There is a need to wipe a disk in WinPE with a Deployment Solution Job/tasks
Deployment Solution 8.6, 8.7
There are several ways to accomplish this. However, here is an example of a job that has proven successful to wipe the drive of a computer in WinPE/Automation without using custom scripts.
Note. Encrypted hard drives may cause the wipe out process to fail. Some vendors secure encrypted hard drives to avoid unauthorized formatting / wipe out of the hard drive.
This is an example only and should be used/modified at your own risk.
Note:
You may get the following error message if you are trying to run the task while in production. Must be done in Automation:
ErrorMessage: ClientWipeException occured 'Erasing all disks or system disk is not supported in production. Please use Boot To task to boot into PreOS', return code 0, location 'Tcube_ClientWipe.cpp:167'