HOWTO: Remove the EDK Sample Gateway
ID: Q202098
|
The information in this article applies to:
-
Exchange Development Kit (EDK), versions 5.0, 5.5
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:
-
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
Q200669: HOWTO:Insall the EDK Sample Gateway
Steps to Follow:
- Stop the gateway service in Control
Panel Services.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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