March 12th, 2009

Once we have installed Windows 2008 we need to configure RDP (Remote Desktop Protocol) so we can connect to our new server remotely.

First we need to allow the server to be administered remotely. W can do this by running the following command

winrm quickconfig

This willenable the basic configuration so you can connect to the server remotely using an MMC concole

By default RDP is disabled so we need to logon from the console (or VMware server) with an Administrator account and use the following commands

  1. cd \
  2. cd windows
  3. cd system32
  4. cscript scregedit.wsf /ar o (the last character is a zero)
  5. cscript scregedit.wsf /ar /v (this displays the registry entry so you can verify it has been changed)

The disable RDP

  1. cd \
  2. cd windows
  3. cd system32
  4. cscript scregedit.wsf /ar 1
  5. cscript scregedit.wsf /ar /v (this displays the registry entry so you can verify it has been changed)

When running the verify command the following applies

1 indicated RDP is disabled
0 ondicates RDP is enabled

Leave a Reply