• Home  / 

Leftover junk prevents new installation in MDT 2008/2010 and BDD 2007

By arwidmark / November 1, 2007

One of the most common issues with MDT 2008/2010 and BDD 2007, LiteTouch and ZeroTouch, is leftover junk from a previous installation preventing a second installation to continue… The solution… Get rid of the junk…

Note: Make sure to do these changes only to the winpe images used for bare metal installations… (wiping the disk in the middle of a refresh installation might lead to , ehh, unexpected, results)

LiteTouch
Create a script that removes the MININT and _SMSTaskSequence folders (if present).

CleanSetupInProgress.cmd

If Exist C:\MININT\nul rd C:\MININT /s /q
If Exist C:\_SMSTaskSequence\nul rd C:\_SMSTaskSequence /s /q

Call the script from unattend.xml (in WInPE)

Unattend.xml



   
        http://schemas.microsoft.com/WMIConfig/2002/State“>
           
                16
                1024
                60
                768
           

           
               
                    Lite Touch PE
                    1
                    cmd /c CleanSetupInProgress.cmd
               

               
                    Lite Touch PE
                    2
                    wscript.exe X:\Deploy\Scripts\LiteTouch.wsf
               

           

            Restart
       

   

ZeroTouch (SMS 2003 OSD FP)
Just add a winbom.ini that will wipe and format the disk… se below example…

winbom.ini

[Factory] WinBOMType=WinPE
Reseal=No
[WinPE] Quiet=Yes
Restart=No
[PnPDriverUpdate] [PnPDrivers] [NetCards] [UpdateInis] [FactoryRunOnce] [Branding] [AppPreInstall]

[DiskConfig]
Disk1 = Disk1.Config

[Disk1.Config]
WipeDisk = Yes
Size1 = *
PartitionType1 = Primary
FileSystem1 = NTFS
QuickFormat1 = Yes
SetActive1 = Yes

About the author

arwidmark

michaelmadsen - July 12, 2011

I am receiving this error running MDT 2010 Update 1. LiteTouch has encountered an error. I deleted the MININT folder but the message still pops up immediately after inputing the details to capture the reference machine. There was no _SMSTaskSequence folder on the drive. Any ideas? I don’t want to run dispart and wipe the drive since I want to capture the machine.

arwidmark - July 23, 2011

Well, upload the bdd.log somewhere and post the link…

In general I don’r recommend using the capture only task sequence since it’s buggy. I prefer the build and capture sequences which is rock solid…

/ Johan

Comments are closed