In addition to being installed from a CD-ROM, Windows 2000 Professional can be installed over the network. This lesson demonstrates the similarities and differences between installing from a CD-ROM and installing over the network. The major difference is the location of the source files needed to install Windows 2000 Professional. This lesson also describes the requirements for a network installation.
After this lesson, you will be able to
Estimated lesson time: 10 minutes
In a network installation, the Windows 2000 Professional installation files reside in a shared location on a network file server, which is called a distribution server. From the computer on which you want to install Windows 2000 Professional (the target computer), you connect to the distribution server and then run the Setup program.
The basic environment requirement for a network installation is shown in Figure 1.4. You need to prepare this environment before starting the installation.
Figure 1.4 A network installation's basic environment
The following list describes what you need to do to prepare your environment for a successful network installation.
NOTE
Once you have created or located a distribution server, you can use the over-the-network installation method to concurrently install Windows 2000 Professional on multiple computers.
A distribution server stores the distribution folder structure. The distribution folder structure contains the files necessary to install Windows 2000 Professional over the network. If you have many computers on which to install Windows 2000 Professional, or if you will be doing multiple Windows 2000 Professional installations simultaneously, create more than one set of distribution folders. Having distribution folders set up on several computers will make the file copying during the Windows 2000 Setup faster. Even if you have several different types of hardware configurations on which to install Windows 2000 Professional, you need create only one set of distribution folders and use them with different answer files to install to all the different hardware types. Later in this chapter you will learn how to use scripts and answer files to automate installation.
NOTE
If you are installing Windows 2000 Professional on a computer running Windows 95, Windows 98, Windows NT, or an earlier version of Windows 2000, the Winnt32.exe program allows you to specify up to eight locations on which to store the distribution folders.
To create a distribution server, follow these steps:
NOTE
The name W2000P is for a distribution folder structure containing the source files for Windows 2000 Professional. You can use W2000S for Windows 2000 Server and W2000AS for Windows 2000 Advanced Server. If you are creating distribution folder structures on more than one server, you can name them W2000P1, W2000P2, W2000P3, W2000P4, and so on.
NOTE
The $OEM$ subfolder is used to hold applications, drivers, or utilities you want Setup to copy to the target computer.
If Setup finds the $OEM$ folder in the root of the distribution folder, it copies all of the files found in this directory to the temporary directory created during the text-mode portion of Setup.
NOTE
The OEMFILESPATH key in the answer file allows you to create the $OEM$ subfolder outside of the distribution folder.
The Windows 2000 Professional Setup program copies the installation files to the target computer. After copying the installation files, Setup restarts the target computer. From this point on, you install Windows 2000 Professional in the same way that you install from a CD-ROM.
The steps for installing Windows 2000 Professional over the network are as follows (see Figure 1.5):
Figure 1.5 Installing Windows 2000 over the network
You can modify a server-based installation by changing how setup is executed using Winnt.exe. Table 1.1 describes the switches that you can use with Winnt.exe to control the setup process.
Table 1.1 Available Switches for Winnt.exe
Switch | Description |
---|---|
/a | Enables accessibility options. |
/e[:command] | Specifies a command to be executed at the end of Setup s GUI mode. |
/r[:folder] | Specifies an optional folder to be installed. The folder is retained after installation. |
/rx[:folder] | Specifies an optional folder to be copied. Setup deletes the folder after installation. |
/s[:sourcepath] | Specifies the source location of Windows 2000 Professional files. The location must be a full path of the form x:\ [path] or \\server\share\ [path]. The default location is the current folder. |
/t[:tempdrive] | Specifies a drive to contain temporary setup files. If not specified, Setup attempts to locate a drive for you. |
/u[:answer file] | Performs an unattended setup using an answer file. The answer file provides answers to some or all of the prompts that you normally respond to during Setup. (This switch also requires the use of the /s switch.) |
/udf:id[,UDF_file] | Establishes an identifier (ID) that Setup uses to specify how a Uniqueness Database File (UDF) modifies an answer file. This switch overrides answer file values, and the identifier determines the values in the UDB file that are used. If you don t specify a UDB file, Setup prompts for the disk containing the $Unique$.udb file. |
You can modify a server-based installation by changing how setup is executed using Winnt32.exe. Table 1.2 describes the switches that you can use with Winnt32.exe to control the setup process.
Table 1.2 Available Switches for Winnt32.exe
Switch | Description |
---|---|
/checkupgradeonly | Checks the computer for upgrade compatibility with Windows 2000 Professional; for upgrade installations, it creates a report. |
/copydir:folder_name | Creates an additional folder within the systemroot folder (the folder that contains the Windows 2000 Professional system files). For example, if your source folder contains a folder called My_drivers, type /copydir:My_drivers to copy the My_drivers folder to your system folder. You can use the /copydir switch to create as many additional folders as you like. |
/copysource:folder_name | Creates an additional folder within the systemroot folder. Setup deletes files created with /copysource after installation completes. |
/cmd: command_line | Executes a command before the final phase of Setup. |
/cmdcons | Adds a Recovery Console option to the operating system selection screen. |
/debug[level] [:file_name] | Creates a debug log at the specified level. By default, it creates C:\Winnt32.log at level 2 (the warning level). |
/m:folder_name | Forces Setup to copy replacement files from another location and to look in that location first. If files are present, this switch tells Setup to use those files instead of files from the default location. |
/makelocalsource | Forces Setup to copy all installation files to the local hard disk. Use this switch when installing Windows 2000 Professional from a CD-ROM if you want to access installation files when the CD-ROM drive isn t available later in the installation. |
/noreboot | Forces Setup to not restart the computer following the file copy phase, which enables a command to be entered by the user prior to completing setup. |
/s:source_path | Specifies the source location of Windows 2000 Professional installation files. To simultaneously copy files from multiple paths, use a separate /s switch for each source path. |
/syspart:drive_letter | Copies Setup startup files to a hard disk and marks the drive as active. You can then install the drive on another computer. When you start that computer, Setup starts at the next phase. Use of /syspart requires use of the /tempdrive switch. |
/tempdrive:drive_letter | Places temporary files on the specified drive and installs Windows 2000 Professional on that drive. |
/unattend [number] [:answer_file] | Performs an unattended installation. The answer file provides your custom specifications to Setup. If you don t specify an answer file, all user settings are taken from the previous installation. You can specify the number of seconds between the time that Setup finishes copying the files and when it restarts. You can specify the number of seconds only on a computer running Windows 2000 Professional that is upgrading to a later version of Windows 2000 Professional. |
/udf:id[,udf_file] | Indicates an identifier (ID) that Setup uses to specify how a Uniqueness Database File (UDF) modifies an answer file. The .UDF file overrides values in the answer file, and the identifier determines which values in the .UDF file are used. For example, /udf:RAS_user, Our_company.udf overrides settings that are specified for the RAS_user identifier in the Our_company.udf file. If you don t specify a .UDF file, Setup prompts the user to insert a disk that contains the $Unique$.udf file. |
In this lesson, you learned that the main difference between an over-the-network installation and an installation from a CD-ROM is the location of the source files. Once you connect to the shared folder containing the source files and start Winnt.exe or Winnt32.exe, the installation proceeds like an installation from a CD-ROM. Several switches are available for Winnt.exe and for Winnt32.exe to modify the installation process.