How to Manage Windows Server 2008 Core Server Roles

by Nideesh C on February 9, 2011 · 1 comment

in Server2008




List the available server roles and features

1. To discover the available server roles, open a command prompt and type the following:

oclist

This command lists the server roles and optional features that are available for use with Ocsetup.exe. It also lists the server roles and optional features that are currently installed.

Install the Active Directory Domain Services role

1. To install the Active Directory Domain Services role type:

dcpromo /unattend:

Where unattendfile is the name of a Dcpromo.exe unattend file.

This command installs the Active Directory Domain Services role and promotes the server to a domain controller by using the settings in the unattend file (which you need to manually create).

Note: Dcpromo.exe can also be used to demote a domain controller to a server.
Install the Active Directory Lightweight Directory Services role

1. To install the AD LDS role type:

start /w ocsetup DirectoryServices-ADAM-ServerCore

Note: Using /w prevents the command prompt from returning until the installation completes. Without /w, there is no indication that the installation completed.

Uninstall the AD LDS role by typing the following at a command prompt:

start /w ocsetup DirectoryServices-ADAM-ServerCore /uninstall

Install the DHCP Server role

1. At a command prompt, type:

start /w ocsetup DHCPServerCore

Note: Using /w prevents the command prompt from returning until the installation completes. Without /w, there is no indication that the installation completed.

2. Configure a DHCP scope at the command prompt by using netsh, or by remotely using the DHCP snap-in from Windows Server 2008.

3. If the DHCP server is installed in an Active Directory domain, you must authorize it in Active Directory.

Note: The DHCP Server service does not start automatically by default. Use the following procedure to configure it to start automatically and to start the service for the first time.

Uninstall the DHCP Server role by typing the following at acommand prompt:

start /w ocsetup DHCPServerCore /uninstall

Configure and start the DHCP Server service

1. At a command prompt, type:

sc config dhcpserver start= auto

2. Start the service by typing:

net start dhcpserver

Install the DNS Server role

1. At a command prompt, type:

start /w ocsetup DNS-Server-Core-Role

Note: Using /w prevents the command prompt from returning until the installation completes. Without /w, there is no indication that the installation completed.

2. Configure a DNS zone at the command prompt by typing dnscmd or by remotely using the DNS MMC snap-in.

Uninstall the DNS Server role by typing the following at a command prompt:

start /w ocsetup DNS-Server-Core-Role /uninstall

Install File Services role and features

The Server service is installed by default to provide administrative share support for management tools. To install additional file server features use the following commands:

1. For File Replication service, type the following at a command prompt:

start /w ocsetup FRS-Infrastructure

Note: Using /w prevents the command prompt from returning until the installation completes. Without /w, there is no indication that the installation completed.
2. For Distributed File System service, type:

start /w ocsetup DFSN-Server

3. For Distributed File System Replication, type:

start /w ocsetup DFSR-Infrastructure-ServerEdition

4. For Services for Network File System (NFS), type:

start /w ocsetup ServerForNFS-Base

start /w ocsetup ClientForNFS-Base

Note: Uninstall any file server role options by using these commands with the /uninstall option.

Install Print Services role and features

1. For the Print Server feature, type the following at a command prompt:

start /w ocsetup Printing-ServerCore-Role

2. For the Line Printer Daemon (LPD) service, type:

start /w ocsetup Printing-LPDPrintService

Add a printer to the print server

1. Determine the IP address or host name of the printer you want to connect to. You can usually obtain this information by looking at the printer’s test or printer configuration page.

2. Ping the printer from the print server in order to verify that the print server can communicate with the printer through the network.

3. On a remote computer running Windows Vista or Windows Server 2008, open the Print Management console and add the server running the Server Core installation.

4. Expand the entry for the print server running a Server Core installation, right-click Drivers, and then click Add Driver. The Add Printer Driver Wizard starts.
5. Complete the wizard to install the printer driver for your printer.

6. In the Print Management console, right-click Printers and then click Add Printer. The Network Printer Installation Wizard starts.

7. Click Add a TCP/IP or Web Services printer by IP address or hostname and then click Next.

8. Enter the printer’s host name or IP address (the port name will be the same by default), and then click Next.

9. Make any necessary changes to the printer name, contact information, or sharing status, and then click Next.

Not Satisfied ? Just search & get the result

Related Posts Plugin for WordPress, Blogger...
Be Sociable, Share!

Related posts:

  1. How to Manage Windows Server 2008 Core Local Settings
  2. How to move a DHCP database from Windows Server 2003 to Windows Server 2008
  3. ADPREP in Windows Server 2008
  4. Operations Master Roles in Windows Server 2003
  5. How to Resolve “RPC Server is Unavailable” Error in Windows Server 2008 R2 Remote Disk Management

{ 1 comment… read it below or add one }

1 Pharm February 10, 2011 at 8:45 am

Hello interesting site!

Reply

Leave a Comment

Previous post:

Next post: