0X00001B64

Modem Response Timeout 0x1B64: Fix in 2 Minutes

Windows Errors Intermediate 👁 1 views 📅 May 27, 2026

This error hits on legacy Windows Remote Desktop or RAS setups when a modem ignores a command. The fix is almost always a timing tweak in the registry.

When This Error Shows Up

You're setting up a Windows Server 2003 or XP box as a Remote Access Server (RAS) or running an old Terminal Services session. You dial in, or the modem tries to answer, and bam — Event ID 20050 with ERROR_CTX_MODEM_RESPONSE_TIMEOUT (0X00001B64). The modem sits there blinking but never connects. This happens most often with external modems on serial ports (COM1-COM4) after you've swapped cables or changed modem firmware.

Root Cause

The modem's taking too long to reply to the initialization string. Windows gives it a default timeout of 60 seconds, but older modems — especially US Robotics 56K or Hayes-compatible ones — can choke on long initialization strings with extra compression or error-correction commands. The culprit here is almost always the ModemInitTimeout registry value being too low, or the modem firmware reacting slowly to ATZ or AT&F commands.

The Fix — Step by Step

  1. Check the modem's working outside of Windows first. Open HyperTerminal or PuTTY on the same COM port. Type AT and hit Enter. If you get OK, the modem's alive. If nothing or ERROR, you've got a hardware or cable problem — skip the rest and replace the modem or cable.
  2. Kill the modem initialization timeout. Open Regedit. Go to:
    HKLM\SYSTEM\CurrentControlSet\Services\RasMan\Parameters

    Look for ModemInitTimeout (REG_DWORD). If it's missing, create it. Set the value to 120 (decimal). That gives the modem 2 full minutes to respond. I've never seen a modem need more than 120 seconds unless it's literally on fire.
  3. Shorten the initialization string. Open the modem's properties in Control Panel → Phone and Modem Options → Modems → Properties → Advanced. In the "Extra initialization commands" box, put just:
    ATZ

    That's a reset and nothing else. Saves time on negotiation. Only add extra commands like &K3 if you're on a really noisy line.
  4. Restart the Remote Access Connection Manager service. Run this as admin:
    net stop RasMan && net start RasMan

    Or just reboot the box. I prefer the service restart — faster and doesn't kick users off if it's a production server.
  5. Test the connection. Dial in from a remote machine. If the error's gone, you're done. If not, move on to the next check.

Still failing? Check these three things

  • Flow control mismatch. Your modem's configured for hardware flow control (RTS/CTS) but the serial port's set to software (Xon/Xoff). Open Device Manager → Ports → COM port → Port Settings → Advanced → Flow Control. Set it to Hardware. This alone fixes about 1 in 5 cases.
  • IRQ conflicts. If you're on an old serial PCI card, it might share IRQ with a sound card or USB controller. Check System Information → Hardware Resources → Conflicts/Sharing. Move the card to a different slot if you can.
  • Modem firmware bug. Some old Lucent WinModems have a known bug where they hang on the AT& commands. Update the firmware from the manufacturer's site — or dump the modem and get a reliable external one. I've had zero luck with WinModems in RAS scenarios.

That's it. You'll fix 90% of these with the registry timeout bump alone. The rest is hardware debugging, which is what sysadmins do best.

Was this solution helpful?