Installing Office 2007 on Terminal Server

What you should know when deploying Office 2007 to Windows Terminal Server

When install Office 2007 on your Terminal Servers there are a few things you’ll need to be aware of. The first of which is that you will need an Enterprise or Volume License key, i.e. those keys that use Volume Activation 1.0 and do not require activation. There is also some configuration and installation options that I recommend you set before and after installation.

There are a number of options I recommend setting by using the Office Customisation Tool (SETUP.EXE /ADMIN). These first couple of options aren’t really Terminal Server specific and are worth setting for all Office deployments. You can enforce these via Group Policy, however if you configure them with a custom installation they will be the default settings:

  • Disable the Customer Experience Improvement Program from running when users start an Office application: Modify user settings - Microsoft Office 2007 system / Privacy / Trust Center / Enable Customer Experience Improvement Program
  • Disable Outlook from prompting users to archive their mailboxes: Modify user settings - Microsoft Office Outlook 2007 / ToolsOptions.. / Other / AutoArchive / AutoArchive Settings

You’ll also want to take a look at the feature installation states - set each of these to either ON or OFF, don’t set any feature to Install on First Use. A subset of the options I disable when installing Office on a Terminal Server are:

  • Office Shared Features / Proofing Tools / French Proofing Tools / English - French Translation
  • Office Shared Features / Proofing Tools / Spanish Proofing Tools / Spanish - French Translation

The first two options should be disabled as a part of preventing CTFMON.EXE from running in each user session. You will also have to unregister MSCTF.DLL as a part of your installation of Office (REGSVR32 /S /U MSCTF.DLL)

One of the cool features of Office 2007 is one that users will appreciate and a tool that you will need to install after Office is installed Save As PDF or XPS. You can install this tool during a custom installation of Office using the Office Customisation Tool or via a script by running SaveAsPDFandXPS.exe /QUIET.

Finally you will have to delete identifying information recorded to the Terminal Server shadow registry key by Setup during installation. Because you now need to use SETUP.EXE to install Office, the Terminal Server will force Install mode before installation can continue. While Install mode is technically not required to install Office on Terminal Server, you will see the user information of the account used to install Office replicated to all users who then run an Office application if you don’t delete this key:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Office

An install script for Office might look something like this:

@ECHO OFF  
CHANGE USER /INSTALL  
START /WAIT \domain.localdfsapplicationsOffice2007EnterpriseSetup.exe  
CHANGE USER /EXECUTE  
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Microsoft\Office" /f  
REGSVR32 /U %SYSTEMROOT%\SYSTEM32\MSCTF.DLL /S

TechNet has more detail on Office 2007 on Terminal Server: