HOWTO: Remove the EDK Sample Gateway

ID: Q202098


The information in this article applies to:


SUMMARY

The purpose of this article is to provide steps to remove the EDK sample gateway from your Microsoft Exchange Server.


MORE INFORMATION

Assumptions for this article:

Steps to Follow:
  1. Stop the gateway service in Control Panel Services.


  2. On the Configuration \ Site addressing \ Site Addressing tab, uncheck 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 exact 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 exact 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 exact 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 exact 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.


Additional query words: kbDSupport kbEDK kbXchge kbMsg kbEDK500 kbEDK550 kbGrpMsg


Keywords          : kbEDK kbXchge kbMsg kbEDK500 kbEDK550 kbGrpMsg 
Version           : WINDOWS:5.0,5.5
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: July 16, 1999