Knowledge Base

HOW TO: Remove the EDK Sample Gateway

Article ID: 202098

Article Last Modified on 3/4/2004


APPLIES TO


This article was previously published under Q202098

IN THIS TASK

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:

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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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