Category Archives: Server 2008 R2 Core

W2K8 R2 Core Services – Unbinding The Link-Layer Discovery Services

W2K8 R2 Core Services – Unbinding The Link-Layer Discovery Services

This article provides the steps required to unbind the Link-Layer Discovery Services through the Registry on a Windows 2008 R2 Core Services Server.

Unbinding The Link-Layer Topology Discovery Mapper I/O Driver Service

To unbind the Link-Layer Topology Discovery Mapper I/O Driver on a Windows 2008 R2 Core Services Server perform the following steps :-

  • Logon to the server as an Administrative account and at the Command Prompt enter the registry by executing the following command :-

regedt32

  • Navigate through the Registry to the following Key :-

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\lltdio\Linkage

  • Edit the Bind Value and remove the Network Card GUID of the card you wish to unbind the Service from

Unbinding The Link-Layer Topology Discovery Responder Service

To unbind the Link-Layer Topology Discovery Responder on a Windows 2008 R2 Core Services Server perform the following steps :-

  • Logon to the server as an Administrative account and at the Command Prompt enter the registry by executing the following command :-

regedt32

  • Navigate through the Registry to the following Key :-

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\rspndr\Linkage

  • Edit the Bind Value and remove the Network Card GUID of the card you wish to unbind the Service from

W2K8 R2 Core Services – Move The Pagefile To A Different Disk

Moving The Pagefile To A Different Disk

This article explains how to move the Pagefile on a Windows 2008 R2 Core Services Server to a different disk.

Disable Automatic Managed Pagefile

The first step in moving the Pagefile to a different disk is to disable the automatic managed pagefile by performing the following steps :-

  • At the command prompt execute the following :-

wmic computersystem where name=”{Your Server Name}” set AutomaticManagedPagefile=False

  • Insert the name of you Server in between the quotes – E.G. “Server01” where Server01 is your Server Name

Creating The New Pagefile

The next step is to create the pagefile which will be used by performing the following steps :-

  • At the command prompt execute the following :-

wmic pagefileset create name=”D:\pagefile.sys” 

wmic pagefileset where name=”D:\\pagefile.sys” set InitialSize=2560,MaximumSize=2560

  • The commands above will first create the new pagefile.sys file on the D: drive and then configure it for a Minimum and Maximum Size of 2.5GB.

Deleting The Original Pagefile

The final steps in moving the Pagefile to a different disk is to delete the original Pagefile and rebooting the server by performing the following steps :-

  • At the command prompt execute the following :-

wmic pagefileset where name=”C:\\pagefile.sys” delete

shutdown -r -f -t 0

W2K8 R2 Core Services – Enabling RDP Access

Enabling Remote Desktop Access To A Windows 2008 R2 Core Services Server

This article provides the steps needed to enable Remote Desktop Access to a Windows 2008 R2 Core Services server.

To enable RDP access to a Windows 2008 R2 Core Service server perform the following steps :-

  • Logon to the console of the Core Services Server as an administrative account
  • At the command prompt execute the following :-

cscript %windir%\system32\SCRegEdit.wsf /ar 0

  • To enable Administration Mode execute the following :-

cscript %windir%\system32\SCRegEdit.wsf /ar /v

Allowing Remote Desktop Access Through The Windows Firewall

If you have the Windows Firewall Enabled on the server you will need to add in a new Rule in order to connect to the server.  To add in a new Rule to the Windows Firewall perform the following steps :-

  • At the command prompt execute the following :-

netsh advfirewall firewall set rule group=”Remote Desktop” new enable=yes

W2K8 R2 Core Services – Disabling The Teredo Tunneling Adapter

W2K8 R2 Core Services – Disabling The Teredo Tunneling Adapter

This article explains how to disable the Teredo Tunnelingl Adapter on a Windows 2008 R2 Core Services Server.

The Teredo Tunneling Adapter is used to tuneel IPv6 over IPv4 networks and can be disabled if you are not using IPv6 in your network.

To disable the Teredo Tunnel Adapter perform the following step :-

  • At the command prompt execute the following :-

netsh interface teredo set state disabled

W2K8 R2 Core Services – Disabling The ISATAP Tunnel Adapter

W2K8 R2 Core Services – Disabling The ISATAP Tunnel Adapter

This article explains how to disable the ISATAP Tunnel Adapter on a Windows 2008 R2 Core Services Server.

The ISATAP (Internet/Site Automatic Tunnel Addressing Protocol) Tunnel Adapter is used to connect IPv6 hosts and routers over IPv4 networks and can be disabled if you are not using IPv6 in your network.

To disable the ISATAP Tunnel Adapter perform the following step :-

  • At the command prompt execute the following :-

netsh interface isa set state disabled

W2K8 R2 Core Services – Disabling NetBIOS Over TCP/IP

Disabling NetBIOS Over TCP/IP

This article explains the steps required to disable NetBIOS Over TCP/IP on a Windows 2008 R2 Core Services Server.

Due to the stripped down nature of Wndows 2008 R2 Core Services, the easiest way to disable NetBIOS Over TCP/IP is by using the wmic command.

To disable NetBios over TCP/IP using the wmic command perform the following steps :-

  • At the command prompt execute the following

regedt32

  • Navigate through the Registry to the following Key :-

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NetBT\Parameters\Interfaces

  • Listed are the Network Interface GUID’s
  • Click on the Network Interface GUID you wish to disable NetBIOS for and edit the NetbiosOptions value
  • Change the NetbiosOptions setting from 0 to 2
  • Reboot the server by executing the command shutdown /r /f /t 0

W2K8 R2 Core Services – Installing And Configuring The DHCP Server Role

Installing DHCP Server Role On Windows 2008 R2 Core Services

This article provides the steps to install the DHCP Server role on to a Windows 2008 R2 Core Services server.

To install DHCP Server role perform the following steps.

  • At the command prompt execute the following command to install the DHCP Server role :-
start /w ocsetup DHCPServerCore
  • Next execute the following command to configure the DHCP Server Service to start Automatically :-
sc config dhcpserver start = auto
  • Next start the DHCP Server Service by executing the following command :-
net start dhcpserver
  • If your DHCP Server is part of an Active Directory Domain execute the following command to Authorise the server :-
netsh dhcp add server %computername% {DHCP Server IP Address}
E.G. netsh dhcp add server %computername% 10.20.30.40

Configuring A DHCP Scope

To configure a new DHCP Scope on the server once it’s installed perform the following steps.

  • At the command prompt execute the following command to add a new scope :-
netsh dhcp server {DHCP Server IP Address} scope xxx.xxx.xxx.0 add iprange xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx {Scope Name Required}
E.G. netsh dhcp server 10.20.30.40 scope 10.20.30.0 add -iprange 10.20.30.100 10.20.30.200 OfficeScope
  • Next to activate the DHCP Scope execute the following command :-
netsh dhcp server {DHCP Server IP Address} scope 

Configuring An Exclusion Range

To add an Exclusion Range to the scope perform the following steps.

  • At the command prompt execute the following command to add an Exclusion Range :-
netsh server {DHCP Server IP Address} scope xxx.xxx.xxx.0 add excluderange xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
E.G. netsh dhcp server 10.20.30.40 scope 10.20.30.0 add -iprange 10.20.30.150 10.20.30.175
 

Configuring A Default Gateway

Depending on the DHCP Scope you’re creating you may need to add the Default Gateway Option.

To add the Default Gateway Option perform the following steps.

  • At the command prompt execute the following command :-
netsh server {DHCP Server IP Address} scope xxx.xxx.xxx.0 set Optionvalue 003 IPADDRESS xxx.xxx.xxx.xxx
E.G. netsh server 10.20.30.40 scope 10.20.30.0 set Optionvalue 003 IPADDRESS 10.20.30.1
 

Configuring A DNS Server

Depending on the DHCP Scope you’re creating you may need to add the DNS Server Option.

To add the DNS Server Option perform the following steps.

  • At the command prompt execute the following command :-
netsh server {DHCP Server IP Address} scope xxx.xxx.xxx.0 set Optionvalue 006 IPADDRESS xxx.xxx.xxx.xxx
E.G. netsh server 10.20.30.40 scope 10.20.30.0 set Optionvalue 006 IPADDRESS 10.20.30.250

W2K8 R2 Core Services – Disabling IPv6

Disabling IPv6 On A Windows 2008 R2 Core Services Server

This article explains the steps required to disable IPv6 on a Windows 2008 R2 Core Services Server.

Due to the stripped down nature of Wndows 2008 R2 Core Services, IPv6 can only be disabled through the registry by performing the following steps :-

  • Log in to the server as an Admnistrative Account
  • At the command prompt execute the following command :-

reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 255

  • Reboot the server by executing the following command :-

shutdown -r -f -t 0

Windows 2008 R2 Core Services Technical Documentation

Windows 2008 R2 Core Services Technical Documentation