Remote Desktop

From Omnia
(Redirected from RDP)
Jump to navigation Jump to search

RDP

Port: TCP 3389

mstsc

mstsc - Microsoft Terminal Services Client

To simulate Ctrl-Alt-Del use Ctrl-Alt-End.

To connect to an administering session:

mstsc <host> /admin

If using server 2003:

mstsc <host> /console

Set dimensions:

mstsc /admin /w:1024 /h:768

Remote Desktop Connection Usage

[Image:Remote Desktop Connection Usage.png]

Enable remote desktop remotely

How can I remotely enable Remote Desktop on Windows Server 2003:

What you need to do is create the new RDP listening port via the registry:

1. Run REGEDIT on your XP workstation or on your Windows 2000/2003 Server.

2. Click on File, then choose "Connect Network Registry".

3. In the Select Computer search box either browse Active Directory to locate the remote server, or type its name in the dialog box.

Click Ok.

4. In the remote machine's registry browse to the following key:

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server

5. Under the Terminal Server key find the value named fDenyTSConnections (REG_DWORD). Change the value data from 1 (Remote Desktop disabled) to 0 (Remote Desktop enabled).

Click Ok.

6. Close Regedit.

7. Reboot the remote machine for the change to take effect. You can easily do so by opening a command prompt and typing the following command:

shutdown -m \\srv1 -r

Other references:

Enable Remote Desktop via Registry

enable_remote_desktop.reg:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000000

Change RDP Port

How to change the listening port for Remote Desktop - http://support.microsoft.com/kb/306759

  1. Start Registry Editor.
  2. Locate and then click the following registry subkey:
  3. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
  4. On the Edit menu, click Modify, and then click Decimal.
  5. Type the new port number, and then click OK.
  6. Quit Registry Editor.
  7. Restart the computer.

Increase Performance

  • Show Options -> Display -> Display Configuration -> 1024x768 or Full Screen
  • Show Options -> Display -> True Color (24 bit) or High Color (16 bit) or High Color (15bit)
  • Show Options -> Local Resources -> Remote audio -> Remote audio playback -> Do not play
  • Show Options -> Local Resources -> Remote audio -> Remote audio recording -> Do not record
  • Show Options -> Local Resources -> Local devices and resources -> uncheck [ ] Printers
  • Show Options -> Local Resources -> Local devices and resources -> uncheck [ ] Clipboard ** I tend to keep this one checked anyway **
  • Show Options -> Local Resources -> Local devices and resources -> More -> uncheck [ ] everything
  • Show Options -> Experience -> Performance -> Low-speed broadband (256 kbps-2Mbps) or Modem (56kbps)
  • Show Options -> Experience -> check [x] Persistent bitmap caching
  • Show Options -> Experience -> check [x] Reconnect if the connection is dropped

Issues

Error:

The security database on the server does not have a computer account for this workstation trust relationship

Solution:

  • RDP was setup with the new security settings
    • Use a Vista, Win7 or above system to connect
    • Reduce the RDP security settings

keywords