Internet Exchange Documents Automating the Startup of Internet Exchange Version 2.1x Under Windows NT Please note: This paper describes methods by which Internet Exchange 2.1x (or earlier versions) can be set up to start automatically when running in a Windows NT environment. Any Internet Exchange version 3.x (or later) does not require such measures, because it is capable of running as a native Windows NT service; this document applies only to versions 2.1x or earlier. It is possible to automate the startup process of Internet Exchange 2.1x (or earlier) on Windows NT. This means that an administrator does not have to be present at all times and that the system may be smoothly rebooted remotely with the assurance that Internet Exchange will be started up. There are two ways in which Internet Exchange 2.1x may be started up automatically after a reboot under Windows NT (3.1, 3.51 or 4.0):
The first method consists of setting up the administrator?s account in such a manner that it automatically logs itself in, and putting System Manager in the startup group. It is the easier method to set up, but involves a security risk: because the login procedure is saved in the registry, the username and password are revealed to anyone who should look therein; also, anyone is able to access the Internet Exchange directly (i.e. by physically being at the machine it is running on), since the login procedures are automated and no password verification is asked of the user. The second method involves running Internet Exchange as a pseudo-service using the SRVANY service available in the Windows NT Resource Kit, which is part of the standard NT distribution. This involves a more difficult setup than Automatic Login, but offers better security because the user has to go through ordinary login procedure (and therefore provide a correct password). Automatic Logon Automating the logon of the administrator can be accomplished in either of two ways: the "Autologon" tool found in the Windows NT Resource Kit may be used, or the necessary entries in the NT system registry may be made manually
Note: The DefaultPassword value may not exist. To remedy, choose Add Value from the Edit menu. In the Value Name field, enter "DefaultPassword" (without the quotation marks). Select REG_SZ for Data Type. Type your password in the string field and save the changes. If no DefaultPassword is specified, Windows NT automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), thereby disabling the AutoAdminLogon feature. Note: In order to temporarily bypass the automatic logon and bring up the Windows NT dialog box, do the following: -or- Now simply place a shortcut to the SYSMAN executable file in the Startup menu, and the gateway will start every time that the system does. Running Internet Exchange 2.1x as a Windows NT Service The following instructions are guidelines on running Internet Exchange 2.1x as a System Service under Windows NT (3.51 and 4.0, any language version).
HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Services / Internet Exchange for cc:Mail Internet Exchange for cc:Mail should be your newly installed system service To test if this method is successful click on the start icon of the service applet at Internet Exchange for cc:Mail and you should see Internet Exchange start up. Reboot the system and telnet into your MTA port 25 and see if the IMA gateway is operational. cc:Mail Post Offices on Novell Gateways: Warning: Because Internet Exchange 2.1x was not designed explicitly as a service, some operations may cause unexpected results. For example, in order to shut down the gateway it is insufficient to stop the service via the Control panel; the "Quit" button on SYSMAN?s window must be clicked as well. Published: June 1997 |