How to Customize the Maximum Connections Message with FTP (103074)



The information in this article applies to:

  • Microsoft Windows NT Server 3.1
  • Microsoft Windows NT Workstation 3.1

This article was previously published under Q103074

SUMMARY

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

If the maximum number of concurrent connections on the FTP server is reached, any new connection attempts made by other machines will result in the following error message:
Maximum clients reached, service unavailable.
This message can be customized by using the Registry Editor and adding an entry called MaxClientsMessage.

To customize the message, do the following:

  1. Open the Registry Editor (REGEDT32.EXE).
  2. Use the following path:
          HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FtpSvc
          \Parameters
  3. From the Edit menu, choose Add Value to create the following entry:

    MaxClientsMessage

  4. Set the Data Type to REG_SZ.
  5. Enter the desired message.
When making any configuration changes to the FTP Server (with the exception of security configuration), you must restart the FTP Server by either restarting the computer or manually stopping and restarting the server. To do this manually, use the Services option in Control Panel, or at a command prompt, use the following two commands:

net stop ftpsvc

net start ftpsvc

Restarting the service manually disconnects any users presently connected to the FTP Server without warning, be sure to use the FTP Server icon in Control Panel to determine if any users are connected.

Modification Type:MajorLast Reviewed:10/29/2003
Keywords:kbnetwork KB103074