Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Windows 11 / VPN Error 633: The modem is already in use or not configured

January 21, 2025

VPN Error 633: The modem is already in use or not configured

Attempting to connect to a VPN server from Windows may result in error 633:

Error 633. The modem (or other connecting device) is already in use or not properly configured.

can't connect VPN: The modem (or other connecting device) is already in use or not properly configured

Error 633 usually indicates that the default TCP communication port used by the modem for the VPN connection is being used by another process, or that the user is trying to run multiple VPN sessions simultaneously.

For example, the default TCP port used for PPTP VPN connections is 1723. Check that this network port number is not being used by other Windows processes, and kill them if necessary:

Get-Process -Id (Get-NetTCPConnection -LocalPort 1723).OwningProcess | Stop-Process -verbose

If the problem occurs with USB modems in Windows 10 or 11, a workaround is to allow the network driver to elevate privileges using SeLoadDriverPrivilege. To do this, go to the reg key HKLM\SYSTEM\CurrentControlSet\Services\RasMan, and add the SeLoadDriverPrivilege line to the RequiredPrivileges parameter.

SeLoadDriverPrivilege for Remote Access Connection Manager (RasMan) service

If you try to open multiple VPN connections simultaneously, note that Windows limits the maximum number of simultaneous VPN connections to two. Check it with the command::

netsh ras show wanports

As you can see, this limit is set for L2TP and other types of virtual WAN Miniport adapters:

Maximum ports = 2

netsh ras show wanports: the maximum number of ports for each type of WAN Minport (SSTP, IKEv2, L2TP, PPTP)

To increase the number of concurrent L2TP connections to 3, run the command:

netsh ras set wanports device="WAN Miniport (L2TP)" maxports=3

increase max vpn ports number on windows via netsh

Restart a computer for the changes to take effect.

You must manually add routes for VPN connections. Or, to add an IPv4/IPv6 route to a specified VPN connection, use the Add-VpnConnectionRoute PowerShell cmdlet.

In some cases, removing the WAN Miniport for the VPN connection type you use in the Network Adapters section of Device Manager can help resolve the problem (View hidden devices option must be enabled). Rescan the computer hardware. This resets all virtual WAN Miniport adapter settings to default.

Remove virtual WAN Miniport adapter for target VPN connection type

For more information, see the article Fixing VPN Error: A connection to the remote computer could not be established.
0 comment
0
Facebook Twitter Google + Pinterest
Questions and AnswersWindows 10Windows 11Windows Server 2022
previous post
Get the Computer Uptime (Last Boot Time) on Windows
next post
Configuring RemoteApps Hosted on Windows 10/11 (without Windows Server)

Related Reading

Create a Custom Windows Image with Pre-installed Apps

February 28, 2024

Upgrading to Windows 11 on Unsupported Hardware

March 6, 2024

How to Assign (Passthrough) a Physical GPU to...

June 11, 2024

Configuring RemoteApps Hosted on Windows 10/11 (without Windows...

January 25, 2025

Disable BitLocker Automatic Drive Encryption in Windows 11

October 16, 2024

Enable Hyper-V on Windows 10/11 Pro and Home...

August 12, 2024

Fix: Your IT Administrator Has Limited Access to...

March 22, 2024

Get Started with Docker on Windows (WSL2) without...

September 4, 2024

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Failed to Open the Group Policy Object on a Computer

    June 2, 2025
  • Remote Desktop Printing with RD Easy Print Redirection

    June 2, 2025
  • Disable the Lock Screen Widgets in Windows 11

    May 26, 2025
  • Configuring Windows Protected Print Mode (WPP)

    May 19, 2025
  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Fix: Windows Update Tab (Button) is Missing from Settings
  • Fix: Your IT Administrator Has Limited Access to Virus & Threat Protection
  • Permanently Disable Driver Signature Enforcement on Windows 11
  • How to Add or Reinstall the Microsoft PDF Printer on Windows
  • Fix: Multiple Connections to a Server or Shared Resources by the Same User
  • Cannot Install Language Pack on Windows 10 or 11
  • Allowing Ping (ICMP Echo) Responses in Windows Firewall
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top