PC Deployment with SCCM and MDT

Latest News

  • USMTGUI migrates user profiles to Azure AAD
  • SCCM – Installing intrusive Applications…
  • Remove keyboard layout from Windows 10
  • WSUS fail – Reset defunct WSUS
  • network connection check with Powershell
  • Home
  • SCCM Pages
  • Videos
  • Self-study Guides
  • All Posts
  • Tips & tricks
  • About US

Windows 10.1607, 1703 and 1709 MDT Build Task Sequence fails on Dism Cleanup

Nov 11, 2016 Thomas Ehler Uncategorized 0


Windows 10 MDT Build Task Sequence fails on the step “DISM.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase”

A temporary fix until Michael Nystrøm figures out how to fix his clean up script
(see more at Deployment Bunny)

Change the Cleanup Computer step (DISM.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase) to run twice with”continue on error“.
followed by a run without. Thats it

Steps:

win10-1607mdt_fail1. Run “Cleanup Computer (1) step (DISM.exe /online /Cleanup-Image /RestoreHealth) once with “Continue on error”.
2. Run the Cleanup Computer step (DISM.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase) three times in a row.
3. Change the two first “Cleanup Computer (2+3) steps (DISM.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase)” to “continue on error”.

Works with updates and Office 2010, 2013 and 2016..


Windows 10 Default Profile Customization Collect Office updates for deployment.

Thomas Ehler

Related articles
  • USMTGUI migrates user profiles to Azure AAD
    USMTGUI migrates user profiles to Azure...

    Jun 11, 2020 0

  • SCCM – Installing intrusive Applications…
    SCCM – Installing intrusive...

    May 29, 2019 0

  • Remove keyboard layout from Windows 10
    Remove keyboard layout from Windows 10

    Apr 09, 2019 0

  • WSUS fail – Reset defunct WSUS
    WSUS fail – Reset defunct WSUS

    Aug 09, 2018 0

More in this category
  • USMTGUI migrates user profiles to Azure AAD
    USMTGUI migrates user profiles to Azure...

    Jun 11, 2020 0

  • SCCM – Installing intrusive Applications…
    SCCM – Installing intrusive...

    May 29, 2019 0

  • Remove keyboard layout from Windows 10
    Remove keyboard layout from Windows 10

    Apr 09, 2019 0

  • WSUS fail – Reset defunct WSUS
    WSUS fail – Reset defunct WSUS

    Aug 09, 2018 0


Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • USMTGUI migrates user profiles to Azure AAD
  • SCCM – Installing intrusive Applications…
  • Remove keyboard layout from Windows 10
  • WSUS fail – Reset defunct WSUS
  • network connection check with Powershell
  • SCCM State Migration Point Creation
  • USMT XML files improved and updated for USMT 10 and Windows 10
  • USMT migration of Edge favourites and Sticky Notes
  • SCCM Task Sequence Reinstall User warning.
  • ConfigMgr-SQL-recommendations.xlsx

Recent Videos

  • Building the Perfect Windows 8.1 Image

    Building the Perfect Windows 8.1 Image

    Mar 13, 2014
  • Master ConfigMgr 2012 R2 with a Limited Budget

    Master ConfigMgr 2012 R2 with a Limited Budget

    Mar 13, 2014
  • #3 SCCM2012 Application Management Part 1

    #3 SCCM2012 Application Management Part 1

    Mar 10, 2014
  • #2 SCCM 2012 Infrastructure Technical Overview

    #2 SCCM 2012 Infrastructure Technical Overview

    Mar 10, 2014
  • #1 SCCM 2012 Technical Overview

    #1 SCCM 2012 Technical Overview

    Mar 10, 2014

Recent comments

  • User State Migration Tool (USMT) Troubleshooting - EhlerTech on USMT – User State Migration Tool Errors
  • Mark H on Upgrade to Windows 10 with SCCM
  • SCCM Deploy – SCCM 2012 Comprehensive guides by Prajwal Desai on Post 1. Setting up VMware AD and SCCM 1511
  • SCCM Deploy – Post 1. Setting up VMware AD and SCCM 1511 on Post 4. Setup SCCM 2012 1511
  • SCCM Deploy – Post 3. DC – Setup DHCP and if needed KMS on Post 4. Setup SCCM 2012 1511
Copyright 2014 / All rights reserved