Running Setup
How you start Setup depends on whether you are performing an upgrade on your current operating system or installing a new copy of Windows 2000 Professional. To help determine your installation method, see "Choosing an Upgrade or a Clean Installation" earlier in this chapter. The following section guides you through your chosen installation path.
Using Winnt32.exe to Upgrade to Windows 2000 Professional
Upgrading from Windows NT Workstation 4.0 and 3.51, Windows 98, and Windows 95 must be done from within the existing operating system by using Winnt32.exe. To launch Setup from within an operating system, run Winnt32.exe from the command prompt, as well as any additional command-line options you might need.Setup detects your previous operating system, and then prompts you to upgrade to Windows 2000. During the upgrade, the Setup Wizard detects and installs Windows 2000 drivers for your devices, and then it creates a report on devices that cannot be upgraded so that you can be sure your hardware and software are compatible with Windows 2000 Professional.The following sections give detailed descriptions of the upgrade process for Windows NT Workstation 4.0 and 3.51, as well as Windows 95 and Windows 98.
NOTERunning Winnt32.exe from the command prompt installs or upgrades Windows 2000 Professional from a previous version of Windows 95, Windows 98, or Windows NT Workstation 4.0 and 3.51.
Running Winnt.exe, performing a network installation, starting from the Windows 2000 Professional operating system CD, or using the four boot floppy disks performs a clean installation and does not allow you to upgrade. You must be inside the existing operating system to upgrade.
NOTE
In this chapter, Winnt.exe and Winnt32.exe are also referred to as Setup.
Running Setup to Upgrade an Existing Microsoft Windows Operating System
You can run the winnt32 command at a Windows 95, Windows 98, or Windows NT Workstation 4.0 and earlier command prompt.The syntax of the Winnt32 command is as follows:winnt32 [/s:sourcepath] [/tempdrive:drive_letter][/unattend[num]:[answer_file]] [/copydir:folder_name][/copysource:folder_name] [/cmd:command_line] [/debug[level]:[filename]][/udf:id[,UDF_file]] [/syspart:drive_letter] [/checkupgradeonly] [/cmdcons][/m:folder_name] [/makelocalsource] [/noreboot]
Table 4.5 describes the Winnt32.exe command switches in more detail.Table 4.5 Winnt32.exe Command Switches
Switch | Meaning |
---|---|
/s:sourcepath | Specifies the location of the Windows 2000 Professional files. To simultaneously copy files from multiple servers, specify multiple /s sources. To copy files from a particular server more quickly (depending on your local hardware), specify the same source multiple times. |
/tempdrive:drive_letter | Directs Setup to place temporary files on the specified drive and to install Windows 2000 on that drive. |
/unattend[num]: [answer_file] | Performs a new installation in unattended mode, using an answer file for user settings, rather than using settings from the previous installation. The num variable is the number of seconds between when Setup finishes copying the files and when Setup restarts. You can use num only on a computer running Windows 2000 Professional. The answer_file variable is the name of the answer file. |
/copydir:folder_name | Creates an additional folder within the folder that contains the Windows 2000 Professional files. For example, if the source folder contains a Private_drivers folder that has modifications just for your site, you can type winnt32 /copydir:Private_drivers to have Setup copy that folder to your Windows 2000 Professional folder (C:WinntPrivate_drivers). You can use the /copydir switch to create as many folders as you like. Replaces the /r switch. |
/copysource:folder_name | Temporarily creates an additional folder within the folder that contains the Windows 2000 files. For example, if the source folder contains a Private_drivers folder that has modifications just for your site, you can type winnt32 /copysource:Private_drivers to have Setup copy that folder to your Windows 2000 Professional folder and then use its files during Setup (C:WinntPrivate_drivers). Unlike folders created by the /copydir switch, folders created by using /copysource are deleted after Setup completes. |
/cmd:command_line | Instructs Setup to carry out a specific command before the final phase of setup; that is, after your computer has restarted twice and after Setup has collected the necessary configuration information, but before setup is complete. |
/debug[level]:[filename] | Creates a debug log at the specified level. The default creates a log file (C:Winnt32.log) that has the level set to 2 (Warning). |
/udf:id[,UDF_file] | Indicates an identifier (id) that Setup uses to specify how a Uniqueness Database (UDF) file modifies an answer file (see the /unattend entry). The UDF 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.udb overrides settings specified for the identifier RAS_user in the Our_company.udb file. If no UDF_file is specified, Setup prompts the user to insert a disk that contains the $Unique$.udb file. |
/syspart:drive_letter | Specifies that you can copy Setup startup files to a hard disk, mark the disk as active, and then install the disk into another computer. When you start that computer, it automatically starts with the next phase of the Setup. You must always use the /tempdrive switch with the /syspart switch. The /syspart switch for Winnt32.exe only runs from a computer that already has Windows NT 3.51, Windows NT 4.0, or Windows 2000 installed on it. It cannot be run on Windows 95 or Windows 98. |
/checkupgradeonly | Checks your computer for upgrade compatibility with Windows 2000. For Windows 95 or Windows 98 upgrades, Setup creates a report named Upgrade.txt in the Windows installation folder. For Windows NT 3.51 or 4.0 upgrades, it saves the report to the Winnt32.log in the installation folder. |
/cmdcons | Adds to the operating system selection screen a Recovery Console option for repairing a failed installation. It is only used post-setup. |
/m:folder_name | Specifies that Setup must copy replacement files from an alternate location. Instructs Setup to look in the alternate location first and, if files are present, use them instead of the files from the default location. |
/makelocalsource | Instructs Setup to copy all installation source files to your local hard disk. Use /makelocalsource when installing from a CD-ROM to provide installation files when the CD-ROM is not available later in the installation. |
/noreboot | Instructs Setup to not restart the computer after the file copy phase of winnt32 is completed so that you can carry out another command. |
Upgrading from Windows 95 or Windows 98
Upgrading from Windows 95 or Windows 98 to Windows 2000 Professional might require additional planning because of the differences in the registry structure and differences in how software developers structure their application setup procedures.Also, while in Windows 95 or Windows 98 you do not need an account to access the operating system, in Windows 2000 Professional you are required to have an existing account, or you need to create an account during the upgrade. In this situation, if you do not already have an account set up on the Windows 95 or Windows 98–based computer, set up an account on the Windows 95 or Windows 98–based computer prior to upgrading to Windows 2000 Professional. This way, the Windows 95 or Windows 98 account migrated when you upgrade to Windows 2000 Professional. Prior to upgrading from Windows 95 or Windows 98 to Windows 2000 Professional, make sure that you meet the minimum hardware requirements. See "Checking Hardware Requirements" earlier in this chapter.The following steps lead you through an upgrade from Windows 95 or Windows 98 to Windows 2000.
When the Windows 2000 Professional operating system CD is inserted, the Autorun.inf program runs the installation SplashScreen, and then the installation procedure is initiated. The installer detects your current operating system version and, if the version on the CD is later, it asks if you want to upgrade. If the installation version is earlier than the installed version, you must perform a clean installation, and you cannot upgrade.At this point, Setup asks whether you want to install Windows 2000 Professional to a new directory, or upgrade an existing version of Windows.Figure 4.2 shows the Windows 2000 Professional Setup Wizard screen.
Figure 4.2 Windows 2000 Professional Setup Screen
Next you see the Windows 2000 Professional End User License Agreement (EULA) screen, shown in Figure 4.3. If you agree with the terms provided, select I accept this agreement to continue the installation. You have Next and Back buttons to move between screens.
Figure 4.3 Windows 2000 Professional End User License Agreement Screen
After the License Agreement screen, you see the Windows 2000 Professional Upgrade Preparation screen, shown in Figure 4.4.
Figure 4.4 Upgrade Preparation Screen
The next screen is the Windows 2000 Professional Product Key, shown in Figure 4.5, where you are asked to enter the product key that came with your version of Windows 2000 Professional.
Figure 4.5 Windows 2000 Professional Product Key Screen
After entering the product key, clicking Next begins the hardware-detection phase of Setup. Setup detects the hardware on your system for the upgrade report.After the hardware-detection phase has completed, the next screen prompts you to provide upgrade packs. These can be either migration DLLs or upgrade files. If you choose YES, a screen appears asking you to add the available upgrade packs. If NO, click Next.Next you are presented with the option to upgrade to the NTFS file system. The Setup screen observes that, although this option provides added file security, reliability, and more efficient use of disk space, that you should not use it if you are planning to use Windows 2000 Professional with another operating system, such as MS-DOS or Windows 95 or Windows 98. In other words, don't convert the drive to NTFS if you want to be able to have a dual-boot configuration with Windows 95 or Windows 98 or MS-DOS and want access to all partitions from both operating systems. For more information on dual booting, see "Planning a Multiple-Boot Configuration" earlier in this chapter. This conversion is only for FAT or FAT32 drives and only applies to the drive where the operating system files reside.On systems that have hardware components with drivers that are known to not be Windows 2000–compatible, and software programs that cause problems or failures during the upgrade, you might be halted at this point with a message that one or more devices or programs will be disabled if you continue.After you make these choices, the installer copies the necessary files to your computer's hard drive. This typically takes several minutes.When it is done, the computer needs to restart. You can choose to have it restart automatically, or you can do this manually. When it restarts, a new item appears in the Boot Manager startup menu, followed by several text-mode screens.You are prompted right before the first logon to enter a password for all user accounts you had on Windows 95 or Windows 98. If you had user profiles enabled, accounts are created for all users who log on to the computer. If you did not have user profiles enabled, only the current user account and the administrator account are created. All accounts are set to the password you select. They can be changed by means of Users and Passwords in Control Panel.
Upgrading Windows NT Workstation 4.0 from CD
The following procedure describes upgrading your existing Windows NT Workstation 4.0 operating system to Windows 2000 Professional.
Start your computer by running your current operating system, and then insert the Windows 2000 Professional operating system CD-ROM into your CD-ROM drive.If Windows NT 4.0 does not detect the CD, from the Start menu, and then click Run. At the prompt, type the following command, replacing D with the letter assigned to your CD drive:D:i386winnt32.exeand then press Enter.– Or –Run Setup from the root of the CD-ROM.The Windows 2000 Professional Setup screen appears, asking if you want to upgrade your existing operating system or perform a clean installation of Windows 2000 Professional, as shown in Figure 4.6.
Figure 4.6 Windows 2000 Professional Setup Screen
The Licensing Agreement screen is next. If you agree with the terms, select I accept this agreement to continue. You have Next and Back buttons to navigate between screens, as shown in Figure 4.7.
Figure 4.7 Windows 2000 Professional End User License Agreement Screen
The next screen is the Windows 2000 Professional Product Key, shown in Figure 4.8, where you are asked to enter the product key that came with your version of Windows 2000 Professional.
Figure 4.8 Windows 2000 Professional Product Key Screen
After entering the product key, Setup runs a compatibility check, which checks the computer for incompatible devices and applications.Next, Setup begins copying installation files to the hard drive, as shown in Figure 4.9.
Figure 4.9 Copying Installation Files Screen
After the installation files are copied, Setup initializes your Windows 2000 configuration. The computer then restarts.After Setup restarts the computer, you see a blue text screen, and then Setup begins to load the hard-drive controller drivers, search for earlier versions of the Windows operating system, and copy the remaining Setup files to the installation folders. When this is complete, Setup restarts.After Setup restarts, the graphical user interface (GUI) mode of Setup begins. Next, the Installing devices screen appears and detects your computer hardware devices, such as the mouse and keyboard, followed by the Network Settings screen, which installs the default network components. This can take several minutes.Next, the Components screen installs and configures default components, such as Component Services Accessories and Utilities, and Fax Service.
During the final stage of the installation, Windows 2000 Setup completes the following:
Installs start menu itemsRegisters componentsSaves settingsRemoves temporary files
At this point, Setup is complete. For further information about setting up an account, joining a workgroup, or joining a domain, see "Post-Installation Tasks" later in this chapter.When the computer restarts, the Welcome to Windows screen appears, prompting you to press CTRL+ALT+DELETE to log on.
Upgrading Windows NT Workstation 3.51 From CD
To begin your upgrade from Windows NT Workstation 3.51, start your computer by running your current operating system, and then insert the Windows 2000 Professional operating system CD into your CD-ROM drive.
NOTE
Make sure that you have networking installed before starting the upgrade.
In Program Manager, click File, and then click Run. At the prompt, type the following command, replacing D with the letter of your CD-ROM drive:D:i386winnt32.exePress ENTER.Follow steps 3 through 11 of the procedure, "Upgrading Windows NT 4.0 Workstation from CD."
Running Setup for a Clean Installation of Windows 2000 Professional
To begin installing Windows 2000 Professional on your computer, run the Windows 2000 Setup program. For a clean installation on x86-based computers, run Winnt.exe from an MS-DOS prompt.
NOTE
If you are using Winnt.exe to start Setup, it is highly recommended that you load Smartdrv.exe or other disk-caching software before beginning Setup.
Winnt.exe Command Syntax
Running Winnt.exe performs a clean installation of Windows 2000 Professional. You can run the Winnt.exe command at an MS-DOS, Windows 3.1, or Windows for Workgroups 3.11 command prompt. Winnt.exe command switches are shown in Table 4.6.The syntax of the Winnt.exe command is as follows:winnt [/s[:sourcepath]] [/t[:tempdrive]] [/u[:answer file]] [/udf:id[,UDF_file]][/r:folder] [/r[x]:folder] [/e:command] [/a]Table 4.6 Winnt.exe Command Switches
Switch | Meaning |
---|---|
/s:sourcepath | Specifies the source location of the Windows 2000 Professional installation files. The location must be a full path in the form x:[path] or servershare[path]. The default is the current folder. To simultaneously copy files from multiple servers, specify multiple /s sources. |
/t:tempdrive | Specifies a drive to contain temporary Setup files. If you don't specify a location, Setup attempts to locate a drive for you, and then uses the partition with the most free space. |
/udf:id[,UDF_file] | Indicates an identifier (id) that Setup uses to specify how a Uniqueness Database File (UDF) modifies an answer file (see /u). The /udf switch overrides values in the answer file, and the identifier determines which values in the UDF files are used. If no UDF_file is specified, Setup prompts you to insert a disk that contains the $Unique$.udb file. |
/a | Skips the free disk space verification of the Setup startup floppy disks. |
/u[:answer file] | Performs unattended Setup using an answer file (requires /s). The answer file provides answers to some or all of the prompts you normally respond to during Setup. |
/r:folder | Specifies an optional folder to be installed. The folder remains after Setup finishes. Use additional /r switches to install additional folders. |
/r[x]:folder | Specifies an optional folder to be copied. The folder is deleted after Setup finishes. |
/E | Specifies a command to be carried out at the end of the GUI-mode portion of Setup. |
Performing a New Installation by Using the Setup Startup Disks
The following procedure describes installing Windows 2000 Professional by using the four Setup floppy disks.Before you begin Installing Windows 2000 Professional by using the Setup startup disks, make sure your BIOS is set to start from the floppy drive, then the hard disk drive. For example, Boot Sequence A, C (A being your floppy drive, C being your hard drive).
With your computer turned off, insert the Windows 2000 Professional Setup startup disk #1 into your floppy disk drive.Start your computer.When your computer starts from the floppy drive, the Windows 2000 Professional Setup screen appears as blue text.Setup inspects your computer's hardware configuration, and then begins to install the Setup and driver files. After a short time, it asks you to insert startup disk #2.After startup disk #2 is inserted, Setup continues to install files needed for installation. Insert startup disk #3 when prompted, and then startup disk #4 when prompted.Startup disk #4 will finish loading the driver files. After all the files are installed, the Welcome to Windows 2000 Professional Setup screen appears, asking you to chose from the following three options:
To setup Windows 2000 Professional now, press ENTER.To repair a Windows 2000 Professional installation, press R.To quit setup without installing Windows 2000 Professional, press F3.
Pressing ENTER continues installation.Next, a blue text screen version of the License Agreement appears. Read the License Agreement, and then press F8 if you agree to the terms to continue the installation.The Windows 2000 Professional Setup screen appears and welcomes you to Setup, and then a second screen appears with the following options:
To setup Windows 2000 on the selected partition, press ENTER.If you have unpartitioned space on your hard drive, setup asks if you want to create a partition in the unpartitioned space. Press C to select this option.To delete the selected partition, press D.
If you elected to install Windows 2000 Professional on a FAT partition, Setup asks if you want to leave the current file system intact, format the partition as FAT16, convert the existing file system to NTFS, or format the partition using the NTFS file system.Next, Setup examines the existing hard disks, and then copies the files needed to complete the installation of Windows 2000 Professional. After files are copied, the computer restarts.When the computer finishes restarting, the Windows 2000 GUI mode Setup Wizard screen appears. Setup then proceeds to detect and install devices such as the mouse and keyboard. This can take several minutes.The next screen that appears is the regional options screen. At this point, you can customize your installation of Windows 2000 Professional for such settings as locale, number format, currency, time, date, and language.The Personalize your Software screen follows. You are asked to type in your name and the name of your organization.The next screen is the Product ID screen, where you are required to enter the 25-character product key that appears on the CD case.Next is the Computer Name and Password screen. You can either accept the default name that Setup generates, or you can give the computer a different name. You are also asked for an administrative password. You can leave this empty, but it is not recommended.The Date and Time settings screen asks you to set the correct date and time for your computer.Next is the Network Settings screen. Windows 2000 Professional detects your network settings, and then asks if you want to use Typical or Custom settings. Typical will set default network settings such as File and Print for Microsoft Networks, Client for Microsoft Networks, and TCP/IP protocol using DHCP. Custom settings gives you the ability to choose the network components that you require for your network environment.The Workgroup or Computer Domain screen is where you add your computer to a workgroup or join a domain.Next is the Installing Components screen, where Windows 2000 Professional Setup installs the operating system components. This can take a few minutes.During the final stage of installation, Windows 2000 Setup completes the following:
Installs start menu itemsRegisters componentsSaves settingsRemoves temporary files
Setup is now complete. For further information about setting up accounts, joining a workgroup, or joining a domain, see "Post-Installation Tasks" later in this chapter.
Performing a Clean Installation From the CD-ROM
You can perform a clean installation of Windows 2000 Professional from within an existing Windows 95, Windows 98, Windows NT Workstation 4.0, or Windows NT Workstation 3.51 operating system by using Winnt32.exe. From within Windows 3.x or MS-DOS, use Winnt.exe.
Start your computer by inserting the Windows 2000 Professional operating system CD into your CD-ROM drive.If Windows automatically detects the CD, click Install Windows 2000, and Setup begins automatically.If Windows doesn't automatically detect the CD, start Setup from the Run command prompt.
In Windows 95, Windows 98, or Windows NT Workstation 4.0, from the start, click run.In Windows NT Workstation 3.51 or Windows 3.1, in program manager, click file, and then click run.
NOTE
You can also run Setup.exe from the root of the CD.
At the command prompt, type the following command, replacing D with the letter of your CD-ROM drive:D:i386winnt32.exeIf you're using Windows 3.1 or starting from MS-DOS, type the following command at the prompt, replacing D with the letter of your CD-ROM drive:D:i386winnt.exe
The procedure from the CD is the same as performing a clean installation by using the four startup disks. After you start the installation, refer to "Performing a New Installation by Using the Setup Startup Disks" in "Running Setup for a Clean Installation of Windows 2000 Professional" earlier in this chapter.
Performing a Clean Installation From a Network Connection
Using your existing operating system, establish your connection to the shared network folder that contains the Setup files. You can also use an MS-DOS or network installation disk containing network client software to connect to the network server. (Make sure disk caching software, such as Smartdrv, is loaded.) The syntax is:servernamesharenamei386winnt.exeThe procedure for a network installation is the same as for performing a clean installation by using the four startup disks. After you start the installation, refer to "Performing a New Installation by Using the Setup Startup Disks" in "Running Setup for a Clean Installation of Windows 2000 Professional" earlier in this chapter.
Adding Additional Components
After Setup has finished, you can install optional components. In Windows 2000 Professional, components that were optional with Windows NT 4.0 or earlier and Windows 95 or Windows 98 are now automatically installed by Setup, such as Notepad, Paint, and some network-related components. To support the installation of these optional components, Windows 2000 Setup provides a mechanism that allows any number of these components to be installed on a stand-alone computer after setup has finished.If you want to install additional components from within Windows 2000 Professional, you can use the Add/Remove Programs in Control Panel. After you click the Add/Remove Windows Components icon, a screen appears, giving a list of components. These include:
Indexing ServiceInternet Information ServicesManagement and Monitoring ToolsMessage Queuing ServicesNetworking ServicesOther Network File and Print ServicesScript Debugger
NOTEFigure 4.10 shows the optional components available for Windows 2000 Professional.
If you want to install or remove components after Setup has finished, you must have administrator privileges.
Figure 4.10 Windows 2000 Professional Optional Components
Some components contain subcomponents. These can be viewed by clicking the Details button, located on the Windows Components Wizard dialog box. Figure 4.11 shows the subcomponents of the Microsoft® Internet Information Services (IIS) component.
Figure 4.11 IIS Details
You can add or remove additional components by using the Add/Remove Programs facility, which can be accessed in Control Panel.After choosing the optional components you want, you are asked to restart the computer to complete the configuration.