Microsoft KB Archive/258776

{|
 * width="100%"|

How to Increase the Number of PPTP and L2TP Connections

 * }

-

The information in this article applies to:


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server

-

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the &quot;Restoring the Registry&quot; Help topic in Regedit.exe or the &quot;Restoring a Registry Key&quot; Help topic in Regedt32.exe.

SUMMARY
A Windows 2000-based server running Remote Access Services (RAS) is initially configured for a maximum of 1,000 Point-to-Point Tunneling Protocol (PPTP) and 1,000 Layer 2 Tunneling Protocol (L2TP) connections. You can change this default maximum by using the Routing and Remote Access snap-in or by using Registry Editor.

Using the Snap-in
You can increase PPTP connections up to 16,384 and L2TP connections up to 30,000 in the Routing and Remote Access snap-in, under Ports. However, because a maximum of 1,000 connections is the default setting in the registry, you must reboot the server to cause the change to take effect.

Using Registry Editor
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the &quot;Changing Keys and Values&quot; Help topic in Registry Editor (Regedit.exe) or the &quot;Add and Delete Information in the Registry&quot; and &quot;Edit Registry Data&quot; Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT or Windows 2000, you should also update your Emergency Repair Disk (ERD).

To increase the maximums beyond those allowed by the snap-in, modify the following two registry parameters:


 * 1) Start Registry Editor (Regedt32.exe).
 * 2) Locate the MaxWanEndPoints value for WAN Miniport PPTP under the following key in the registry:
 * 3) On the Edit menu, click DWORD, click Decimal, type the appropriate number in the Data box, and then click OK.
 * 4) Find the WanEndPoints value under the same key.
 * 5) On the Edit menu, click DWORD, click Decimal, type the same number in the Data box, and then click OK.
 * 6) For L2TP connections, repeat steps 2 through 5 under the registry key for WAN Miniport L2TP.
 * 7) Quit Registry Editor.
 * 8) Reboot the server.

After you make these changes, you see the new values in the Routing and Remote Access snap-in, in the properties for the ports.

Additional query words:

Keywords : w2000tunnel w2000rras

Version : WINDOWS:2000

Platform : WINDOWS

Issue type : kbhowto

Technology :