So i have task sequence that runs ok. It does everything, i even implemented bitlocker logic to encrypt the disk. If however i try to rebuild machine that is already enctypted my TS fails on start with error 0x80070070.
To fix this i pres F8 and then do manual DISKPART. Then after reboot the Task Sequence runs ok. I tried to implement the DISKPART in the TS in the very begining.
I have created package containing .txt with 2 instructions:
"sel disk 0
Then i execute diskpart /s textfile.txt as 1st step of my TS.
Unfortunately this doesn't seem to work for me. Any suggestions?