Search This Blog

Showing posts with label Windows Updates. Show all posts
Showing posts with label Windows Updates. Show all posts

Thursday, October 7, 2010

Removing Office Live Add-in and Live Essentials from MDT

In the MDT CustomSettings.ini (Rules) include the lines:
WUMU_ExcludeID1=af5c516f-1764-4dc0-b1e9-1e20dbee815c
WUMU_ExcludeID2=9514bb43-f49d-499b-a655-9d64caf68976
This would remove both offlice live add-in and live essentials from being installed.
If you're wondering which ID is which see below:

Office Live-Add-In
ID: af5c516f-1764-4dc0-b1e9-1e20dbee815c

Windows Live Essentials
ID: 9514bb43-f49d-499b-a655-9d64caf68976

Remove Windows Desktop Search from Lite Touch Installation

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