Microsoft KB Archive/886209

= Users cannot connect to remote desktops by using the Windows Small Business Server 2003 Remote Web Workplace =

Article ID: 886209

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Windows Small Business Server 2003 Premium Edition
 * Microsoft Windows Small Business Server 2003 Standard Edition

-



Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When users try to connect to a remote desktop on a Microsoft Windows Small Business Server 2003-based network by using a Remote Web Workplace connection, they receive the following error message:

Connectivity to the remote computer could not be established. Ensure that the remote computer is on and connected to the Windows Small Business Server network.

This issue occurs when users click Connect to Server Desktops or Connect to Client Desktops on the Remote Web Workplace site and then try to connect to one of the server desktops or client desktops in the list.



CAUSE
This issue may occur if a process that is running on the Windows Small Business Server-based computer is listening on Transmission Control Protocol (TCP) port 4125. On a Windows Small Business Server-based computer, the Remote Web Workplace uses TCP port 4125 for its remote desktop feature. Sometimes, another process may use TCP port 4125 before Remote Web Workplace can claim port 4125. If another process is listening on this port, Windows Small Business Server cannot respond to the remote computer's connection request.

The most common process that claims TCP port 4125 is Mad.exe. Mad.exe is the Microsoft Exchange System Attendant service.



RESOLUTION
To resolve this issue, determine which process is listening on port 4125, and then stop that process from listening on that port. To do this, follow these steps:  On the Windows Small Business Server computer, click Start, click Run, type cmd, and then click OK. Type the following command, and then press ENTER:

netstat -aon | find &quot;:4125&quot;

You receive results that are similar to the following:

TCP :  :  LISTENING

Note The  (ID) that appears in these results is the ID of the process that is listening on port 4125. Right-click the taskbar, and then click Task Manager. Click the Processes tab, and then click Select Columns on the View menu. Click to select the PID (Process Identifier) check box, and then click OK. On the Processes tab, locate the service that corresponds to the process ID that was returned by the netstat command.</li> Restart the service that corresponds to this process. For example, if the process is Mad.exe, restart the Microsoft Exchange System Attendant service. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type services.msc, and then click OK.</li> Double-click the service that you want to restart, make sure that the name of the process appears in the Path to executable box on the General tab, and then click Cancel.</li> Right-click the service, and then click Restart.</li> If you are prompted to also restart one or more dependent services, click Yes.</li></ol>

Note If this service has stopped responding, you may have to end the process by using Windows Task Manager. To do this, click the process in question, click End Process, and then click Yes.</li></ol>

If you experience this problem with the Mad.exe process, you can modify the port range that is used by the remote procedure call (RPC) protocol to exclude port 4125. To do this, follow these steps.

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. <ol> Click Start, click Run, type regedit, and then click OK.</li> Locate the following registry subkey:

</li> Right-click Rpc, point to New, and then click Key.</li> In the New Key #1 box, type Internet, and then press ENTER.</li> Create the following three registry entries:

Entry name: Ports

Type: REG_MULTI_SZ

Value data: 4125

Entry name: PortsInternetAvailable

Type: REG_SZ

Value data: N

Entry name: UseInternetPorts

Value type: REG_SZ

Value data: Y

To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Right-click Internet, point to New, and then click Multi-String Value.</li> In the New Value #1 box, type Ports, and then press ENTER.</li> Right-click Ports, and then click Modify.</li> In the Value data box, type 4125, and then click OK.</li> Right-click Internet, point to New, and then click String Value.</li> In the New Value #1 box, type PortsInternetAvailable, and then press ENTER.</li> <li>Right-click PortsInternetAvailable, and then click Modify.</li> <li>In the Value data box, type N, and then click OK.</li> <li>Right-click Internet, point to New, and then click String Value.</li> <li>In the New Value #1 box, type UseInternetPorts, and then press ENTER.</li> <li>Right-click UseInternetPorts, and then click Modify.</li> <li>In the Value data box, type Y, and then click OK.</li></ol> </li> <li>Quit Registry Editor, and then restart the Windows Small Business Server computer.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
This issue may also occur if you have a router or a firewall that is configured between the Windows Small Business Server computer and a client computer. In this scenario, verify that the router or the firewall is configured to permit traffic on TCP port 4125 to the Windows Small Business Server computer. For additional information about how to configure or troubleshoot network connectivity issues, click the following article numbers to view the articles in the Microsoft Knowledge Base:

306802 How to configure Small Business Server for full time Internet access with two network adapters

309633 How to configure an SBS for full time Internet access with a single network adapter

329155 You receive a &quot;The server may be too busy&quot; error message when you try to connect to Terminal Services on a Small Business Server 2000 computer

154596 How to configure RPC dynamic port allocation to work with firewalls

Additional query words: SBS SBS2003 RWW

Keywords: kberrmsg kbtshoot kbfirewall kbenv kbprb KB886209

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.