HOW TO: Remove the EDK Sample Gateway (202098)
The information in this article applies to:
- Microsoft Exchange Development Kit (EDK) 5.0
- Microsoft Exchange Development Kit (EDK) 5.5
This article was previously published under Q202098 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: - Stop the gateway service in Control Panel Services.
- 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.
- 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. - 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. - 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. - 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. - 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.
back to the top
Modification Type: | Minor | Last Reviewed: | 3/4/2004 |
---|
Keywords: | kbhowto kbHOWTOmaster kbMsg KB202098 kbAudDeveloper |
---|
|