Last Update: Sep 24, 2024 | Published: Jan 07, 2009
As described in my previous articles, Windows Server 2008 has an interesting option to install it with a minimal graphical user interface (or GUI for short). This method of installation is called “Server Core”, and it allows an administrator to only install the minimum binaries required to run a specific server role (currently, there are 9 possible Server Core roles). You can read more about it on my “Understanding Windows Server 2008 Server Core” article.
Although Server Core has no real GUI (except a few tools such as Task Manager), we still need to access it locally in order to run configuration and diagnostic commands on it. Some of these commands are accessible via remote MMC snap-ins, run from remote management workstations or servers. However, some commands need to be run only on the local Command Prompt, causing us to need to physically have access to the Server Core server.
This can be avoided by enabling the machine running Server Core to allow us to remotely connect to it by using the Remote Desktop Protocol client, also known as mstsc. But before we can use it to connect to the machine, we need to make sure the following issues have been dealt with. These requirements are:
You should, but are not required to, also join the server to your domain.
Next, in order to properly configure Server Core to allow ICMP replies, follow these steps:
cscript C:WindowsSystem32Scregedit.wsf /ar 0
This enables the Remote Desktop for Administration mode to accept connections. BTW, in order to view your current settings you can type:
cscript C:WindowsSystem32Scregedit.wsf /ar /v
If you see “1” in the script output, that means that RDP connections are denied. If you see a “0”, they will be allowed. Note: If you are running the Terminal Services client on a previous version of Windows, you must turn off the higher security level that is set by default in Windows Server 2008. To do this, type the following command at the command prompt:
cscript C:WindowsSystem32Scregedit.wsf /cs 0
netsh advfirewall firewall set rule group="Remote Desktop" new enable=yes
Summary
Windows Server 2008 Server Core installations, like any other servers, require remote management. In order to allow for that, the server’s Firewall and registry settings need to be changed. This article showed you how to do that.
Got a question? Post it on our Windows Server 2008 forums!