Hi @ramin sa ,
Yes, we can format only C drive and keep existing data on the D drive. Please remove the default "Format and Partition Disk" task sequence step. And in the "Apply Operating System Image" step, make the following modifications before deployment: Set the destination to a specific Disk 0 and Partition 1 (for example) to have a try.
Here are some similar threads:
Task sequence scenario: Format C: OS drive
During OS deployment, format the C drive only
During OSD, format first partition only
Note: The non-Microsoft links are just for your reference.
Hope it helps. Thanks for your time.
Best regards,
Simon
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.