Installing Windows TIFF IFilter with Multiple Client Computers in a Domain

To install Windows TIFF IFilter on multiple client computers in a domain, use the OCSetpu.exe tool to produce the following install/uninstall script:

if not exist %systemroot%\winsxs\*winocr* goto end

reg query "HKEY_CLASSES_ROOT\CLSID\{4D144E38-5812-4F6D-A82A-C60A8F7E68D6}"

if not errorlevel 1 goto end

ocsetup TIFFIFilter

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search" -v 

RebuildIndex -t REG_DWORD -d 1

:end

For more information, see How to use the Ocsetup.exe tool to install or to remove Windows optional components in Windows Vista (https://go.microsoft.com/fwlink/?LinkId=149918) on the Microsoft Web site.

To use the Local Group Policy Editor to propagate the script to client computers

  1. Open the Local Group Policy Editor: Click Start, type gpedit.msc in the Start Search text box, and then press ENTER.

  2. Under Computer Configuration, expand Windows Settings.

  3. Select Scripts (Startup/Shutdown), double-click Shutdown, and then click Add.

  4. Click Browse to select the location of the script.

  5. Define any necessary script parameters, and then click OK twice.

Note

If you do not need to rebuild the index after you install Windows TIFF IFilter, you can omit the two script lines after ocsetup. In this case, you can also add this script as Startup.

For more information, see Use Startup, Shutdown, Logon, and Logoff Scripts (https://go.microsoft.com/fwlink/?LinkId=149924) on the Microsoft Web site.