Software⏱️ 3 min read📅 2026-06-11

How to Fix error 691 Error – Connect to VPN using command line results in error 691

Error 691 occurs when connecting to VPN using RASDIAL, despite trying different phonebooks and disabling VPN options.

Quick Answer: Try adding the username and password to the command line argument, e.g. rasdial MyVPNConnection /username:your_username /password:your_password

Error 691 occurs when attempting to connect to a VPN using the RASDIAL command-line utility. This error is typically encountered by users who have not properly configured their Windows system for remote access or have incorrect username and/or password credentials.

This issue can be frustrating as it prevents users from establishing a secure connection to their VPN, making it difficult to access company resources remotely. In this troubleshooting guide, we will walk you through the steps to resolve Error 691 when connecting to a VPN using RASDIAL.

⚠️ Common Causes

  • The primary reason for Error 691 is that the username and/or password provided in the RASDIAL command are invalid or not recognized by the Windows system. This can occur due to various reasons such as incorrect login credentials, password expiration, or outdated domain settings.
  • Another possible cause of Error 691 is that the Remote Access Phonebook (Rasphone.pbk) file is missing or corrupted. The Rasphone.pbk file contains a list of valid usernames and passwords for remote access, and its absence or corruption can prevent the RASDIAL command from functioning correctly.

🚀 How to Resolve This Issue

Configuring Correct Username and Password Credentials

  1. Step 1: Open the Command Prompt as an administrator. To do this, press the Windows key + X and select Command Prompt (Admin).
  2. Step 2: Enter the correct username and password for your VPN connection in the RASDIAL command. You can find these credentials in your company's VPN documentation or by contacting your IT support team.
  3. Step 3: Verify that the username and password are correctly formatted, including any special characters or domain requirements.

Using the Remote Access Phonebook (Rasphone.pbk) File

  1. Step 1: Locate the Rasphone.pbk file in your user profile directory. The default location is %userprofile%/AppData oaming\Microsoft etwork\connectionsk asphone.pbk.
  2. Step 2: Copy the contents of the Rasphone.pbk file to a text editor or Notepad, and verify that the username and password for your VPN connection are listed correctly.
  3. Step 3: Replace the existing RASDIAL command with the following syntax: rasdial MyVPNConnection /phonebook:%userprofile%/AppData oaming\Microsoft etwork\connectionsk asphone.pbk

🎯 Final Words

By following these steps, you should be able to resolve Error 691 when connecting to your VPN using the RASDIAL command-line utility. Remember to verify that your username and password credentials are correct and that the Remote Access Phonebook (Rasphone.pbk) file is properly configured.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions