Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • 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
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • 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
  • PowerShell
  • Linux

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

January 21, 2025 Questions and AnswersWindows 10Windows 11Windows Server 2022

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
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

Unable to Map Drive: An extended error has...

May 13, 2025

Map a Network Drive over SSH (SSHFS) in...

May 13, 2025

Configure NTP Time Source for Active Directory Domain

May 6, 2025

How to Cancel Windows Update Pending Restart Loop

May 6, 2025

View Windows Update History with PowerShell (CMD)

April 30, 2025

Leave a Comment Cancel Reply

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

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMware
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • 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
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025
  • AD Domain Join: Computer Account Re-use Blocked

    March 11, 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
  • Fix: Multiple Connections to a Server or Shared Resources by the Same User
  • How to Add or Reinstall the Microsoft PDF Printer on Windows
  • How to Pause (Delay) Update Installation on Windows 11 and 10
  • Cannot Install Language Pack on Windows 10 or 11
Footer Logo

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


Back To Top