ESHMTS Script
Topic Last Modified: 2006-06-12
ESHMTS.vbs can be used to create a COM+ application (previously called an MTS package) named "Exoledb Script Handler" for The Script Host Sink.
Note
Registering the Script Host Sink and wrapping it in a COM+ application will allow any user to register and run a script-based event sink in any folder to which the user has write access.
ESHMTS.vbs can also be used to delete an existing COM+ application named "Exoledb Script Handler". ESHMTS.vbs is installed with the Exchange Server 2003 Software Development Kit (SDK) in the \Program Files\Exchange SDK\SDK\Support\OLEDB\Scripts directory.
Note
In order to add a COM+ application to handle The Script Host Sink, The Script Host Sink must first be registered on the server.
Adding
The following command uses ESHMTS.vbs to create a COM+ application for The Script Host Sink named "Exoledb Script Handler". The COM+ application will be run under the security context of the user account specified by the user name and password.
cscript eshmts.vbs install Domain\UserName Password
Removing
The following command uses ESHMTS.vbs to uninstall an existing COM+ application named "Exoledb Script Handler".
cscript eshmts.vbs uninstall