COM OEM Registry Settings
DCOM uses a pinging protocol to verify that the connection to a client is still active; the client machine continually sends a message while it is active. If the component does not receive a message within three ping periods, the connection is considered broken. Then, DCOM decrements the component reference count and releases the component when the count reaches zero.
Some private networks, such as those in industrial automation, require flexibility in controlling the time-out periods. You can modify the default settings in the following registry entries.
[HKEY_LOCAL_MACHINE\software\microsoft\ole]
"BasePingInterval"=dword: <seconds [default 120]>
"BaseNumberOfPings"=dword: <number [default 3]>
Note The default registry values vary depending on which features are included in your platform. For more information, see Default Registry Settings.
BasePingInterval specifies the time interval in seconds between pings, which allows DCOM to verify if the machine is active. BaseNumberOfPings specifies the maximum number of pings before the component is run down.
**Note **Because these settings change some key interactions between clients and servers and because DCOM on the desktop does not provide equivalent settings, this feature is not supported in environments where there is a mix of operating systems. Changing these settings is only recommended in environments where all machines communicating through DCOM have the same registry values for these two settings.
See Also
COM Registry Settings | COM Security | Component Services (COM and DCOM) | Enhancing the Security of a Device
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.