Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Microsoft VPN

This article details the many settings and options available for Microsoft VPN entries in Remote Desktop Manager. This entry opens a VPN connection with the VPN client built into Windows, using a VPN profile from a Windows phone book.

The Username, Domain, and Password fields of the Connection tab are disabled when Use rasphone (Connection Manager Administration Kit) is enabled, and when the entry uses credentials that are not configured in the entry itself. See Create a Microsoft L2TP VPN entry for a step by step approach to an L2TP configuration.

SETTINGS

DESCRIPTION

Name

The name of the entry.

Folder

The folder where the entry is located.

Display

How the entry is displayed. External is the only display mode available for this entry. Additional lists let you choose the monitor and the virtual desktop where the window opens.

Host

Where the host of the VPN comes from. Select whether the host is configured in the entry, linked to a host entry, or inherited from a parent folder.

Credentials

Where the credentials used by the VPN come from. Select whether the credentials are configured in the entry, linked to a credential entry, or obtained another way.

VPN type

The type of VPN the entry opens. Set to Microsoft VPN for this entry. Changing it switches the entry to another VPN type and changes the content of the Connection tab.

Connection

SETTINGS
DESCRIPTION

VPN type

The protocol of the Windows VPN connection. Set to Automatic by default:

  • Automatic

  • L2TP

  • SSTP

  • PPTP

VPN name

The name of the VPN profile to open. Select a profile found in the selected phone book, or type a name. Click the Refresh button to reload the list of profiles. Click the Security settings button to open the phone book file. This button is available only when the phone book is set to Default phone book or Phone book.

Pre-shared key

The pre-shared key of the VPN. Shown only when VPN type is set to L2TP.

Server

The address of the VPN server. Shown only when VPN type is set to L2TP, SSTP, or PPTP. The server is used only if the VPN profile is not found. If no server is specified, the VPN name is used as the host.

Username

The username used to connect to the VPN.

Domain

The domain of the VPN account.

Password

The password used to connect to the VPN. This field is disabled when the Disable password saving in vaults system setting is enabled.

Authentication method

The authentication method of the VPN. Shown only when VPN type is set to L2TP, SSTP, or PPTP. Set to Pap by default:

  • Pap

  • Chap

  • MSCHAPv2

  • EAP

Options

Show console error

Show the console error when the VPN connection fails.

Ignore error code

Ignore the error code returned when the VPN is opened or closed.

Use certificate only

Authenticate to the VPN with a certificate only.

Use rasphone (Connection Manager Administration Kit)

Open the VPN with rasphone. When enabled, the Username, Domain, and Password fields are disabled.

Use the default gateway on the remote network

Use the default gateway on the remote network for the VPN connection.

Phone book

Phone book

The Windows phone book that contains the VPN profile. Set to Default phone book by default:

  • Default phone book — Use the default Windows phone book.

  • Phone book — Use a specific phone book file. Enter the path of the .pbk file, or click the ellipsis button to select or create it.

  • Embedded phone book — Store the phone book in the entry. Click the Import button to import a .pbk file, and the Export button to save the embedded phone book to a file. The Export button is available once the entry holds an embedded phone book.

  • Phone book document — Use a phone book stored in a document entry of the vault. Select the document entry from the list.

RAS phone number

The RAS phone number of the VPN connection.

Advanced

SETTINGS
DESCRIPTION

Go offline on connection

Switch Remote Desktop Manager to offline mode once the VPN is connected.

Close connection after (min)

Close the VPN automatically after the set number of minutes, between 0 and 4320.

Detect reachable host in wait

While waiting for the VPN to connect, check whether the host can be reached, so the wait can end as soon as it can.

VPN reconnect mode

Choose what happens to the VPN when a session that uses it is reconnected:

  • Default

  • Reconnect VPN

  • Leave VPN open

Go online on disconnect after (sec)

Switch Remote Desktop Manager back to online mode the set number of seconds after the VPN is disconnected, between 0 and 180.

Use adapter to detect connection

Use the network adapter to detect whether the VPN connection is open.

After execution, wait

Choose how Remote Desktop Manager waits after the VPN is started:

  • Delay — Wait the set number of seconds, between -1 and 180.

  • For IP on adapter — Wait for the network adapter to receive an IP address. Enter the adapter name or device name, or click the browse button to select it. Set Wait a maximum of (in seconds, between -1 and 180) and Then delay (in milliseconds, between -1 and 180000).

Commands

Commands

The list of VPN commands, showing each command's Name, After connection command, and Before disconnecting command. Use the toolbar to add, edit, delete, move up, or move down a command. The settings of the Commands section are available only when After execution, wait is set to For IP on adapter, and are not supported on macOS.

After connecting, VPN command enabled

Run the after connection commands once the VPN is connected.

Before disconnecting, VPN command enabled

Run the before disconnecting commands before the VPN is disconnected.

Run routes in batch (forces elevated privileges)

Run the commands together in a batch. This option requires elevated privileges.

Last updated

Was this helpful?