Partager via


PPTP Registry Settings (Compact 2013)

3/26/2014

The registry stores information necessary to configure the system for applications and hardware devices. The registry also contains information that the operating system continually references during operation.

To configure the PPTP implementation, you can set the following optional registry values on the client device.

The following table shows the named values for the HKEY_LOCAL_MACHINE\Comm\Pptp1\Parms key.

Value : type

Description

TcpPortNumber : REG_SHORT

Default setting is 1723.

Specifies the TCP port number of the PPTP server necessary for device connection.

UdpPortNumber : REG_USHORT

Default setting is 47.

Specifies the UDP port to which to send UDP encapsulated tunneled packets.

MaxWanEndpoints : REG_ULONG

Default setting is 5.

Sets the number of PPTP sessions a WAN miniport can have.

MaxTransmit : REG_ULONG

Default setting is 32.

Sets the maximum number of outstanding send packets the PPTP WAN miniport will accept.

InactivityIdleSeconds : REG_ULONG

Default setting is 60.

Starts a timer that measures the number of seconds between packets. When the timer reaches the default of 60 seconds, it instructs the system to send a control channel packet to the server.

AlwaysEcho : REG_BOOL

Default setting is 1.

Instructs the receiving device to always send an echo back to the sender when this parameter is set to 1.

TunnelConfig : REG_ULONG

Default setting is 0.

Specifies a routing configuration for tunneling clients. The value is a bitmask. If Bit 0 is set to 1, UDP will be used to encapsulate tunneled packets.

TcpDisconnectTimeout : REG_ULONG

Default setting is 30.

Specifies the length of time to wait for the peer to acknowledge a disconnect request when disconnecting a TCP connection.

TcpConnectTimeout : REG_ULONG

Default setting is 30.

Specifies the length of the time-out to use when establishing a TCP connection.

See Also

Other Resources

Point-to-Point Protocol over Ethernet Reference