For some unknown reason the workstations here automatically get WDS (Windows Desktop Search) installed once lite touch starts grabbing updates from windows update. You would think it's a bloody optional update- apparently not!
In anycase, I've figured out two ways to remove this from the systems.
Method 1 - Create a vbscript to remove the bloody software after it gets installed.
Creating a task sequance inside your build - I called it "RemoveWDS" and selected it to be added as a run as command line sequance. This task sequance runs the following command:
cscript.exe "%SCRIPTROOT%\RemoveWindowsSearch.vbs"
Then create the actual vbs script inside %SCRIPTROOT% ( the script directory on your distribution point) containing the following code:
Set objShell = CreateObject("WScript.Shell")
objShell.Run("%comspec% /k %systemroot%\$NtUninstallKB940157$\spuninst\spuninst.exe /q")
Method 2 - Exclude the update from lite touch.
In the MDT CustomSettings.ini (Rules) include the line "WUMU_ExcludeKB1=940157" (this would exclude the windows search update before even installing it).
WUMU_ExcludeKB1=940157