Share via


Task sequence with Diskpart command

Question

Friday, January 13, 2017 4:03 AM

Hi all,

I am just wondering if anyone has used CMD within the task sequence to clean the disks in the beginning of the task sequence...

Due to the reasons that we're using Symantec desktop encryption, we required to clean disk (within diskpart) so that rest of the task sequence can run.

Cheers

Danny

All replies (2)

Friday, January 13, 2017 6:00 AM

Hi,

This post includes the commands that you need as well.

http://anupamsccmtips.blogspot.se/2014/06/use-of-diskpart-utility-in-sccm-task.html

Regards,
Jörgen

-- My System Center blog ccmexec.com -- Twitter @ccmexec


Friday, January 13, 2017 2:19 PM

As a side note here, this is explicitly what the format and partition disk task actually does. If you review smsts.log you can actually see it build the txt file to pass to diskpart.

Jason | http://blog.configmgrftw.com | @jasonsandys