Installing Windows Server 2003
This section contains step-by-step details for installing Windows Server 2003 Server from the Windows Server 2003 CD. The steps assume that you are installing on a fresh drive or a drive that has no data you want to preserve. If you are upgrading an existing server, proceed to Chapter 2, "Performing Upgrades and Automated Installations."
Character Phase Setup
With the Windows Server 2003 CD in the CD-ROM drive, proceed as directed in Procedure 1.1.
Procedure 1.1 Installing Windows Server 2003 on a New Machine
Start the machine with the bootable CD in the CD-ROM drive. It's a good idea to initiate Setup using a cold start. Some systems are not good about resetting every bit of hardware with a warm boot.
Press a key when prompted. When all drivers have loaded and the Windows Server 2003 Executive has initialized, a Welcome to Setup screen appears (see Figure 1.2).
Figure 1.2. Text-mode setup—Welcome to Setup screen.
There are three options. The Recovery Console option is covered in Chapter 21, "Recovering from System Failures." Press Enter to continue with Setup.
The Windows Server 2003 Licensing Agreement screen appears. This contains the text of the End User Licensing Agreement (EULA).
Press F8 to agree to the terms of the EULA. A partition management screen appears (see Figure 1.3). If you are installing on a new server, the drives show a status of Unpartitioned Space.
Figure 1.3. Text-mode setup—partition management.
If you have existing partitions that you want to remove, highlight the partition name and press D. Setup responds with two confirmation screens to delete the partition. The first confirmation screen appears if the partition is a system partition (flagged Active in the Master Boot Record). Press Enter to confirm. The second confirmation screen asks you to press L.
After all partitions have been removed, highlight the Unpartitioned Space entry and press C to create a partition. If you select a partition other than the active boot partition, Setup prompts you to create a system partition that is bootable. A 1MB partition is sufficient.
When you create a partition, Setup prompts you to specify the size of the partition in MB. Give the operating system at least 3GB, with 4GB preferred.
When the partition has been created, Setup returns to the partition management screen. Highlight the newly created partition and press Enter to install Windows Server 2003 into that partition.
Setup now prompts you to format the partition using either NTFS or FAT (see Figure 1.4). You have the option of a standard or fast format. Fast formatting skips a sector scan of the disk.
Figure 1.4. Text-mode setup—system partition formatting.
Select a format type and press Enter. Setup formats the partition and displays a progress bar.
When the format is finished, Setup copies installation files from the CD to the newly formatted partition.
When the file copy completes, the system restarts. The graphic phase begins automatically thanks to a pointer in Boot.ini.
After restart, the system loads and shifts to Graphic mode and begins Setup again. A Welcome window opens. Follow the steps laid out in Procedure 1.2.
Procedure 1.2 Continuing with the Graphic Mode Portion of Setup
Click Next at the Welcome window or wait a while for Setup to proceed automatically. The Installing Devices window opens and PnP enumeration begins.
Give this step lots and lots of time.
The machine may seem to hang for many minutes. If you get frustrated and restart, Setup will return to this point and begin the discovery all over again. Don't lose heart.
If you make it through the device installation without hangs or errors, the Regional and Language Settings window opens. You have the opportunity here to change the Locale and Keyboard settings, if necessary.
Locale Settings determine the National Language Support (NLS) files that Setup loads. These files control parameters such as display language, decimal points, monetary units, and such.
Keyboard Settings control key mappings and special keystroke functions.
Click Next. The Personalize Your Software window opens. Fill in the Name and Organization fields. These entries are for information only. The name is not used to build any accounts, and the company name you enter does not affect licensing. Setup merely writes the values to the Registry. However, you cannot enter Administrator or Guest.
You should avoid putting actual user names in the Personalize Your Software window. This avoids problems with an old administrator's name appearing in application setups years later. You can change the user information in the Registry:
HKLM | Software |Microsoft |Windows NT | CurrentVersion
Click Next. The Product Key window opens. Enter the 25-character product key from the Windows Server 2003 jewel box or other container. If you are using a master license or volume purchase agreement, enter the key associated with the agreement.
Click Next. The Licensing Modes window opens (see Figure 1.5). Refer to the earlier "Licensing" section in this chapter under the "Functional Overview of Windows Server 2003 Setup" topic for details on making the decision between Per Server and Per Device or Per Client licensing.
Figure 1.5. Windows Server 2003 Setup—Licensing Modes window.
Click Next. The Computer Name and Administrator Password window opens. Refer to the earlier "Managing Administrator Passwords" section in this chapter for advice on selecting server names and passwords.
Click Next. If you have a modem in the server, the Modem Dialing Information window opens. Enter your area code and any dial-out prefix such as 9 or 19. This information is used to make Registry entries under HKLM | System | Software | Microsoft | Windows | CurrentVersion | Telephony.
Click Next. The Date and Time Settings window opens. Use this window to set the date, time, and time zone. See the earlier "Dates and Times" section in this chapter for details.
Click Next. Setup now performs additional inspections to determine the state of the network and how to configure the network hardware. TCP/IP is always loaded. If Setup discovers SAP broadcasts and accompanying IPX/SPX traffic, for example, it will load the NWLINK transport drivers.
Note that if you have legacy network adapters that were not configured correctly during the device installation step, the machine may hang at this step. Give Setup lots of time, however, before restarting.
After Setup loads the network drivers, the Networking Settings window opens. You have two configuration choices: Typical Settings and Custom Settings (see Figure 1.6).
Figure 1.6. Graphic-mode setup—Networking Settings window.
Selecting Typical Settings tells Setup to lease an address from DHCP and use the configuration information in the DHCP response packet. If a DHCP server is not available, the TCP/IP driver defaults to a random address from the 169.254.0.0 address space. This is called Automatic Private IP Addressing.
Select the Custom Settings radio button and click Next. The Networking Components window opens (see Figure 1.7). You can use this window to make any special configurations for network services and communication protocols.
Figure 1.7. Graphic-mode setup—Networking Components window.
Double-click Internet Protocol (TCP/IP) to open its Properties window. Use this window to enter an IP address, default gateway, and DNS server, along with advanced settings for WINS and security features such as TCP/IP filtering and IPSec.
After you have completed entering your configuration settings, click OK to close and return to the Networking Settings window.
Click Next. The Workgroup or Computer Domain window opens (see Figure 1.8). If you want the machine to be in a workgroup, leave the default radio button selected and enter the workgroup name.
Figure 1.8. Windows Server 2003 Setup—Workgroup or Computer Domain window.
If you want to join the machine to a domain, select the Yes, Make This Computer A Member Of The Following Domain and enter the domain name. If you get an Unable to Locate Domain Controller error, look for a problem with your WINS or DNS configuration.
Click Next. Setup begins copying files from the CD.
After the file copy is complete, the Performing Final Tasks window opens and Setup begins configuring the services and components you installed.
After the final tasks have been finished, Setup displays the Completing the Windows Server 2003 Setup Wizard window. The machine restarts automatically if you take no action.
After restart, the system boots to the Ctrl+Alt+Del logon window. Log on and finish configuring the machine.
When you log on to a Windows Server 2003 or Windows 2000 domain, you are authenticated via Kerberos. Chapter 11, "Understanding Network Access Security and Kerberos," has details of the Kerberos transactions. A service called Userinit.exe sets up your working environment, creates your user profile, and starts the Explorer shell in your security context.
If you are logging on to a newly installed server, the Configure Your Server window opens. This window is controlled by the Server Configuration Wizard, Srvwiz.dll, a component of Mshta.exe, the Internet Explorer repair tool. The Server Configuration Wizard is controlled by a Registry entry under HKCU | Software | Microsoft | Windows NT | CurrentVersion | Setup | Welcome | Srvwiz.
The Configuration Wizard consists of a set of Java-based windows that collects features you want to enable, then automates their installation. Figure 1.9 shows an example. The results are logged in \Windows\Cys.log.
Figure 1.9. Configure Your Server Wizard showing the list of available service control options.
You can close the wizard with the option to not open it again, if you prefer to configure your server manually. Later, if you change your mind and decide that a wizard looks like a pretty good way to configure a server, you can launch it again from the Control Panel using the Configure Your Server applet.
Web Server Configuration Differences
Because Web Server is designed as a platform for IIS, it has a special set of web-based configuration windows that can be used to manage the server.
When you log on for the first time following Setup, the system prompts you to authenticate with web services. This cannot be done if the Administrator account has a blank password because network logons must have a password in Windows Server 2003. Figure 1.10 shows the initial Welcome configuration page.
Figure 1.10. Web Server Welcome configuration page.
This window has two navigational bars. The first bar at the top controls access to major administrative areas, such as Status, Network, Disk, Users, and so forth. Each major area has a secondary navigational bar under it that controls access to individual information or configuration pages. Figure 1.11 shows an example of the Interfaces page under Network configuration.
Figure 1.11. Example Web Server configuration page.
Any of the administrative tasks presented in these pages can also be performed using standard Windows Server 2003 MMC-based administration tools. The pages themselves are part of an Administration web site installed at port 8098 on a Web Server. By default, this port requires Secure Sockets Layer (SSL) for access. A non-encrypted port, 8099, exists only to redirect to the SSL port or to give an error message if the SSL port is not used.