You are currently offline, waiting for your internet to reconnect

Forms with VBScript do not work with Terminal Services in Outlook

Support for Office 2003 has ended

Microsoft ended support for Office 2003 on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

Symptoms
If you are using Microsoft Outlook in a Terminal Services environment, you cannot use Visual Basic Scripting Edition (VBScript) in custom Outlook forms. This issue can occur when you are using a Microsoft Windows Terminal Server in Install mode or User mode. This issue also occurs with Windows 2000 Terminal Server in Application mode but not in Remote Administration mode.
Cause
By default, Microsoft Office programs do not install the VBScript component in Windows Terminal Server environments.
Workaround
Use one of the following methods to work around this problem.

Method 1: Copy the Outlvbs.dll file to existing installations

To do this, follow these steps:
  1. Copy the Outlvbs.dll file from a computer that is not running Microsoft Outlook on a Terminal Server.

    Note Make sure that this computer and the Terminal Server are running the same version of Outlook when you copy the Outlvbs.dll file.

  2. Copy the Outlvbs.dll file to the appropriate Office folder of the affected Terminal Server computer for your version of Office.
    • Office 2016:
      • MSI-based installation: Program Files\Microsoft Office\Office16
      • Click-to-Run installation: Program Files\Microsoft Office\root\Office16
    • Office 2013:
      • MSI-based installation: Program Files\Microsoft Office\Office15
      • Click-to-Run installation: Program Files\Microsoft Office 15\root\Office15
    • Office 2010: Program Files\Microsoft Office\Office14
    • Office 2007: Program Files\Microsoft Office\Office12
    • Office 2003: Program Files\Microsoft Office\Office11
    • Office 2002: Program Files\Microsoft Office\Office10

      Note If your Operating system and Office version are not the same bitness, the location will be 'Program Files(x86)'.

    Important When you install an Outlook Update on the Terminal Server, the Outlvbs.dll file is not updated. Therefore, you must install the same update on the other computer and follow these steps to copy the Outlvbs.dll file to the Terminal Server every time an update is installed.

Method 2: Install Microsoft Office with an additional property to let the VBScript component to be installed

To do this, follow these steps:

  1. Determine the globally unique identifier (GUID) for the product that you just installed. If you installed Outlook, use that product GUID. If you installed Office Professional Plus 2010, use that product GUID. For more information about how to determine the GUID of the product that you installed, click the following article number to view the article in the Microsoft Knowledge Base:

    3120274 Description of the numbering scheme for product code GUIDs in Office 2016
    2786054 Description of the numbering scheme for product code GUIDs in Office 2013
    2186281 Description of the numbering scheme for product code GUIDs in Office 2010
    928516 Description of the numbering scheme for product code GUIDs in 2007 Office suites and programs

  2. After you have the product GUID, run the following command line:

    msiexec /i <Product Code GUID> ADDLOCAL=OutlookVBScript /qb

    Note In this command, <Product Code GUID> is a placeholder for your product GUID.

    For example, if you have Office Professional Plus 2016 installed, your product GUID would be the following:
    {90160000-0011-0409-0000-0000000FF1CE}

    In this example, the command line should appear as follows:
    msiexec /i {90160000-0011-0409-0000-0000000FF1CE} ADDLOCAL=OutlookVBScript /qb

More information
Microsoft Office and Outlook Setup detect when you are installing Outlook on a computer configured with Terminal Services. In these situations, the support files necessary to enable VBScript in Outlook custom forms are not installed. Therefore, if you try to start the Outlook Script Editor, you receive the following error message:
Unable to load this feature. Feature ID not registered.

If you try to use a custom Outlook form that contains VBScript, you do not receive an error message, but the VBScript code in the form does not run.

Note Earlier versions of Outlook supported VBScript in a Terminal Services environment.

For more information about available resources and answers to commonly asked questions about Microsoft Outlook solutions, click the following article number to view the article in the Microsoft Knowledge Base:
287530 Frequently asked questions about custom forms and Outlook solutions
OutSol OutSol2002 OutlookVBScript
Properties

Article ID: 302003 - Last Review: 06/02/2016 17:34:00 - Revision: 5.1

Outlook 2016, Microsoft Outlook 2013, Microsoft Outlook 2010, Microsoft Office Outlook 2007, Microsoft Office Outlook 2003, Microsoft Outlook 2002 Standard Edition

  • kbbug kbpending KB302003
Feedback
España - Español
Paraguay - Español
Venezuela - Español
mp;did=1&t=">50&did=1&t="> var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" ')[0].appendChild(m);" onload="var m=document.createElement('meta');m.name='ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src="http://c1.microsoft.com/c.gif?"> >>