Friday, May 28, 2010

How to change the listening port for Remote Desktop

Start Registry Editor.

Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber

On the Edit menu, click Modify, and then click Decimal.

Type the new port number, and then click OK.

Quit Registry Editor.


To enable Remote Desktop remotely by using the registry


1.On any computer that is running a version of Windows Server 2003 or Windows XP Professional, click Start, click Run, type regedit, and then click OK.

2.On the File menu, click Connect Network Registry.

3.In the Select Computer dialog box, type the computer name and then click Check Names.

4.In the Enter Network Password dialog box, provide Domain Admins credentials for the domain of the server, and then click OK.

5.After the computer name resolves, click OK.

6.In the computer node that appears in the Registry Editor, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server.

7.In the console tree, click Terminal Server and then, in the details pane, double-click fDenyTSConnections.

8.In the Edit DWORD Value box, in Value data, type 0, and then click OK.

9.To implement the change, reboot the server remotely, as follows:

Open a command prompt, type the following, and then press Enter:

shutdown -m \\ DomainControllerName -r

No comments:

Post a Comment