Showing posts with label Diskpart. Show all posts
Showing posts with label Diskpart. Show all posts

Wednesday, October 29, 2014

MDT 2013 - The task sequence has been suspended

During deployment with MDT 2013, after a few working deployments, the following message is displayed: "The task sequence has been suspended". After that the system is rebooting and you can start all over again. This because of the following problem: you have to wipe the disk to continue. Just press F8 during Windows PE and type in the following commands:
1. Diskpart
  2. List disk
    3. Select disk 0
      4. List part
        5. Select part 1
          6. Clean
            7. Create part primary
              8. Assign
                9. Active
                  10. Exit


After that deployment works as Always!

Wednesday, January 22, 2014

Second disk offline during deployment

Yesterday I did an deployment on a virtual server with 2 disks. During WinPE phase I checked diskpart (in a command window) and both disks were online. However after the "Setup Windows and ConfigMgr" step and reboot to Windows, the second disk went offline. Because of multiple tasks on the second drive, the task sequence was failing. Let's use diskpart to change the second disk to online mode again.

WinPE Phase (boot image)

Windows Phase before diskpart
Open Notepad an paste the following lines:
select disk <?>
online disk
attribute disk clear readonly


Replace <?> with the disk number of the disk (without the brackets <>). Save the Notepad file with the name diskpart.txt (for example). In the ConfigMgr console create a new package (without a program) with the txt file in it.

During the task sequence, immediately after the "Setup Windows and ConfigMgr" step, add a "Run Command Line" step with the command: "diskpart /s diskpart.txt" and use the package created before.

Windows Phase after diskpart

After that the disk will be online again. Hope it helps!

Source: Microsoft TechNet