I used an AutoHotKey script to get past some of this type of stuff. I have my script kicked off with the sysprep.inf file, and then my script kicks off the LiteTouch process directly. Basically, it will keep running, and if it doesn't see any new hardware screens for 60 seconds, it will break the loop and load the MDT process.
DriverTimer = 0
Loop { IfWinExist, Found New Hardware Wizard, Welcome to the Found New Hardware Wizard { WinActivate sleep 200 send !n sleep 2000 DriverTimer = 0 } IfWinExist, Found New Hardware Wizard, This driver is not digitally signed! { WinActivate sleep 200 send !n DriverTimer = 0 } IfWinExist, Files Needed { WinActivate sleep 200 send {ESCAPE} continue DriverTimer = 0 } IfWinExist, Hardware Installation, The software you are installing for this hardware { WinActivate send !c DriverTimer = 0 } IfWinExist, Found New Hardware Wizard, Completing the Found New Hardware Wizard { WinActivate sleep 200 send {enter} DriverTimer = 0 }
IfWinExist, Found New Hardware Wizard, Cannot Install this Hardware { WinActivate sleep 200 send {enter} DriverTimer = 0 } IfWinExist, System Settings Change, Windows has finished installing new devices { WinActivate sleep 200 send !n DriverTimer = 0 }
sleep 1000 DriverTimer := DriverTimer + 1 If DriverTimer > 60 { Break } }
Run cscript.exe c:\MININT\Scripts\LiteTouch.wsf /start |