Diskpart in OSD TS

Hi, 

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 

clean"

Then i execute diskpart /s textfile.txt as 1st step of my TS.

Unfortunately this doesn't seem to work for me. Any suggestions?

November 27th, 2014 3:32pm

create a batch file to copy it somewhere in c:\temp and then include your command to run from there.
Free Windows Admin Tool Kit Click here and download it now
November 27th, 2014 4:36pm

If you're deploying Windows 8.1 then you can use PowerShell to remove the dependency on a separate file. For an example see: http://www.cloudoscommunity.com/blogs/How-to-automatically-clean-your-disk-at-the-start-of-your-task-sequence
November 27th, 2014 7:54pm

Try to add the step "Disable Bitlocker" at the beginning of your task sequence.
(next step is "restart in windows PE"). Start the task sequence from Windows.

I think the error code is inherent to Bitlocker.

Free Windows Admin Tool Kit Click here and download it now
December 3rd, 2014 12:13pm

Hello,

0x80070070  ERROR_DISK_FULL  There is not enough space on the disk.

I think the installation process allocate a small partition which is not large enough for a system. If in that case, there could be some problem with your diskpart settings or apply image settings.

December 8th, 2014 3:20am

Ivan, you don't have a disk to write to, so you need to "build" a command file with the diskpart steps in it by echo'ing them to a file on the RAM drive. Then call diskpart with the setup file created and "clean" the old disk so you can then partition and get started. 

Mac

Free Windows Admin Tool Kit Click here and download it now
March 26th, 2015 11:39pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics