Microsoft KB Archive/202098

= HOW TO: Remove the EDK Sample Gateway =

Article ID: 202098

Article Last Modified on 3/4/2004

-

APPLIES TO


 * Microsoft Exchange Development Kit 5.5
 * Microsoft Exchange Server 2003 Software Development Kit

-



This article was previously published under Q202098





IN THIS TASK
SUMMARY
 * Requirements
 * Remove the EDK Sample Gateway



SUMMARY
This step-by-step article provides steps to use when removing the EDK sample gateway from your Microsoft Exchange Server.

back to the top

Requirements
Assumptions for this article:


 * The gateway has been installed on server 'Server', in site 'Site', in organization 'Organization', in domain 'Domain'.
 * The name of the gateway is 'SGW'.
 * The Exchange service account name is 'Exchange-Service-account' and the password for that account is 'Password'.
 * The gateway has been installed as per

200669: HOWTO:Insall the EDK Sample Gateway

back to the top

Remove the EDK Sample Gateway
Steps to Follow:


 * 1) Stop the gateway service in Control Panel Services.
 * 2) On the Configuration \ Site addressing \ Site Addressing tab, clear the EDK address and select OK. When asked if you want to remove the address from all mailboxes select Yes. This starts a process to remove the edk email address from all the mailboxes.
 * 3) Run addrinst.exe program with the same command line options as were used during gateway installation, but add the /delete option. For our example, the command line would be:

addrinst.exe /sitedn=/o=Organization/ou=Site /name=edk /machine=i386 /type=edk /proxydll=\\Server\address\edk\i386\proxygen.dll /server=Server /gwproxy=EDK:@Site.Organization.com /delete

This step will remove both the EDK Address Generator object from the Configuration container and EDK Address Type from the Site Addressing container.
 * 1) Run extninst.exe program with the same command line options as were used during gateway installation, but add the /delete option. For our example, the command line would be: extnist.exe /sitedn=/o=Organization/ou=Site /display_name="SGW SAMPLE GATEWAY EXTENSION" /machine=i386 /name=SGW /extdll=\\Server\ADD-INS\SGW\i386\sgwadmin.dll /server=Server /delete

This step will remove the object 'SGW EDK Sample GATEWAY Extension' from the Configuration/Add-Ins container.
 * 1) Run gwisnt.exe program with the same command line options as were used during gateway installation, but add the /delete option. For our example, the command line would be:

gwinst.exe /sitedn=/o=Organization/ou=Site /display_name=SGW /name=SGW:i386 /addrtype=edk /server=Server /extname=SGW /delete

This step will remove the SGW object from the Connection container, as well as the EDK entry from the Configuration/Site Addressing/Routing tab once routing has been recalculated.
 * 1) Run servinst.exe program with the same command line options as were used during gateway installation, but add the /delete option. For our example, the command line would be:

servinst.exe /sitedn=/o=Organization/ou=Site /display_name=SGW /service=SGW /exe=c:\SGW\gwsample.exe /server=Server /objname=SGW:i386 /objtype=gateway /account=Domain\Exchange-Service-Account /password=Password /delete

This step will remove the service from Control Panel/Services.
 * 1) In the registry delete the key HKLM\SOFTWARE\CLASSES\MAPI Conversions\ipm_in.dll and also the ipm_out.dll key.

NOTE: If you have other 3rd party gateways installed they may be using this key as well.
 * 1) Remove the gateway files from disk: ipm_in.dll, ipm_out.dll, admin.dll, gateway.exe, the directory \sgw\in and \sgw\out and \sgw.

back to the top

Additional query words: kbDSupport kbEDK kbXchge kbMsg kbEDK500 kbEDK550 kbGrpMsg

Keywords: kbhowto kbhowtomaster kbmsg KB202098

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.