Article ID: 175494
Article Last Modified on 8/8/2007
256986 Description of the Microsoft Windows Registry
PING <other_hosts_ip_address> ---> makes the dialup router initiate its connection PING <other_hosts_ip_address> ---> verify connection FINGER My.DomainA.Com@ISP.Host.DomainB.Com ---> to dequeueExample 2: (assumes Internet Mail Service is always running)
PING <other_hosts_ip_address> ---> makes the dialup router initiate its connection PING <other_hosts_ip_address> ---> verify connection <Retrieval Program> ---> third-party program that dequeues mailExample 3: (assumes Internet Mail Service is NOT running)
PING <other_hosts_ip_address> ---> makes the dialup router initiate its connection PING <other_hosts_ip_address> ---> verify connection NET START MSExchangeIMC ---> starts the Internet Mail Service <Retrieval Method: command or executable> NET STOP MSExchangeIMC ---> stops the Internet Mail ServiceAlso, if the ability to use ETRN is needed outside of dial-up connections, there is another workaround available. The ETRN command can be configured to be sent to all hosts the Internet Mail Service connects to. To do so, use the following steps.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIMC \ParametersNOTE: The above registry key is one path; it has been wrapped for readability.
Value Name: AlwaysUseETRN
Data Type: REG_DWORD
Value: 0x1
' ------------------------------------------------------------------------ ' Q241157 Script to enable ETRN for IMS on LAN or Demand Dial Networks ' ------------------------------------------------------------------------ ' Copyright (C) 1996-2000 Microsoft Corporation ' ' You have a royalty-free right to use, modify, reproduce and distribute ' the Sample Application Files (and/or any modified version) in any way ' you find useful, provided that you agree that Microsoft has no warranty, ' obligations or liability for any Sample Application Files. ' ------------------------------------------------------------------------Windows Script Host must be installed http://msdn2.microsoft.com/en-us/library/ms950396.aspx
Choice = InputBox("Enter 1 to enable ETRN or 2 to disable ETRN")
Select Case Choice
Case "1"
L_Welcome_MsgBox_Message_Text = "This script adds the AlwaysUseETRN value to the Internet Mail Service that enables LAN based ETRN."
L_Welcome_MsgBox_Title_Text = "Enabling ETRN"
Call Welcome()
Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.Popup "Set value HKLM\System\CurrentControlSet\Services\MSExchangeIMC\Parameters\AlwaysUseETRN to REG_DWORD 1"
WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\MSExchangeIMC\Parameters\AlwaysUseETRN" , 1, "REG_DWORD"
Case "2"
L_Welcome_MsgBox_Message_Text = "Setting the Value AlwaysUseETRN to zero"
L_Welcome_MsgBox_Title_Text = "disabling ETRN"
Call Welcome()
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.Popup "Set value HKLM\System\CurrentControlSet\Services\MSExchangeIMC\Parameters\AlwaysUseETRN to REG_DWORD 0"
WSHShell.RegWrite "HKLM\System\CurrentControlSet\Services\MSExchangeIMC\Parameters\AlwaysUseETRN" , 0, "REG_DWORD"
End Select
Sub Welcome()
Dim intDoIt
intDoIt = MsgBox(L_Welcome_MsgBox_Message_Text, vbOKCancel + vbInformation, L_Welcome_MsgBox_Title_Text )
If intDoIt = vbCancel Then
WScript.Quit
End If
End Sub
Additional query words: DEQUEUE ETRN RETRIEVAL
Keywords: kbprb KB175494