|
Chapter 2: Installing and Configuring Microsoft Windows 2000 Server
About This ChapterThis chapter prepares you for running a Windows 2000 Server installation. It outlines the type of information you should gather to prepare for your installation and describes the steps you should take before you begin. The chapter then takes you through the phases of a normal installation and continues with a discussion of upgrading to Windows 2000 Server. The chapter finishes with a lesson on troubleshooting the Windows 2000 Server installation. Before You BeginTo complete the lessons in this chapter, you must have
Lesson 1: Preparing to Install Windows 2000 ServerBefore you can begin to install Windows 2000 Server, you must prepare for the installation by gathering information and making decisions about how you want to install the software. This lesson gives you the foundation you need to install Windows 2000 Server. It describes the tasks that you should complete before moving on to the installation. After this lesson, you will be able to
Preparing for InstallationDuring installation, the Windows 2000 Setup program asks you to provide information about how to install and configure Windows 2000. You should gather all the necessary information. Good preparation helps you avoid problems during and after the installation. Before you begin the Windows 2000 installation process, review the list of tasks outlined in the table below. Each task is discussed in greater detail in the sections that follow. Initially, you should complete only the first two tasks in this tableverifying that your computer meets the minimum hardware requirements and checking hardware compatibility. The remaining tasks are completed during the actual installation of Windows 2000 Server, which you will perform in the exercises later in this chapter. This table is meant only to prepare you for the installation so that you can install Windows 2000 Server without any unnecessary delays.
In addition to the tasks in the checklist, you should perform the following tasks to prepare for installation and to eliminate potential problems. Working with Domain Name System (DNS) When you create a Windows 2000 domain, the DNS service must be running and configured. If you are joining a domain, you must know the DNS name of the domain that your computer is joining. If DNS is not running, it is installed automatically when you create a domain controller or when you promote a server to a domain controller. Recording Information You should write down the following information: previous operating system (if any), name of the computer (if on a network), name of the workgroup or domain (if on a network), and the IP address (if there is no Dynamic Host Configuration Protocol [DHCP] server or an existing DHCP server will not be used for dynamic IP addressing). Backing Up Files Before you install Windows 2000 Server, you should back up the files that you want to preserve. You can back up files to a disk, a tape drive, or another computer on the network. Uncompressing the Drive Uncompress any DriveSpace or DoubleSpace volumes before installing Windows 2000. You should not install Windows 2000 on a compressed drive unless the drive was compressed with the NTFS compression utility. DriveSpace or DoubleSpace volumes are created in Windows 9x. Windows 9x cannot be upgraded to Windows 2000 Server but can coexist on the same computer running Windows 2000 Server. Disabling Disk Mirroring If you are installing a clean copy of Windows 2000 and you have Windows NT disk mirroring installed on your target computer, disable it before running Setup. You can re-enable disk mirroring after completing the installation. If you are upgrading to Windows 2000, you can leave Windows NT mirroring enabled during Setup. NOTE Disabling hardware level disk mirroring to complete a new installation of Windows 2000 is not necessary since the operating system is unaware of redundant array of inexpensive disks (RAID) implemented in hardware. Disconnecting UPS Devices If you have UPS equipment connected to your target computer, disconnect the connecting serial cable before running Setup. Windows 2000 Setup attempts to automatically detect devices connected to serial ports, and UPS equipment can cause problems with the detection process. Reviewing Applications Before starting the Windows 2000 Server Setup program, be sure to read Readme.doc (in the root directory of the Windows 2000 Server installation CD-ROM) for information regarding applications that need to be disabled or removed before running Setup. You may need to remove virus-scanning software, third-party network services, or client software before running the Windows 2000 Server installation. Checking the Boot Sector for Viruses A boot sector virus will cause the installation of Windows 2000 to fail. To verify that the boot sector is not infected with a virus, run the Makedisk.bat file in the \Valueadd\3rdparty\CA_antiv directory on the Windows 2000 Server installation CD-ROM. The Makedisk.bat utility creates a diskette that is used to check the boot sector. After creating this diskette, boot the computer with the diskette inserted. This will run a boot sector virus check. After the utility has run, remove the diskette and proceed to the next preinstallation step. Gathering Materials Gather the following materials to prepare for the Windows 2000 installation:
IMPORTANT Windows NT 4.0 Setup disks are not compatible with Windows 2000. Minimum Hardware RequirementsYou should be familiar with the minimum hardware requirements necessary to install and operate Windows 2000 Server so that you can determine whether your system meets these requirements. The minimum installation requirements for Windows 2000 are listed in the following table.
Hardware CompatibilityWindows 2000 Setup automatically checks your hardware and software and reports any potential conflicts. However, to ensure a successful installation, you should make sure that your computer hardware is compatible with Windows 2000 Server before starting the setup process. To do this, verify that your hardware is on the HCL. The HCL is included on your Windows 2000 Server installation CD-ROM in the Support folder in Hcl.inc. The HCL lists each hardware model that has passed the Hardware Compatibility Tests (HCTs). The list also indicates which devices Windows 2000 Server supports. Testing is conducted by Windows Hardware Quality Labs (WHQL) and by some hardware vendors. Installing Windows 2000 Server on a computer that does not have hardware listed in the HCL might not be successful. NOTE Microsoft releases an updated HCL on a regular basis. Review the most up-to-date list of supported hardware at the Microsoft WHQL Web site, /hwtest/hcl. If this URL fails, try /isapi/redir.dll?prd=Win2000HCL&pver=1 . This URL should direct you to the WHQL Web site. If it doesn't display the WHQL Web site, search http://www.microsoft.com by using the keyword "HCL." A hardware model is "supported" if it is listed on the HCL and you are using a Microsoft-supplied driver to control that hardware. The term "unsupported" does not imply anything about the relative quality of hardware or of third-party drivers. Many unsupported computers and devices work correctly with Windows 2000. However, the Windows 2000 support staff at Microsoft does not offer a full range of support services for problems specific to unsupported hardware or drivers. Microsoft supports only those devices on the HCL. If one of the computer's devices is not on the HCL, contact the device manufacturer to request a Windows 2000 driver, if it exists. Disk PartitionsThe Windows 2000 Server Setup program allows you to install Windows 2000 Server onto an existing partition or to create a partition and then install Windows 2000 onto the new one. During installation, the Setup program examines the hard disk. Depending on the state of the disk, you will be provided with some or all of the following partitioning options during the installation:
Although you can use the Windows 2000 Setup program to create other partitions, you should create and size only the installation partition. After Windows 2000 is installed, use the Disk Management tool to partition any remaining unpartitioned space on the hard disk. Sizing the Installation PartitionThe Windows 2000 Server Setup program requires a boot partition of at least 671 MB of free space to install all Windows 2000 operating system files. However, it is recommended that you create a boot partition of at least 2 GB to allow for future installations of files and programs, such as the Windows 2000 paging file, operating system tools, and operating system updates. The boot partition holds the core operating system files. The system partition is the partition that holds the files needed to begin the initial load of Windows 2000. On an x86-based computer, the operating system starts from the system partition. This means that Windows 2000 looks for certain files, such as Ntldr, Ntdetect.com, and Boot.ini in the root directory, usually the C: drive (Disk 0) when the computer is started. The operating system cannot start unless the system partition is marked active. The boot partition is where Windows 2000 Server is installed. It contains the operating system parent directory (Winnt, by default), the \System32 subdirectory, the Windows 2000 kernel, and all other files required to run the operating system. If Windows 2000 Server is installed on the active partition, it is both the boot and system partition. The disk partition where you store Windows 2000 files must be on a permanent hard disk and must have enough unused disk space to hold all the files. This partition must be formatted either with the NTFS (NTFS 4.0 or NTFS 5.0) or with the FAT16 or FAT32 file systems. However, you cannot install Windows 2000 to a FAT16 or FAT32 partition that has implemented disk compression, such as Microsoft DriveSpace. NOTE In Windows 2000, if you choose to format NTFS during the installation, it will format the partition directly to NTFS. In previous versions, the partition was formatted FAT and then converted to NTFS. This new process allows you to create partitions larger than 4 GB, although a limit of 7.8 GB still exists on the PC architecture. Winnt.exe and Winnt32.exe, the Setup executable files, report an error if they are unable to find a drive with enough free disk space available (greater than 671 MB), or if the drive specified with the /t: or /tempdrive: switch has insufficient free disk space. If such an error occurs, you must free some disk space and then run Winnt or Winnt32 again. Windows 2000 looks for certain files in the root directory of the active partition when you start your computer; however, the Windows 2000 operating system may be installed on another drive, such as drive D, as long as the drive is configured with a supported file system. If you want to dual-boot your computer to operating systems that do not support NTFS, such as Windows 98, drive C must be FAT16 or FAT32. If a system's hard disk contains basic input/output system (BIOS) controlled partitions, other file systems such as network file system (NFS), stripe sets, volume sets, or mirrors, those elements appear on the Setup screen as partitions of an unknown type. To avoid deleting elements inadvertently, do not use Setup to delete partitions that are displayed as unknown. If you are installing a new copy of Windows 2000 on a partition mirrored in software, you must disable mirroring before running Setup and then reestablish mirroring after installation is complete. However, if you are upgrading Windows NT Server versions 3.51 or 4.0 or Windows 2000 Server, you can leave mirroring enabled during Setup. Do not install Windows 2000 or upgrade to Windows 2000 on a compressed drive unless the drive was compressed with the NTFS file system compression utility. Uncompress a Windows 9x DriveSpace or DoubleSpace volume before running Windows 2000 Setup on it. If you are setting up a dual-boot configuration of Windows 2000 with another operating system such as MS-DOS, Windows 3.0, Windows 95, Windows 98, or Windows NT, install Windows 2000 onto its own partition. Although it is possible to install Windows 2000 onto the same partition as an existing operating system, it is highly recommended that you install Windows 2000 onto a separate partition, because the Windows 2000 Setup program can overwrite files in the Program Files folder installed by other operating systems. File SystemsWhen you are installing Windows 2000 Setup onto unpartitioned disk space, you are prompted to select the file system that should be used to format the partition. You should decide which file system to use before installing Windows 2000 Server. Windows 2000 supports NTFS and the FAT file system. There are two FAT file systems: FAT16 and FAT32. NTFSWindows 2000 supports NTFS, a file system with all the basic capabilities of FAT, plus advanced storage features such as security, compression, and better scalability to large volumes. Windows 2000 and Windows NT are the only operating systems designed to access data on a local hard disk that is formatted with NTFS. NOTE There are third-party utilities designed to provide access to NTFS partitions from MS-DOS and other operating systems; however, these utilities are not supported by Microsoft. Windows 2000 includes a new version of NTFS: NTFS version 5.0. NTFS version 5.0 offers many performance enhancements and a host of new features including per-user disk quotas, file encryption, and reparse points. Reparse points are used to extend file system features. Applications can trap open operations against file system objects and execute their own code before returning file data. (Reparse points are discussed in more detail in Chapter 4, "Microsoft Windows 2000 File Systems.") You can also add disk space to NTFS version 5.0 volumes without rebooting. NTFS requires Windows 2000 or Windows NT. If the computer is booted under a different operating system, that operating system is not able to access the NTFS partitions. You should use NTFS when the Windows 2000 partition requires any of the following features:
NTFS is generally the recommended file system. It is the only one that supports Active Directory services, which includes many important features such as domains and domain-based security. However, in certain cases it might be necessary to use a FAT16 or FAT32 partition in certain dual-boot situations. If you plan to promote a server to a domain controller, format the installation partition with NTFS. FAT16 and FAT32The FAT16 and FAT32 file systems allow access by, and compatibility with, more than one operating system. To boot between Windows 2000 and another operating system, the Windows 2000 system partition must be formatted either with the FAT16 or the FAT32 file system. If you select FAT and the partition is smaller than 2048 MB, Setup formats the hard drive as FAT16. On partitions larger than 2 GB, Setup automatically formats the hard drive as FAT32. NOTE Windows 2000 supports FAT32 volumes of any size created by Windows 95 OSR2 or Windows 98. However, Windows 2000 formats FAT32 volumes only up to 32 GB in size. This limitation stems from memory constraints in recovery utilities such as Autochk. FAT16 and FAT32 do not offer many of the features supported by NTFS, such as file-level security. Therefore, in most situations, you should format the hard disk with NTFS. The only reason to use FAT16 or FAT32 is for dual booting. If you are setting up a computer for dual booting, you would have to format only the system partition as FAT16 or FAT32. For example, if drive C is the system partition, you could format drive C as FAT16 or FAT32 and format drive D as NTFS. However, Microsoft does not recommend dual booting a server. File System ConsiderationsIf the system and boot partitions are different partitions, Windows 2000 Setup will format only the boot partition by default. You must take additional steps during setup to format the system partition. Use the following guidelines and the table below to help you decide which file system format to use for your boot partition.
NOTE You cannot convert FAT16 volumes to FAT32 in Windows 2000. The following table compares the different features of the three file systems supported by Windows 2000:
LicensingWindows 2000 Server supports two licensing modes: Per Server and Per Seat. In Per Server mode, Client Access Licenses (CALs) are assigned to a server. In Per Seat mode, each computer that accesses the Windows 2000 Server computer requires a separate CAL. Per-Server LicensingWith Per Server licensing, CALs are assigned to a particular server. Each CAL allows one connection per client computer to the server for basic network services. You must have at least as many CALs that are dedicated to the server as the maximum number of client computers that could be used to connect concurrently to that server. Per Server licensing is preferred by small companies with only one computer running Windows 2000 Server. It is also useful for Internet or remote-access servers where client computers might not be licensed as Windows 2000 network client computers. In this situation, Per Server licensing allows you to specify a maximum number of concurrent server connections and reject any additional logon attempts. NOTE If you are unsure which licensing mode to use, choose Per Server because you can change, only once, from Per Server to Per Seat licensing at no additional cost (by double-clicking the Licensing icon in the Control Panel). It is not necessary to notify Microsoft to make this change. This is a one-way conversion; you cannot convert from Per Seat to Per Server. Per-Seat Licensing The Per Seat licensing mode requires a separate CAL for each client computer used to access Windows 2000 Server for basic network services. After a client computer has a CAL, it can be used to access any computer running Windows 2000 Server on the enterprise network. Per Seat licensing is often more economical for large networks in which client computers will be used to connect to more than one server. With Terminal Services, the licensing mode is usually Per Seat, except with the Terminal Services Internet Connector license, where the mode would always be Per Server. If you plan to use Terminal Services, you need to install two components: Terminal Services and Terminal Services Licensing. Client Access License (CAL) A CAL gives client computers the right to connect to computers running Windows 2000 Server so that the client computers can connect to network services, shared folders, and print resources. When you install Windows 2000 Server, you must choose a CAL mode: Per Seat or Per Server. The following services do not require CALs:
NOTE If your company uses Microsoft BackOffice products, you must also have licenses for the BackOffice products. A Windows 2000 license does not cover BackOffice products. Workgroups and DomainsDuring installation, you must choose the type of network you want the computer to join. A computer running Windows 2000 can join one of two types of networks: workgroup or domain. Joining a WorkgroupWhen joining a workgroup, assign a workgroup name to the computer. The workgroup name assigned can be the name of an existing workgroup or the name of a workgroup created during installation. Whether assigning a new workgroup name or using an existing one, the computer appears as a member of that workgroup when other computer users in the network browse for network resources. A domain and a workgroup can share the same name. However, consider the following:
During installation, the Windows 2000 Setup wizard provides access to join an existing domain. The wizard stops for the DNS name of the domain. Before a computer running Windows NT or Windows 2000 can join a domain, a computer account must be created in or added to the domain database. Only users who have the Join A Computer To The Domain permission can create a computer account. Members of the Administrators, Domain Administrators, or Account Operators groups have this user right by default. When joining a domain, create a computer account for that computer in advance, or create it during the installation process by selecting the check box Create A Computer Account In The Domain. Next, supply a user account and password that have the authority to add computer accounts in the domain. By default, this must be an Administrator account. NOTE When joining a domain, even if the computer account has been previously created, domain credentials must be supplied. At least one domain controller and one DNS server must be online when installing a computer in the domain. If you install Windows 2000 Server as a stand-alone server without joining a domain, you can join a domain later by using the Network Identification tab in the System Properties dialog box, as shown in Figure 2.1. Figure 2.1 The Network Identification tab in the System Properties dialog box Upgrade or New InstallationBefore running Windows 2000 Server Setup, you need to determine whether to upgrade your existing installation of Windows NT or to perform a new installation. Upgrading is the process of installing Windows 2000 Server in a directory that currently contains certain versions of Windows NT. An upgrade automatically installs Windows 2000 Server into the same directory as the currently installed operating system. The versions of Windows NT from which you can upgrade are:
If you have Windows NT 4.0 Server Enterprise Edition, you can upgrade to Windows 2000 Advanced Server, but not to Windows 2000 Server. If you have a version of Windows NT Server earlier than 3.51, you cannot upgrade directly to Windows 2000 Server; you must first upgrade to Windows NT Server 3.51 or 4.0. Additionally, Windows NT Workstation and Windows 2000 Professional cannot be upgraded to Windows 2000 Server. Installing, in contrast with upgrading, is the process of placing the operating system in a new directory, wiping out the previous operating system at setup, or installing Windows 2000 Server on a disk or disk partition with no previous operating system. If you want to perform a new installation on a disk partition that contains applications you want to keep, you will need to back them up and reinstall them after installing Windows 2000 Server. If you want to perform a new installation of Windows 2000 Server on a partition that previously contained Windows 2000 Server, and you have documents under My Documents that you want to save, back up the documents in the Documents and Settings directory and copy the documents back into the folder after completing the installation. My Documents points to subdirectories below the Documents and Settings directory. Installation MethodsThere are three methods available to install Windows 2000 Server on the Intel platform:
Windows 2000 Server is distributed on a CD-ROM and includes four setup floppy disks. These Setup boot disks are required if you are installing Windows 2000 Server on an x86-based computer that is not running MS-DOS or a Windows operating system and does not support the bootable CD-ROM format. These disks also let you start Windows 2000 later, when it might not be able to start on its own because of a computer error, and to initiate an emergency repair. You can create a set of Setup Boot disks by running Makeboot.exe or Makebt32.exe from the \Bootdisk directory on the Windows 2000 Server installation CD-ROM. Makeboot.exe is a 16-bit DOS application that runs on MS-DOS, 16-bit operating systems like Windows 3.11, and Windows 9x. Makebt32.exe is a 32-bit application that runs on Windows NT and Windows 2000. After the initial setup load process, Windows 2000 starts and the remainder of setup runs under Windows 2000, which is helpful for troubleshooting. For example, the install process displays a standard Windows 2000 error check code if an error occurs during setup. To start an installation of Windows 2000 Server by using the Setup Boot disks, you should first turn off the computer, insert the disk labeled Windows 2000 Setup Boot Disk into drive A, and then turn on your computer. Setup starts automatically. NOTE If you are installing Windows 2000 Server on a computer with no previous operating system, and you are using an MS-DOS boot floppy disk (performing an over-the-network setup), you have to format the drive first. However, if you are using the Windows 2000 Setup disks to start Setup, you can format the drive during Setup. During loading from the Setup boot floppies, the bar at the bottom of the screen displays the Windows 2000 components being loaded. These components are described in the following sections. Setup Disk One The Setupldr.bin file starts the Setup. The computer is inspected and machine identification data is collected. If a driver is not found for the fixed disk that contains the boot partition, you might need to load a third-party driver. Follow the instructions in Setup to load a third-party SCSI or RAID controller driver. The text mode portion of Windows 2000 Setup is loaded. The Ntkrnlmp.exe file loads the Windows 2000 Executive. Setup Disk Two This disk loads the HAL, configuration tools, fonts, locale-specific data, drivers, and controllers. Windows 2000 Setup continues to run in text mode. Setup Disk Three This disk loads the Compaq drive array and disk controller drivers. During this process, Setup detects the appropriate drivers for the system and loads the dynamic volume support (dmboot1). Windows 2000 Setup continues to run in Text mode. Setup Disk Four This disk loads the floppy disk drivers; SCSI CD-ROM, floppy, and fixed drive drivers; and file system drivers (FAT, NTFS, and CDFS). Windows 2000 is loaded and takes over the setup process. The Welcome screen appears, and you can choose whether to set up Windows 2000, repair an existing version of Windows 2000, or quit Setup. At this point, the CD-ROM drive is accessed. Setup searches for previous versions of Windows and any existing partitions. You can delete existing partitions and create new ones. After configuring the partitions, you must choose a file system (NTFS or FAT). The partition is then formatted. When formatting is complete, file copy begins. After the files are copied, the system reboots. Remove any floppy disks before the reboot. Beyond Disk Four After the system reboots, Windows 2000 Setup starts in GUI mode. CD-ROM files continue to be copied to the hard disk. Setup detects and installs devices and then prompts for user information. You must then choose which components to install. From there, choose the type of network installation (typical or custom) and the type of network (workgroup or domain) to join. Setup builds the file list and installs and configures the components. Bootable CD-ROMIf your Windows 2000 Server installation files are on compact disc and your computer's BIOS supports the Bootable CD-ROM (no-emulation mode) format, insert the Windows 2000 Server compact disc into the CD-ROM drive and then turn off your computer. When you turn your computer back on, Setup starts automatically. When Setup requests that you remove the CD-ROM from the CD-ROM drive, do so on bootable CD-ROM systems. Otherwise, Setup starts again on the following boot. IMPORTANT Although your system might support bootable CD-ROMs, you might have to modify your system BIOS to boot to the CD-ROM. If your computer is running an operating system such as Windows 95, Windows 98, or Windows NT and you insert the Windows 2000 installation CD-ROM while the computer is running, the Windows 2000 Setup Wizard dialog box appears (provided you haven't turned off AutoPlay). Over-the-Network (Server-Based)The Windows 2000 Server system files must be available over the network. Copy the Windows 2000 installation CD-ROM, or at a minimum, the source directory (\I386), to a directory on the hard disk of a network server and share the directory. Creating a distribution folder is discussed in more detail in Chapter 3, "Performing an Unattended Installation of Microsoft Windows 2000 Server." Upgrading Windows 95, Windows 98, or Windows NT If your computer is currently running Windows 95, Windows 98, or Windows NT, connect to the system files over the network and run (double-click) Winnt32.exe, located in the I386 directory. Only Windows NT Server can be upgraded to Windows 2000 Server. None of the other Windows operating systems can be upgraded to Windows 2000 Server. If you are installing Windows 2000 Server on a Windows NT Server computer, you are prompted to select Upgrade to Windows 2000 Server or Install Windows 2000 Server. In all other cases, you are prompted to Install Windows 2000 Server. Upgrading Windows NT Server retains most system settings, preferences, and application installations. If you prefer a dual-boot configuration, choose the Install Windows 2000 Server option. Press Enter or click Next to continue. Installing New or Upgrading Current Version If you do not have Windows 95, Windows 98, or Windows NT installed, you need to run MS-DOS and an MS-DOS network client to establish your connection to the shared network folder containing the Setup files. Running the MS-DOS network client, connect to the system files over the network and run Winnt.exe, which is located on the network share. The MS-DOS computer needs 500 KB of free conventional memory to run the setup routine successfully. Make sure you have loaded Emm386.exe and are loading all device drivers high. TIP To free some memory, run LoadHigh Winnt.exe to load portions of Winnt.exe high. You should be running Smartdrv.exe or your installation will be slow, lasting from 4 to 12 hours. Choosing Which Components to InstallWindows 2000 Server includes a wide variety of core components, including a number of administrative tools, which are automatically installed by Setup. In addition, you can choose from a number of components that extend the functionality of Windows 2000 Server. These components can be installed at Setup time or added afterward (through the Add/Remove Windows Components option within Control Panel's Add/Remove Programs application). Choosing more of these components means providing more capabilities on the server. However, you should choose only the components you need, since each component requires additional disk space. The following table will help you choose the components you need in your installation.
The following table describes each of the optional components and is designed to work with the previous table to help you choose appropriate components to install.
Lesson SummaryBefore you begin to install Windows 2000 Server, you should gather any materials that you need, ensure that your hardware can support Windows 2000, and make decisions about how Windows 2000 Server should be installed. For example, you must ensure that your hardware meets the minimum hardware requirements and check all your hardware for compatibility with Windows 2000. You must identify how you want to partition your hard disk and what file system you should use for that partition. You must select a licensing mode, the type of network in which to participate, and the type of installation. You must also decide which optional components should be installed. Taking these steps can help to prepare you for the installation and to eliminate potential problems. Next
Last Updated: Friday, July 6, 2001 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||