Showing posts with label install. Show all posts
Showing posts with label install. Show all posts

Thursday, June 25, 2009

How do I perform a install a SERVER CORE installation using an UNATTEND file

Using an unattend file to install a Server Core installation

Using an unattend file for a Server Core installation enables you to perform most of the initial configuration tasks during Setup. Performing an unattended Server Core installation provides the following benefits:

  • There is no need to perform the initial configuration by using command-line tools.
  • You can include the settings in the unattend file to enable remote administration (when Setup is complete).
  • You can configure settings that cannot be easily modified at a command prompt, such as display resolution.

To install a Server Core installation by using an unattend file:

  1. Create a .xml file titled Unattend.xml by using a text editor or Windows System Image Manager.
  2. Copy the Unattend.xml file to a local drive or shared network resource.
  3. Boot your computer to Windows Preinstallation Environment (Windows PE), Windows Server 2003, or Windows XP.
  4. Insert the media disk with the Server Core installation of Windows Server 2008 into your disk drive. If the auto-run Setup window appears, click Cancel.
  5. At a command prompt, change to the drive that contains the installation media.
  6. Type the following at a command prompt:
    setup /unattend:<path>\unattend.xml
    where path is the path to your Unattend.xml file.
  7. Allow Setup to complete.

Note:
Appendix A of this document contains a sample unattend file with comments that explain the settings in the sample configuration. This sample can be modified for use in your environment.

Tuesday, May 26, 2009

How do I install the DHCP Server role on the SERVER CORE ?

To install the DHCP Server role on the SERVER CORE

  • At a command prompt, type:

start /w ocsetup DHCPServerCore

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

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

  • 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.To configure and start the DHCP Server service

At a command prompt, type:

sc config dhcpserver start= auto

Start the service by typing:

net start dhcpserver

  • Typing the following at the command prompt will uninstall the DHCP Server role

start /w ocsetup DHCPServerCore /uninstall

How do I install the DNS server role on the SERVER CORE ?

To install the DNS Server role on the SERVER CORE

  • 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.

  • Configure a DNS zone at the command prompt by typing:

dnscmd

OR

by remotely using the DNS MMC snap-in.

Note: Typing start /w ocsetup DNS-Server-Core-Role /uninstall at the command prompt will uninstall the DNS Server role.