Chapter 5 Chapter 5: Server Installation Learning Objectives Chapter 5 Make installation, hardware, and sitespecific preparations to install Windows 2000 Server Install Windows 2000 Server using different.
Download ReportTranscript Chapter 5 Chapter 5: Server Installation Learning Objectives Chapter 5 Make installation, hardware, and sitespecific preparations to install Windows 2000 Server Install Windows 2000 Server using different.
Chapter 5 Chapter 5: Server Installation Learning Objectives Chapter 5 Make installation, hardware, and sitespecific preparations to install Windows 2000 Server Install Windows 2000 Server using different methods, including from a CDROM, from the installation disks, over a network, unattended, and from another operating system Learning Objectives (continued) Chapter 5 Go through a Windows 2000 Server installation step by step, and test the installation Upgrade a Windows NT server and domain Create an emergency repair disk Troubleshooting Tip Chapter 5 Obtain the latest device drivers before you start the installation, such as those for the NIC, HAL.dll (for SMP computers), SCSI adapters, CD-ROM drives, RAID arrays Make Important Decisions in Advance Chapter 5 How to partition the disk or disks What file system(s) to use What to name the server What password to use for the Administrator account What protocols to use What licensing method to use Whether to make the server a DC Decide Whether to Set Up a Dual Boot System Chapter 5 Other systems that can reside on the same server as Windows 2000 Server include MS-DOS, Windows 3.x, Windows 95, and Windows 98 Partitioning Chapter 5 If you create FAT and NTFS partitions, create the FAT partition before you start (or leave an existing FAT partition if you create a dual boot system) Boot.ini File Chapter 5 The Boot.ini file on the system partition contains information about the location of both operating systems in a dual boot configuration Sample Boot.ini File Chapter 5 Figure 5-2 Boot.ini file FAT Partitions Chapter 5 Windows 2000 will format a 2 GB or smaller partition as FAT16 and a partition larger than 2 GB as FAT32 Server Naming Chapter 5 Use a name that is easy to type Make the name descriptive of the server’s function or of the organization Select a name that is easy to remember and use Make sure the name is not already used on the network Administrator Password Chapter 5 Use a “strong” or difficult-to-guess password for the critical Administrator account Characteristics of a strong password: Over seven characters long Has a combination of letters, numbers, and symbols Includes at least one symbol in characters two through six Protocol Selection Chapter 5 Consider using the default TCP/IP setup as a starting point and add other protocols later as needed Licensing Methods Chapter 5 Per server licensing: A server software license based on the maximum number of clients that log on to the server at one time Per seat licensing: A server software license that requires that there be enough licenses for all network client workstations Initial Server Installation Chapter 5 Standalone server: A server that is not a member of a domain, but that is a member of an existing workgroup or that establishes its own workgroup, such as in peer-to-peer networking Member server: A server that is a member of an existing Windows 2000 domain, but that does not function as a domain controller (Either type of server can be later set up as a domain controller) Installation Options Chapter 5 CD-ROM only Floppy disk and CD-ROM Network installation Installation from an existing operating system Unattended installation Installation Programs Chapter 5 Use Winnt.exe from scratch (installation disks or CD-ROM) and from computers already booted from MS-DOS or Windows 3.x Use Winnt32.exe from computers already booted from Windows 95/98, Windows NT, or Windows 2000 (for an upgrade) Command-line Switches for Winnt Chapter 5 Switch Purpose /? Lists the switches for Winnt /a Initiates the accessibility options for those who have visual, hearing, or movement disabilities /e:command Executes a command after the Windows portion of the setup, such as to start a program or open the Control Panel /i:initialization filename Specifies that you are using an initialization file other than the default, Dosnet.inf (this initialization file shows where installation files are located) /r:foldername Creates an optional folder of files copied from the Windows 2000 Server CD-ROM (the folder remains after the installation is completed) /rx:folder Creates an optional folder of files copied from the Windows 2000 Server CD-ROM (the folder is deleted after the installation is completed) Command-line Switches for Winnt (continued) Chapter 5 Switch Purpose /s:drive:\folder Use a path for the installation files other than the current path /s:\\ server\share\folder /t:drive\folder Copy the temporary files used by the installation to a specified location (otherwise they are copied to the target drive of the installation) /u:script file Used in an unattended installation to specify the name of the script file containing installation commands and should be used with the /s command udf:id Enables a uniqueness database file to be used with an unattended installation so that particular information in the script can be changed, such as the name of the server (id specifies the name of the database file, such as udf:install.dbf) Command-line Switches for Winnt32 Chapter 5 Switch Purpose /? Lists the switches for Winnt32 /checkupgradeonly Creates only a report to tell you if the computer is compatible with Windows 2000 (the report is called Upgrade.txt for computers running Windows 95/98 and Winnt32.log for computers running Windows NT 3.51 or 4.0) /cmd:command Executes a command before the Windows portion of the setup is completed and just after you have provided configuration information /comdcons Adds a Recovery Console option to the BOOT.INI file so that you can fix problems with an installation /copydir:folder Creates a special subfolder in the final Winnt directory, usually implemented for information specific to that installation, such as to store specialized drivers for use only during the installation (the folder is deleted after the installation is completed) Command-line Switches for Winnt32 (continued) Chapter 5 Switch Purpose /copysource:folder Creates a special subfolder in the final Winnt directory, usually implemented for information specific to that installation, such as to store specialized drivers for use during the installation or to store for later use (the folder is retained after the installation is completed) /debug level:file Creates a file to help you debug installation problems, on the basis of the level you specify (Winnt32.log is the default if no file is specified; levels are 0=major errors, 1=errors, 2=warnings, 3=information, 4=detailed information) /m:folder Enables you install files from the default installation folders on the CD-ROM and from a folder you specify with the /m command – if the installation finds two files of the same name, it uses the file in the folder specified by /m /makelocalsource Copies the CD-ROM source files to the same disk that is designated for the Winnt folder (enabling you to later install additional services or components from your local hard disk) Command-line Switches for Winnt32 (continued) Chapter 5 Switch Purpose /noreboot Does not automatically reboot after files are copied to the hard disk, enabling you to run a command in the interim such as to check the dates on driver files for the most current versions /s:drive:\folder Uses a path for the installation files other than the current path – also enables you to /s:\\ server\share\folder copy files from two or more sources by specifying multiple /s commands /syspart:drive Enables you to copy the files used by setup to a hard drive, remove the hard drive, and install it in another computer (can be used by computer manufacturers who install the first phase, but leave the second phase of the installation to the purchaser to specify parameters unique to her or his site like the server name; must be used with /tempdrive) Command-line Switches for Winnt32 (continued) Chapter 5 Switch Purpose /tempdrive:drive Temporary files and the final Windows 2000 system files are copied to the drive specified, such as to drive D: in /tempdrive:D /unattend Enables you to upgrade a version of Windows 2000 to a later version, using the parameters already in place for your current version /unattend [seconds]:script file Used in an unattended installation to specify the name of the script file containing installation commands (the seconds parameter is used to create an interval between when the setup files are copied and the computer reboots so you can interrupt to enter a command) udf:id Enables a uniqueness database file to be used with an unattended installation so that particular information in the script can be changed, such as the name of the server (id specifies the name of the database file, such as udf:install.dbf) CD-ROM Installation Chapter 5 Set the computer’s BIOS to boot first from CD-ROM Insert the Windows 2000 Server CDROM Turn the computer off and then back on (you may need to press Enter to boot from CD-ROM) After Winnt.exe starts, follow the instructions on the screen Floppy Disk and CD-ROM Installation Chapter 5 Set the BIOS to boot first from drive A: Power off the computer Insert Setup Disk #1 and the CD-ROM Turn on the computer, booting from the Setup Disk #1 After Winnt.exe starts, insert Setup Disk #2 and follow the on-screen instructions Making Copies of the Setup Disk Chapter 5 Format 4 floppy disks Insert the Windows 2000 Server CDROM Click Start and then click Run Enter the drive letter of the CD-ROM and the path \bootdisk\makebt32.exe Click OK Follow the on-screen instructions Network Installation Chapter 5 Copy the installation files from the Windows 2000 Server CD-ROM which are in the folder \I386 Share the host’s folder and set appropriate permissions Map the host’s shared folder from the target server computer Run Winnt.exe or Winnt32.exe from the shared folder Follow the on-screen instructions Installation from an Existing Operating System Chapter 5 Boot the computer to use its existing operating system Insert the Windows 2000 Server CDROM Click Start, click Run, enter the drive letter of the CD-ROM and the path to the Winnt.exe or Winnt32.exe file, such as \I386\winnt32 plus any switches Follow the on-screen instructions Installation Tip Chapter 5 If you install Windows 2000 from MSDOS, you can reduce the installation time from several hours to under an hour if you start the SMARTDRIVE utility before running Winnt.exe Unattended Installation Over the Network Chapter 5 Create an answer file using Setup Manager or Notepad Use the /s and /u (or /unattend) switches to specify the location of the installation files and of the answer file such as: Winnt32 /s:\\mainserver\I386 /unattend:unattend.txt Use a uniqueness database and the /UDF switch to further customize the unattended installation Unattended Installation via CD-ROM Chapter 5 An alternative to a unattended network installation is to create an answer file to use along with booting via the CD-ROM, but name the file, Winnt.sif Creating Duplicate Unattended Installations Chapter 5 Use Sysprep.exe to clone computers that have the same hardware configuration Use Syspart.exe to clone computers that have different hardware configurations Installation Troubleshooting Tip Chapter 5 If Setup starts, but does not find mass storage, restart the installation, press F6 as soon as possible and load the manufacturer’s driver (such as for a SCSI adapter) If Setup does not start because you are using an SMP computer, restart the installation, press F5, and provide the computer manufacturer’s Hal.dll Installation Part 1 Chapter 5 When the Windows Setup starts, it inspects the computer hardware and loads drivers and then presents a screen on which to press Enter to start the installation Installation Part 1 (continued) Chapter 5 Figure 5-3 Beginning setup options Installation Part 1 (continued) Chapter 5 Read the licensing agreement and press F8 Select the partitioned or unpartitioned disk space on which to install Windows 2000 Installation Part 1 (continued) Chapter 5 Figure 5-4 Detecting partitions Installation Part 1 (continued) Chapter 5 Select the file system to use, FAT or NTFS Setup automatically checks the disks, copies files, and reboots into the graphical mode Installation Part 2 Chapter 5 Setup gathers and verifies information about the computer, such as the keyboard and pointing device Setup next enables you to configure regional and keyboard settings, such as the language that you use Installation Part 2 (continued) Chapter 5 Enter your name and the name of your organization Enter the product key which is obtained from the back of the Windows 2000 Server CD-ROM jewel case Installation Part 2 (continued) Chapter 5 Figure 5-5 Name and organization information Installation Part 2 (continued) Chapter 5 Select the licensing mode Enter the name of the server and the Administrator account’s password Select the Windows 2000 components to install Installation Part 2 (continued) Chapter 5 Figure 5-6 Windows 2000 components Installation Part 2 (continued) Chapter 5 If there is an installed modem, provide the Modem Dialing information Verify the date and time Select the network configuration option, such as Typical settings in order to install TCP/IP Specify whether the computer will start off in a workgroup or domain (if in a domain, provide the account and password) Installation Part 2 (continued) Chapter 5 Wait for Setup to install components and files and then click Finish Installation Part 2 (continued) Chapter 5 Figure 5-7 Installing components Log On and Test the Server Chapter 5 Press Ctrl+Alt+Del, enter Administrator as the account name, and enter the Administrator password you specified during the installation Look for the Windows 2000 Configure Your Server dialog box, which provides one method for continuing to configure the server Configure Your Server Tool Chapter 5 Figure 5-8 Configuration dialog box Testing the Desktop Icons Chapter 5 Test the desktop icons and other preliminary functions of the server Desktop Chapter 5 Figure 5-9 Windows 2000 Desktop Upgrading a Windows NT 4.0 Server and Domain Chapter 5 Coordinate a time for the upgrade Backup each server that will be upgraded Upgrade the PDC first Upgrade the BDCs one at a time Upgrade using Winnt32 Upgrading a Windows NT 4.0 Server and Domain (continued) Chapter 5 Select the Upgrade to Windows 2000 (recommend) option Follow the directions in the Windows 2000 Setup Upgrading a Windows NT 4.0 Server and Domain (continued) Chapter 5 Figure 5-10 Selecting the upgrade option Upgrading a Windows NT 4.0 Server and Domain (continued) Chapter 5 When the Active Directory Wizard starts, specify if you want to join an existing domain tree or forest, or start a new one Establish the appropriate default domain and other group policies Convert the domain to native mode after the last BDC is upgraded and there are no more Windows NT servers Troubleshooting Tip Chapter 5 Create an emergency repair disk for each newly installed or upgraded server Update the emergency repair disk every time you implement an important change on a server, such as after installing new hardware, drivers, and software Troubleshooting Installation Problems Chapter 5 The first step is to avoid problems through your advanced preparations Purchase components listed on the HCL Test all hardware before you start the installation Run the computer’s diagnostics before starting Run a comprehensive test of the hard disk before starting Troubleshooting a Windows 2000 Server Setup Chapter 5 Problem Description Solution Steps Installation fails when Make sure you have previously created an account in the domain connecting to the domain and provided the right domain name. Also, make sure the computer controller is connected to the network, that the domain controller and DNS server are working, and that you are using the right protocol. Troubleshooting a Windows 2000 Server Setup (continued) Chapter 5 Problem Description Solution Steps A problem is reported with Restart the installation and press F5 as soon as possible to load the HAL.DLL or you see a stop HAL.DLL from a floppy disk. message 0x000000A Irql_Not_Less_Or_Equal. The installation fails when Go back to configure network settings. Make sure you have installing the network installed a protocol that is appropriate for your network and that components. you have provided all the information needed to set up the protocol. Check the network interface card to ensure it is working. Reseat or replace the card and start Setup again. Use the diagnostic software provided with the card to test for problems. If this does not work, try a card from a different manufacturer, in case there is a hardware incompatibility. Troubleshooting a Windows 2000 Server Setup (continued) Chapter 5 Problem Description Solution Steps A problem is reported with The BOOT.INI file needs to be changed to indicate where to find NTOSKRNL.EXE or in Windows 2000 (if other than on the primary system drive) or finding NTLDR. NTLDR is not on the drive used to boot (called the system drive). A device driver is not Obtain the most recent driver from the manufacturer. available in Setup for a given component, such as a NIC, sound card, video card, or other adapter. A STOP message appears Start the installation again. If the STOP message appears a second during the installation. time, record the message and consult a Microsoft technician. Computer locks up Check the IRQ and I/O settings for conflicts among hardware components and cards (check the NIC and any specialized cards in particular). Service Packs Chapter 5 Check Microsoft’s Web site for the latest information about service packs and the option to download them For more control, install service packs using the Update command Windows Service Pack Update Switches Chapter 5 Switch Purpose -f Close all programs when the operating system shuts down prior to rebooting -n Disable the backup of old files used to uninstall the service pack -o Automatically copy new files over the old OEM files -q Install using the quiet mode so that the user does not have to respond to prompts during the installation -u Install using the unattended mode /? List the available switches Uninstalling Windows 2000 Server Chapter 5 Backup the server files Use the disk management utilities in the new operating system to delete the Windows 2000 partition, re-partition the drive, and format it (or start a Windows 2000 installation and delete the partition via Windows 2000 Setup) Install the new operating system Chapter Summary Chapter 5 Before you install Windows 2000 Server, make sure the computer’s components are on the HCL Make decisions in advance about how to complete the installation options, such as how to partition the disk and what file system to use Chapter Summary Chapter 5 Use the appropriate installation option, such as installing from CD-ROM, from the installation diskettes, over the network, from another operating system, or unattended Make an emergency repair disk after you finish the installation