Summary installing Windows 2000/XP

Installation planning

Versions

The Windows 2000 platform contains four operating systems :

bulletWindows 2000 Professional. The desktop operating system, replacing Windows 95, 98 and NT 4.0
bulletWindows 2000 Server. Provides all functions of Windows 2000 Professional and adds services for network management. Designed for file and printer servers, web servers and workgroups. 
bulletWindows 2000 advanced server. Windows 2000 server with increased availability and scalability. For large enterprise networks and database-intensive work. It provides clustering for higher-availability, network load balancing, 8 processors and until 8 GB of memory. 
bulletWindows 2000 datacenter server. Windows 2000 advanced server with the ability to add extra memory and CPU's. Designed for large data warehouses, online transaction processing, large simulations and server consolidation.

Windows XP currently has two versions :

bulletWindows XP Home.
bulletWindows XP Professional. The main additional functions of Windows XP Professional are :
bulletAbility to join a domain.
bulletGroup policy support.
bulletRemote desktop functionality.
bulletVarious security groups (users, power users, administrators) available.
bulletFile level access control.
bulletEFS support.
bulletRoaming profile support.
bulletMax. 10 file-sharing connections. (XP home has a maximum of 5)
bulletIntelliMirror support. (SysPrep, RIS)
bulletOffline files- and folders.
bulletBackup and recovery, system restore options
bulletDual processor support.
bulletMulti-language support.
bulletDynamic disk support.
bulletIIS web server.
bullet64-bit version available.
bulletFaxing capabilities.
bulletMultiple monitor support.
bulletUpgrade possible from Windows NT 4.0 workstation, Windows 2000 Professional and Windows XP home.
bulletIPSec, NetWare client, Simple TCP/IP services, SAP agent, network monitor.

Upgrade paths

Windows 2000 Professional can be upgraded from :

bulletWindows 95 (incl. OSR 2.x) 
bulletWindows 98
bulletWindows NT 3.51 workstation
bulletWindows 4.0 workstation
bulletWindows professional beta 3

There is no upgrade path from Windows 3.x. Windows NT 3.1 and 3.5 can be upgraded after an upgrade to Windows NT 3.51 or 4.0.

Windows 2000 server can be upgraded from :

bulletWindows NT 3.51 server (not with Citrix)
bulletWindows NT 4.0 server
bulletWindows NT 4.0 terminal server
bulletWindows 2000 server beta 3

Windows 2000 advanced server can be upgraded from :

bulletWindows NT 4.0 enterprise edition
bulletWindows 2000 advanced server beta 3

Windows XP home can be upgraded from :

bulletWindows 98/SE
bulletWindows ME

Windows XP Professional can be upgraded from :

bulletWindows 98/SE
bulletWindows ME
bulletWindows NT 4.0 workstation SP5
bulletWindows 2000 Professional
bulletWindows XP home

Pre-setup actions

bulletRead the latest release information on the cd-rom. (read1st.txt)
bulletCheck hardware requirements of operating system.
bulletCheck HCL compatibility of hardware devices.
bulletUpdate BIOS. (ACPI)
bulletCheck software compatibility when upgrading. Remove non-compatible software like Plug-and-Play tools, third party network protocols, anti-virus software, disk quota software and power management software. Check I386\winntupg folder to see if upgrades are available. 
bulletDecompress compressed drives by DriveSpace, DoubleSpace etc. 
bulletDefragment drives before upgrading.
bulletRemove DNS hosts name and domain names on TCP/IP settings when upgrading.
bulletRemove additional network cards when upgrading domain controllers. Microsoft only supports one network card in a Windows 2000 domain controller. (???)
bulletTemporary break software mirrors.
bulletDisconnect UPS systems.
bulletDetermine disk partitioning. (Extra partition for RIS ?) 
bulletSelect a file system for the partition in which you want to install the OS. (Dual-boot ?) If you select FAT, the system will choose FAT32 if the partition is larger than 2 GB, if the partition is smaller, FAT(16) is used. 
bulletSelect a licensing mode. 
bulletDetermine if the computer will join a workgroup or a domain. When joining a domain a domain controller, a DNS server and computer account should be available. 
bulletServer name. (naming convention, server name the same as a user name not recommended) 
bulletNetwork protocol(s) and services. 
bulletPassword administrator account. 
bulletBackup current system when upgrading. 
bulletRun scandisk to check disk(s). 
bulletRemove temporary internet files. 
bulletCreate fat-partition and network-boot disk when using a distribution server. (Server with shared I386-directory and additional $OEM$ directory)

Hardware requirements

Component Windows 2000 Professional Windows 2000 Server

CPU

Pentium 133

Pentium 133

Memory

64 MB recom, 32 required

256 recom. 64 mb required

Hard disk space

1 GB recom, 650 MB req.

1 GB recom, 685 MB  req. + 100 mb for 64 MB memory.

Networking

Network card

One or more network cards

Display

VGA

VGA

Other drives

CD-rom (12 speed recom.)

CD-rom (12 speed recom.)

Accessories

Keyboard, mouse

Keyboard, mouse

Component Windows XP Professional  

CPU

Pentium 233 (300 recom.)

 

Memory

64 MB (128 recom.)

 

Hard disk space

2 GB recom, 1.5 GB req.

 

Networking

Network card

 

Display

SVGA

 

Other drives

CD-rom (12 speed recom.)

 

Accessories

Keyboard, mouse

 

Check Hardware Compatibility list (HCL) on cd-rom (\support\hcl.txt) or Microsoft web.

Maximum usage of resources

 

  W2K Professional Server Advanced DataCenter

Memory

4 GB

4 GB

8 GB

64 GB

CPU’s

2

4

8

32

 

 XP Home Professional    

Memory

4 GB

4 GB

   

CPU’s

1

2

   

BIOS update

Update the BIOS before the installation so the system is ACPI and plug-and-play compliant.

Check compatibility

Before doing an upgrade you can use chkupgrd.bat to check which parts of the computer are compatible for an upgrade. The file is stored in the I386 directory and does start winnt32 /checkupgradeonly. (not available on Windows XP) The results are stored in the installation folder as upgrade.txt (Windows 95/98) or winnt32.log on NT systems. Keep in mind that the log only reports failures of programs that are noted as non-compatible by Microsoft. It does not mean that all programs on the machine are compatible. You can also download the Readiness Analyzer from the Microsoft web to use chkupgrd.exe to create update reports.

File systems

 

FAT(16) FAT32 NTFS

Support by all (incl. Linux)

Windows 95b, 98, 2000, XP

Files and folder level security

Max. 4 GB partition technical (65524 clusters of 32 KB), max 2 GB to maintain compatibility.

Max 216 files

Larger partitions than FAT16. Theoretically up to 2 TB. Windows 2000 can format to 32 GB but read up to 2 TB.

Max 222 files

Practical limit 2 TB, theoretical 16 exabytes. (EB)

Max 232  -1 files

No security

Not supported by NT 4.0

Disk quotas, disk compression, file encryption

 

Smaller clusters than FAT, more safeguards and faster.
No security

Misc. NTFS functions like reparse points, change journal. Etc.

 

Use FAT if a system has to be dual boot with older operating systems like Windows 95 and 98. Only the system partition should be FAT. If the partition is smaller than 2 GB FAT is used, otherwise FAT32 is installed. Default cluster sizes :

 

Disk size FAT(16) FAT32 NTFS

260 – 512 MB

 8 KB

Not supported 

512 bytes

513– 1023 MB

16 KB

4 KB

1 KB

1024 MB – 2 GB

32 KB

4 KB

2 KB

2 GB – 8 GB

64 KB (cannot be read by Windows 95)

4 KB

4 KB

8 GB – 16 GB

Not supported

8 KB

4 KB

16 GB – 32 GB

Not supported

16 KB

4 KB

32 GB – 2 TB

Not supported

Not recommended

4 KB

FAT 12 is used on floppies and partitions smaller than 16 MB.

Licensing

Client Access License (CAL) = Right to connect to computer running Windows 2000 server to use network services.

A license is required for each Windows 2000 server and professional installation and a CAL for each authenticated connection to the server.

No CAL required for :

bulletAnonymous or authenticated access to Windows 2000 server with IIS or other HTTP-services.
bulletTelnet and FTP connections.

Per seat licensing = CAL required for each client computer. For large companies with many servers.

Per server licensing = One CAL for each connection to the server. Useful for small companies with one server. 

Per server licensing can be converted to per seat licensing once.

Joining a domain

Joining a domain can be done during or after the installation. The computer is added as a member server. Required are :

bulletDomain name 
bulletComputer account 
bulletAvailable domain controller
bulletAvailable DNS-server

Starting the setup

The first time setup is started via winnt.exe if the system did boot via Dos, Windows 3.x or from a cd-rom. An upgrade or fresh install on a Windows 95, 98 or NT4.0 environment is started via winnt32.exe.

Extra options using winnt.exe program :

bullet/a. Enable accessibility options. 
bullet/e:command. Command to be executed after GUI setup, before the final phase of setup. 
bullet/I:inffile. Filename of setup information file. (default dosnet.inf, not available in Windows XP) 
bullet/r:folder. Copies this folder to the system root. Can be used more than once. 
bullet/rx:folder. Copies this folder to the system root but data will be deleted after installation. Can be used more than once. 
bullet/s:sourcepath. Source of Windows 2000/XP files. (Can be drive letter or UNC path.) Default current folder.
bullet/t:tempdrive. Drive for temporary setup files. Default drive with most free space if not specified.
bullet/u:Answer_file. Unattended operation via answer file. (requires /s) 
bullet/udf:id[,udf_file]. Unique identifier and Unique Database file. If no file is specified, setup will ask for a floppy with $unique$.udb

Extra options for the winnt32.exe program :

bullet/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.
bullet/copydir:folder. Copies this folder to the system root. Can be used more than once.
bullet/copysource:folder. Copies this folder to the system root but data will be deleted after installation. Can be used more than once. 
bullet/cmd:command.  Command to be executed after GUI setup, before the final phase of setup.
bullet/cmdcons. Installs additional files to the hard disk that are required to load a command-line interface for repair and recovery purposes. Does not work on mirrored disks.
bullet/debug:level:filename. By default level 2, c:\winnt32.log (warning level) 
bullet/dudisable. Disable dynamic updates during installation. (Windows XP only)
bullet/duprepare:pathname. Prepare an installation share for the offering of Windows update files as used by the /dushare option.
bullet/dushare: Path where Windows Update files are downloaded and prepared by the /duprepare option.
bullet/m:folder. Specifies that setup copies 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. 
bullet/makelocalsource. Instructs Setup to copy all installation source files to your local hard disk. 
bullet/nodownload. Copies winnt32 and related files to loacl system when doing a remote Windows 95/98 upgrade.
bullet/noreboot. The system does no automatically reboot, it waits for input. 
bullet/s:sourcepath. Source of Windows 200 files. You can specify a maximum of 8 paths but the first must be available. Can be drive letter or UNC path. 
bullet/syspart:drive-letter. Marks hard-disk as active after copying setup startup file so disk can be moved to another computer. Requires /tempdrive switch. 
bullet/tempdrive:drive-letter. Installs Windows 2000 on that drive and puts temporary files there. 
bullet/unattend. Unattended upgrade by using old settings. 
bullet/unattend:number:answer file. Number specifies the number of seconds to wait before it restarts, the answer file provides the custom specifications. If not specified, user settings from previous installation are used. 
bullet/udf:id,udf file. The id specifies how setup modifies the Uniqueness Database File (UDF). If no UDF file is specified with the switch, Windows 2000 will prompt for a disk. 

Bootdisks can be made by starting \bootdisk\makeboot a: (16 bit) or \bootdisk\makebt32 a: (32 bit) command from the installation cd-rom. The first disk is called Windows 2000 boot disk, the other ones Windows 2000 setup disk #x. (Not available on Windows XP)

Setup stages

Setup stages Windows 2000/XP Professional

  1. Running the setup program
  1. Start setup-program from setup-floppy, installation directory or boot from cd-rom (El Torito compatible) 
  2. Minimal version of Windows 2000/XP starts setup program. F6 can be used to load additional mass storage drivers 
  3. Question if this is a new, upgrade or repair installation. 
  4. Accept license agreement  via F8. Use F3 to quit.
  5. System looks for previous installation. If available repair is offered. 
  6. Select system partition. Create one if required 
  7. Choose file system for system partition. After this, conversion is done.
  8. Files are copied, setup information is saved 
  9. The following directory setup is made :

On the boot-partition the \winnt folder (Windows XP uses the Windows folder) is created and contains all files to access the network or source cd. In this folder the file \system32\$winnt$.inf contains the installation options. The file \repair\setup.log contains the copied files. Boot.ini is configured to restart the installation on the installation partition by default after 1 second.

  1. Restart of computer. Setup wizard is started. (default from c:\winnt)

If you ran setup via winnt32.exe, the setup starts in graphical mode and takes the following steps :

  1. Accept license agreement via F8. Use F3 to quit.
  2. Choose language, advanced options (where to install, where are source files, choosing installation partition), accessibility options. 
  3. Check diskspace. 
  4. Copy files. 
  5. Restart of computer

On the boot-partition a directory named $win_nt$.~bt is created and contains all boot files and need drivers to access the network or source cd. In this directory the file winnt.sif contains the information provided. Boot.ini is configured to start $win_nt$.~bt\bootsect.dat by default after 5 seconds. After the restart the computer will boot in text-mode and the computer will check for a previous installation, ask to select a partition and copy the files. When this is done, it will reboot again and continue with the GUI-based setup.

  1. GUI-based setup wizard 
  1. Installing security features (automatic) 
  2. Installing and configuring devices (automatic) 
  3. Regional settings (language, locale and keyboard) 
  4. Name and organization of user licensed for usage.
  5. If required a 25 character product key should be entered. 
  6. Computer name (max. 15 characters, default organization name, computer name is always shown in capitals) and password for administrator account. (max. 127 characters) 
  7. If a modem is connected, dialing information can be entered. 
  8. Which optional components to install. 
  9. Time and date (incl. time zone settings)
  1. Installing network components 
  1. Detect and configures network card(s) and looks for a DHCP server. 
  2. Select network component. Choose Default (DHCP via IP, Client for Microsoft Network and File and printer sharing) or Customize :
  1. Client for Microsoft Networks (connect to network resources) 
  2. File and printer sharing for Microsoft Networks (offer network resources) 
  3. TCP/IP iv. Other clients/services/protocols (Netbeui, Appletalk, IPX/SPX, Netware client etc.)
  1. Join workgroup or domain (incl. computer account if domain) 
  2. Install and configuration of networking components
  1. Completing the installation.
  1. Copy remaining files (accessories, bitmaps, etc.)
  2. Configure computer by applying settings specified before. (Start menu, register components)
  3. Save configuration.
  4. Remove temporary files.
  5. Restart computer.

After the installation you can create a local account via a wizard or specify that you do not want to logon on the machine in the future. After this the Getting Started display is shown. All actions made during the installation are logged in setuplog.txt.

Setup stages for Windows 2000 server

  1. Running the setup program 
  1. Start setup-program from setup-floppy or boot from cd-rom. (El Torito compatible) 
  2. Minimal version of Windows 2000 starts setup program .
  3. Restart of computer. Setup program starts in text-based version.
  4. Accept license agreement via F8. Use F3 to quit.
  5. Select system partition. Create one if required. 
  6. Choose file system for system partition. After this, format is done g. Files are copied, setup information is saved.
  7. The following directory setup is made :

On the boot-partition a directory named $win_nt$.~bt is created and contains all boot files and need drivers to access the network or source cd. In this directory the file winnt.sif contains the information provided. Boot.ini is configured to start $win_nt$.~bt\bootsect.dat by default after 5 seconds. 

  1. Restart of computer. Setup wizard is started. (default from c:\winnt)
  1. GUI-based setup wizard
  1. Installing security features. (automatic) 
  2. Installing and configuring devices. (automatic) 
  3. Regional settings. (language, locale and keyboard) 
  4. Name and organization of user licensed for usage. 
  5. Licensing mode. (per seat or per server mode) 
  6. Computer name. (max. 15 characters, default organization name, computer name is always shown in capitals) 
  7. Password for administrator account. 
  8. If a modem is connected, dialing information can be entered. 
  9. Optional components :
  1. Accessories and utilities (Word Pad, multimedia, games, etc.) 
  2. Certificate services (Create/request X509 certificates) 
  3. Cluster server (Advanced or Datacenter server) 
  4. Indexing server. (Dynamic full text search on data stored on the server) 
  5. IIS (Internet Information Services) -> Default selected 
  6. Management and monitoring tools. 
  7. Message queuing services (MSMQ routing server/client for transaction support for transaction server MTS) 
  8. Networking options (DHCP, DNS, TCPIP print services, file services, etc) 
  9. Other network file and print services. (Unix, Macintosh file/print sharing) 
  10. Remote installation services (Remote installation of Windows 2000 professional over a network) 
  11. Script debugger. Debugging of ActiveX scripts on client- or server-side. 
  12. Terminal services xiii. Windows Media Services. (streaming multimedia) 
  1. Display settings. (resolution, colors and refresh frequency) 
  2. Time and date. (incl. time zone settings) 
  1. Installing network components
  1. Detect and configures network card(s) and look for a DHCP server. 
  2. Select network components 
  1. Client for Microsoft Networks (connect to network resources) 
  2. File and printer sharing for Microsoft Networks (offer network resources) 
  3. TCP/IP 
  4. Other clients/services/protocols (Netbeui, Appletalk, IPX/SPX etc.) 
  1. c. Join workgroup or domain. (incl. computer account if domain) 
  2. d. Install and configuration of networking components.
  1. Completing the installation 
  1. Copy remaining files. (accessories, bitmaps etc.) 
  2. Configure computer by applying settings specified before. 
  3. Save configuration. 
  4. Remove temporary files. 
  5. Restart computer. (stand-alone -> workgroup or member-server -> domain is ready !)

Setup stages network installation

  1. Requirements :
  1. Distribution server. (server that shares I386 directory) 
  2. FAT formatted partition of at least 500 MB on target computer. (1 GB recommended) 
  3. Network client for target computer.
  4. 4 formatted floppies.
  1. Boot target computer with network client. 
  2. Connect to share distribution server that stores I386 directory.
  3. Run winnt.exe from distribution server. This will do : 
  1. Create four Windows 2000 setup boot disks on target computer. 
  2. Create $win_nt$.~ls directory on target computer. 
  3. Copies installation files form distribution server to target computer. 
  1. Boot target computer from setup boot disks. 
  2. Installation of Windows 2000 just like normal installation.

When upgrade via Winnt32.exe you will start with a graphical setup. You have to ability to :

bulletDetermine if you want a fresh install or an upgrade. 
bulletChoose the default and additional languages. 
bulletThe location of the Windows 2000 installation files. (I386)
bulletTo specify the directory in Windows 2000 will be installed. 
bulletIf you want to copy all setup file to the local hard-disk. (\$win-nt$.~ls) 
bulletIf you want to specify an installation partition during the setup. 
bulletAccessibility options.

After the installation check the following items :

bulletFinish disk partitions. 
bulletCheck ip-settings. By default DHCP is used. 
bulletCheck control panel settings, in particular page file and max. registry size. 
bulletRestart server to check changes, create ERD and document server.

Links

bullet Deploying Windows XP part 1: Planning
bullet Deploying Windows XP part 2: Implementing
bullet Deploying Windows XP using Windows product activation
bulletHardware compatibility list (HCL)
bulletTechnet: Preparing for Windows 2000 server
bulletTechnet: Planning Windows 2000 in the enterprise
bulletTechnet: Windows 2000 server: Deploy
bulletTechnet: Windows 2000 professional: Deploy
bulletBios compatibility and Windows 2000
bulletTechnet: Upgrade to Windows 2000
bulletTechnet: Windows 2000 clustering: Performing a rolling upgrade
bulletThe essential upgrade checklist (Microsoft)
bulletTechnet: Chapter 2 - Setup Windows 2000 professional
bulletTechnet: Chapter 4 - Running setup for Windows 2000 server
bulletTechnet: Chapter 4 - Running setup for Windows 2000 advanced server
bulletTechnet: Setup commands
bulletTechnet: Advanced setup options for Windows 2000 professional
bulletTechnet: Installing and configuring Windows 2000 server
bulletTechnet: Setup guide Windows 2000 professional
bullet Installing Windows 2000 (Windows 2000 magazine summer 2000)
bullet Simplify Win2K desktop deployment (Windows 2000 magazine Nov 2001)
bulletSecurity checklist Windows 2000 installation (Labmice)
bulletRemotely deploy Windows 2000 (Windows 2000 magazine may 2000)
bulletCustomizing unattended Win2K installations (Windows 2000 magazine jan 2001)
bulletHow to get the most out of your Win2K pro installation (Windows 2000 magazine winter 2000)
bulletDeployment, migration and management tools (Windows 2000 magazine nov 2000)
bulletLicensing woes (Windows 2000 magazine mar 2001)
bulletNTFAQ: Startup keys Windows 2000
bullet Best pratice methods for Windows 2000 domain controller setup (Q216899)
bulletWatch for these to upgrades during a Win2K domain upgrade (TechRepublic)
bulletHow to manually remove Windows NT or Windows 2000 (Q103049)
bullet Windows XP supported upgrade paths (Q292607)
bullet Deleting Win2K pro from a laptop (Windows 2000 magazine)
bulletDownload Readiness Analyzer
bulletDownload service pack 1
bulletWindows installer package for service pack 1

Unattended installations

Answer files/Setup Manager

The usage of answer files is useful if you want to automate the installation of a new operating system or an upgrade to a newer version. Answer files can only be used to install/upgrade the operating system. It cannot be used to install additional applications. (except by starting a program afterwards that does this) A UDF file offers the ability to activate computer-specific settings during to automatic installation. (e.g machine name). The Setup Manager Wizard (setupmgr in the resource kit or \tools\support\deploy.cab on the installation cd-rom) can create answer files for unattended installations, Sysprep's and Riprep's. You have to following possibilities :

bulletProvide defaults. The user can use the default settings or change them during the installation. 
bulletFully automated. No user input required or possible during the installation. 
bulletHide pages. Only pages not filled in by the answer file can be changed during the installation. 
bulletRead only. The user can only view the settings during the installation that are filled in with the answer file.
bulletGUI attended. Only the text-based part of the setup is automated during the installation.

An answer file will contain the following sections :

bullet[Unattended]. This section describes the input a user can deliver. 
bullet[GUIUnattended]. It contains info about the password, auto logon and timezones.  
bullet[Userdata]. Computer and username and organization of the user. 
bullet[GUIRunOnce]. Command(s) to run after the setup. 
bullet[Display] Display settings. 
bullet[LicenseFilePrintData] Licensing mode. 
bullet[TapiLocation] Country code. 
bullet[Indentification] Domain and account required to join a domain.  
bullet[Networking] Networking components to install.  
bullet[NetAdapters] Adapter settings.  
bullet[params.adapterx] Parameters for an adapter. 
bullet[netclients] 
bullet[netservices]
bullet[netprotocols]
bullet[params.MS_TCPIP] General TCP/IP settings. 
bullet[params.MS_TCPIP.adapterx] IP settings per adapter.

The Setup manager creates an unattend.txt and an unattend.bat. An unattend.udf will also be created if more than one computer name is specified. In this case unattend.bat needs to be fed with a parameter referring to the computername.

An extended description of the parameters in an answer file can be found in the unattended.doc file which is part of the \support\tools\deploy.cab file on the installation cd-rom. A newer version of this document is available in SP2.

CD-ROM based unattended installation

To create un unattended cd-rom based installation, the machine must boot from cd-rom and a floppy with winnt.sif must be available. Winnt.sif is a copy of the answer-file that must contain the following entries in the [Data] section :

unattendedinstall = "yes"
msdosinitiated = "0"
autopartition = "1"

Distribution folder

You can create a distribution folder with the Setup Manager. This shared folder can be used to perform an unattended installation. It contains the installation files, additional mass storage drivers, a program to run after the setup, OEM pictures to use during the installation. It can also contain various directories that should be copied to the new server. (e.g. drivers) The share will also contain the unattended installation file. Do not name it unattend.txt as it will be overwritten when \I386 is copied to the share.

All files in the $oem$ directory in the distribution folder are copied to the new installation. It can be used for drivers and files. You must set the [OEMPreInstall] variable to Yes to enable the copy. You can use the OEMFILESPATH-variable to change the path of the OEM-directory in answer-files. 

Structure of the $oem$-directory :

bullet$oem$\cmdlines.txt can be used to execute files during the gui-part of the installation. The programs to be executed can be stored in the $oem$-folder. Use the [Commands] section to run the programs, e.g ".\programname.exe"
bullet$oem$\textmode can contains files (HAL, mass storage drivers) to be used during the textmode setup. The directory will than also contain txtsetup.oem that is referred to from the [OEMbootfiles] in the answer-file. 
bullet\$OEM$\$$\ These files and directories are copied to the systemroot. (e.g c:\winnt) 
bullet\$OEM$\$1. These files and directories are copied to the systemdrive. (e.g c:\) 
bullet$OEM$\$1\PnPdrives. Add files in this directory to the systemroot\PnPdrivers directory. Use the OEMPnPDrivers-variable in the answer-file to refer to files. (OEMPnPDriversPath = "PnPdrives"
bullet$OEM$\$1\Sysprep. File that are needed for the sysprep-utility. 
bullet $OEM$\driveletter. Files and directories in this folder are copied to that drive during the textmode setup. You can use $$rename.txt to rename the files after the copy.

The information of the supporting company can be add to the Properties of the machine by modifying and copying the oeminfo.ini file to the \$oem$\$$\system32 folder on the distribution share. If you want to add your own logo, create a 172*172 pixel bmp file called oemlogo.bmp and place in in the same folder.

There are three requirements for a network installation via a distribution server :

bulletA distribution server contains shares I386 files. 
bulletA 2 GB partition on the local computer. 
bulletNetwork client software to connect to the distribution server.

After the client made the network connection winnt.exe is started and the I386 files are copied to $win_nt$.~ls. After this, the installation is restarted by using the boot-files in the $win_nt$.~ls directory.

Automated domain controller installation

If you want to automate the installation of a domain controller, use the normal installation procedure but specify the following command to run after the installation :

Dcpromo /answer:<answer_file>

This answer file should only contain de [DCInstall] section with the parameters. See document Unattended setup parameters.

bullet How to use Setup Manager to create an answer file (Q308662)
bullet Limited custom settings in Setup Manager with answer file (Q260375)
bullet Setup manager creates the wrong path for OEMPnPDriversPath (Q250498)
bullet Troubleshooting cmdlines.txt during an uttended setup (Q177462)
bulletWindows 2000 professional automated deployment options: An introduction
bulletTechnet: Automated deployment options : An overview
bulletTechnet: Step by step guide to remote os installation
bulletTechnet: Chapter 13 - Automating server installation and upgrade
bulletTechnet: Chapter 25 - Automating client installation and upgrade
bulletTechnet: Windows 2000 unattended setup parameters guide
bulletTechnet: Sample answer files for unattended setup
bullet Protecting passwords in answer files (CrossNodes)
bulletPreventing  the installation of Windows 2000 components (TechRepublic)
bulletSpecifying new drivers on unattended Win2K pro installations (Windows 2000 magazine aug 2000)

Sysprep

Sysprep is a tool to create images that can be cloned on new computers or disks with the same HAL (ACPI) and mass storage driver by using a third-party application. It can be used for Windows 2000 Professional and server and Windows XP. First create an image with the installed software and settings by using the administrator account.  After this, copy the Administrator' profile to the All Users profile. Finally you can create the image and distribute it to new pc's or servers. The tool to prepare the image is Sysprep which removes the computer name and the SID. It uses the following programs that must be stored in the \sysprep folder on the client :

bulletSysprep.exe. The tools that prepares the disk for duplication.
bulletSetupcl.exe. This tool should be in the same folder a sysprep.exe. It is used to create new SID's after an image is duplicated and started.
bulletFactory.exe. (XP only)
bulletSysprep.inf. This file should be in the \sysprep directory or on a floppy. It is an answer file to the Mini Setup process that is start after an image is duplicated and started.

When using Sysprep version 1.1 (deploy.cab -> SP2) you can specify which mass storage controller to use. You can also add new drivers by referring to them in the sysprep.inf answer file with the OempnpDriversPath.

The answer file sysprep.inf can be created or modified with the Setup Manager wizard. (part of \Support\Tools\Deploy.cab)

Sysprep has the following parameters :

bulletQuiet. No confirmation boxes are shown when sysprep runs on the master computer. 
bulletNosidgen. Does not recreate the SID when rebooting. ·
bulletReboot. Forces a reboot instead of a shut-down. 
bulletPnp. Forces a re-enumeration of all devices in the system. This can be useful for non-plug-and-play devices (ISA) ·
bulletForceshutdown. Forces the system to shutdown after Sysprep ran.
bulletActivated. Tell sysprep not to resets the Windows XP WPA grace period. (XP only)
bulletFactory. Restarts machine in network-enabled state without displaying Windows Welcome-screen or mini-setup. (XP only)
bulletAudit. Reboots in factory mode without creating a sid or processing items in the [OEMRunOnce]-section of the winbom.ini file. (XP only)
bulletClean. Clears the critical devices database. (XP only)
bulletReseal. Prepare the computer for end-user delivery. (XP only)
bulletMini. Run mini-setup instead of Welcome screen. (XP Professional only)
bulletNoreboot. Can be used to test generation of sids and other registry changes without a reboot. (XP only)

To create images with Sysprep follow the next steps :

bulletInstall the computer as professional or server. Do not join the domain and leave the administrator password blank.
bulletCreate a local account with admin-rights and install and customize the applications. After this is done copy the user profile of this account to the Default Users folder. 
bulletValidate the image and remove all 'trash', mapped drives, logs etc. 
bulletUse sysprep.exe to create the image. 
bulletDuplicate the image via the network, cloned harddisks or a bootable cd-rom. When the new machine starts, new SID's are created by setupcl.exe and the Mini-Setup wizards start. This wizard can be automated by using the sysprep.inf file in the \sysprep directory or on a floppy.

Sysprep cannot be used for upgrades. It is found in deploy.cab in the support\tools directory on the installation cd-rom.

bulletTechnet: Deploying Microsoft Windows 2000 Professional and Microsoft Office 2000 using Sysprep
bulletSupport WebCast: Cloning Windows 2000 and using Sysprep
bulletMSDN: Automating Windows 2000 installation with Sysprep
bulletUsing sysprep to deploy Windows 2000 Professional (Swynk)
bullet System preparation tool and answer file usage (Q216937)
bullet Description of new features in Sysprep for Windows XP (Q282190)
bullet How to use Sysprep.exe to automate Windows XP deployment (Q302577)
bullet How to use cmdlines.txt file during sysprep.exe setup wizard (Q238955)
bulletHow to clear the paging file when you use the Sysprep tool (Q295919)
bullet Search path order for the Winbom.ini file when you run Sysprep (Q294799)
bullet System prepartion tool (Sysprep) script file keys (Q196667)
bullet System preparation tool and answer file usage (Q216937)
bullet System preparation tool and answer file usage for XP (Q314460)
bullet How to use the System preparation tool to prepare computers (Q251241)
bullet Using the system prepartion tool on dissimilar computers (Q216915)
bullet Windows 2000 SP2 includes updated Sysprep.exe (Q296750)
bullet Unsigned driver not installed during Sysprep without -pnp switch (Q256204)
bullet How to add customized user settings when you run Sysprep (Q291586)
bullet Best pratices for using Sysprep with NTFS volumes (Q240126)
bullet Statically-entered TCP/IP settings are not present after Sysprep (Q271369)
bullet Preventing Sysprep from removing desktop icons and shortcuts (Q307543)
bullet Sysprep with Windows Product Activation or volume license media (Q299840)
bullet Cannot log on to recovery console after running Sysprep (Q308402)
bullet Learn how to exploit Win2K's disk cloning support (TechRepublic)
bulletLearn how to exploit Win2K's disk cloning support via Sysprep (TechRepublic)
bulletDownload Windows 2000 System preparation tool 1.1 (Sysprep)
bulletTechRepublic: Using sysprep to deploy Windows 2000 Professional
bullet Deploying pc's with Sysprep (Windows .Net magazine)

Remote Installation Services (RIS)

Riprep creates images that can be distributed by a distribution server.

To be able to use RIS, the following services are required :

bulletDNS. DNS is used to find the Active Directory. 
bulletDHCP. To provide the client with an IP-address. 
bulletActive Directory. Used to locate the RIS server(s).

A volume storing RIS must meet the following requirements :

bulletNTFS
bulletNo Windows 2000 server operating system files. (no boot- or system partition)
bulletEnough diskspace (> 2 GB recommended) ·
bulletThe volume must be shared.

Client requirements :

bulletPentium 166 MHz, 32 MB memory. (64 recommended) 
bullet800 MB harddisk. (at least size of images) 
bulletSupported plug-and-play PCI network adapter card. 
bulletOptional PXE remote boot ROM .99c or newer.

Remote Installation Service (RIS) is installed on a server via Add/Remove programs (1.7 MB). After the installation, and reboot, it is customized via Risetup.exe. You have to customize :

bulletRemote Installation Folder. A folder on a partition without Windows 200 files and formatted with NTFS. There should be enough diskspace. (Default: \RemoteInstall) 
bulletClient support. Will all clients be supported or only the ones registered in the Active Directory. 
bulletPath for installation files. Path to Windows 2000 Professional source files. 
bulletFolder. Folder in which the source files are stored within RIS-folder. (Default win2000.pro)
bulletDescription. Description and help text.

While customizing, it will copy the files, create the client installation wizards, create unattended setup files, create remote installation services, update the registry, start Single-Instance-Store (SIS) on the partition and start the BINL, TFTP and SIS groveler services.

RIS services :

bulletBINL. Boot Information Negotiation layer. Answers the client's request by querying Active Directory and setting the policies during the installation. It also creates the computer account if needed. 
bulletTFTP. Trivial File Transfer Protocol. FTP service for hosting file downloads. Used for Client Installation Wizards (CIW). 
bulletSIS. Single Instance Store. Arranges that files are only stored once on the RIS-volume. When duplicates are found the file is moved to a special area and links are made. If one of the duplicate files is changed, the original stays in the special area.

Directory structure of the RIS-partition :

bullet\Admin\I386. Contains rbfg.exe to create PXE-boot floppies, riprep to create an image and setupcl to generate SID's on new clients. 
bulletOschooser\I386. Contains boot files for PXE-boot. (ntldr, startrom.com, startrom.n12) 
bulletOschooser\I386. Contains CIW files that can be customized (.osc-files) Welcome.osc and multilng.osc are stored in in \oschooser. 
bulletSetup\English\images. Contains the directory with the installation images. The templates are stored in the setup\English\images\name image\templates\i386\templates. This folder also contains PXE-boot files. 
bulletTmp. Used for temporary files.

Types of installation offered by RIS :

bulletCD-based installation. Created on RIS-share during installation of RIS. 
bulletRIPrep image. First a machine is installed and customized. Then Riprep is run from the \admin\i386 directory of the remote installation share. (Default Reminst). This wizard copies the files from the installation partition to the RIS-server and offers it for new installations.

In both situations the Client Installation Wizard is used to install the image. This part can be automated by creating answer files with the Setup Manager.

How to access a RIS-share :

bulletPXE (Pre-boot Execution Environment) or RIS remote boot disk are used to boot the machine. PXE is available on Net PC/PC98-compliant systems. Boot disk can be used by PCI NIC's that are supported by the boot-disk. They are created with rbfg.exe in the admin\i386-directory of the RIS-share. 
bulletClient asks for IP-address. (DHCP discover port 67) Packet contains PXE extension tasks so RIS servers are asked to respond. It contains a Client Identifier (if available), a tag for the Client Network Interface identifier and the client architecture. 
bulletAnswers are received on port 68. If the answer if received from a server with DHCP and RIS, this ip-address is chosen otherwise the ip-address of a DHCP-server is chosen and handled and a new request for a RIS-server is send. RIS server will than respond again and one is chosen The time-values for PXE-DHCP request are smaller than for normal DHCP, 4,8 and 16 seconds. From the RIS server the client receives the IP-address of the BINL-service in the Siaddr-field. 
bulletA DHCP request is send to the BINL-service on port 4011. It contains the ip-address of the client and PXE-option fields. 
bulletThe BINL-service replies on port 4011 with a boot file name and location and with a UUID (Universal Unique Identifier) or GUID option. This after the service did check if there was a pre-staged client in the Active Directory with the same GUID. 
bulletThe client downloads the file by using TFTP. The file is places in the memory of the client. 
bulletThe file is executed by the PXE-client starting the CIW. 
bulletThe user can choose to use the automatic setup, custom setup (customize computer name and OU for computer account), restart previous installation, maintenance and troubleshooting. (Execute third party tools) The availability of these options is set in the domain group policy.
bulletUser logs on to the network. RIS checks the account in Active Directory, looks for the group policies to check which installation options are available and checks which images are available.  
bulletIf there is more than one image, the user can choose which one to install.

Security issues of RIS :

bulletA RIS server must be authorized via the DHCP manager. (Manage authorized servers) 
bulletYou can customize the server via the properties of the machine in the Active Directory User and Computers. On the Remote install tab the following settings can be set : 
bulletRespond to clients ?
bulletDo not respond to unknown clients. (Only pre-staged clients are serviced.) 
bulletVerify server. 
bulletClients. Clients installed by the server.
bulletAdvanced options :
bulletGeneration of computer names. (By default: User name) 
bulletWhere to store computer account. (default, Computer container)
bulletOverview of installed images and tools and security settings. Here you can add new images of new answer files to images.
bulletSet the policy for RIS use the Default Domain Policy, User Configuration, Windows Settings, Remote installation Services, Choice icon. You can set if the user is able to use the Automatic Setup, Custom setup, Restart setup and Tools section. 
bulletAutomatic setup. If you gave users access to the automatic setup, all users will be able to select the available images to install. If there is one image available for the user, this installation will automatically be selected. 
bulletCustom setup. Allows the person installing the machine to overrule the default computer name and computer account location. 
bulletRestart a previous setup. If a failure occurs during the installation, users do not have to re-enter the settings. Keep in mind that the installation does restart, it does not continue at the point where the problem did occur. 
bulletMaintenance and troubleshooting. This option gives access to installed third-party tools like Bios updates and virus-scanners. 
bulletSet DACL's on the sif-files in the d:\RemoteInstall\Setup\English\Images\Win2000.pro\I386\templates-directory to determine who is able to use an installation
bulletPre-stage a computer by entering the GUID/UUID when creating the computer account and set it as a managed computer. You can specify the RIS server to only service pre-staged computers. Also per client can be set which RIS server to use.

When the files are copied to the client, they are stored in the $win-nt$.~ls directory. Only one partition can be copied by Riprep.

For computers with different HAL's (1 or 2 processors, ACPI-non ACPI) different images must be made.

RIPrep cannot be used for upgrades but an upgrade is available to use it for Windows 2000 Server or Advanced server. (Q308508) RIS does not replicate encrypted files.

A user installing a client via RIS needs permissions to create the computer account if the client is not pre-staged. Also needs the user the right to log on as a batchjob. 

bulletRIS client information and administrative configuration (Microsoft)
bulletTechnet: Installing Windows 2000 professional with RIS
bulletTechnet: Remote installation service (RIS)
bulletOptimizing remote installation services (TechRepublic)
bulletTechRepublic : Summary Remote Installation Services
bulletUnderstanding remote installation services (Windows 2000 magazine feb 2001)
bulletSuperior RIS: Deploying alternative OS's (Windows 2000 magazine jul 2001)
bulletSuperior RIS: Automating application setups (Windows 2000 magazine may 2001)
bulletSuperior RIS: Customizing Win2K installs (Windows 2000 magazine apr 2001)
bulletAdvanced RIS management (Windows 2000 magazine mar 2001)
bullet How to: Use Remote Installation Service to install Windows 2000 (Q300483)
bullet How to: Set up and configure Remote Installation Service (Q298750)
bullet How to replicate RIS images using DFS and NTFRS (Q273594)
bullet Description of PXE interaction among PXE client, DHCP and RIS (Q244036)
bullet Description of default ResponseDelay value for RIS (Q240122)
bullet WFP prompts RIS client for installation media (Q258955)
bullet How to move a RIS server to another Windows 2000 domain (Q260536)
bullet Description of client installation wizard screens for RIS (Q268325)
bullet How to set the administrator password during RIS installation (Q257948)
bullet How to deploy Windows XP images from Windows 2000 RIS servers (Q304314)
bullet How to add third-party OEM network adapters to RIS installation (Q246184)
bullet How to: Configure a RIS server to support multiple languages (Q313421)
bullet Multihomed RIS server does not answer clients (Q247685)
bullet How to limit access to RIS images by user or group (Q268181)
bullet How to: Set permissions for pre-staged computer with RIS (Q313180)
bullet How to use an answer file to add base images to a RIS server (Q283046)
bullet How to install a Windows 2000 image on a Windows XP RIS server (Q299312)
bullet Unable to create Windows 2000 server image on RIS server (Q308508)
bullet How to deploy Windows XP images from Windows 2000 RIS servers (Q304314)
bullet Cannot remotly administer the Remote Installation Service (Q247592)
bullet How to uninstall Remote Installation Services and SIS (Q299873)

Logfiles

The following logfiles are created during a setup in the installation directory :

bulletSetupact.log. Contains the action log file. Files copied and regustry entries made during the setup and errors that occured. 
bulletSetuperr.log. Errors that occurred during the setup. 
bulletSetuplog.txt. Details about device drivers that were copied during setup. 
bulletWinnt32.log. Debug logging, by default at level 2 stored in c:\
bulletComsetup.log. Installation of optional component manager and com+ components. 
bulletMmdet.log. Log with detected multimedia devices and their port ranges. 
bulletSetupapi.log. Log of implemented .inf lines. 
bullet\debug\netsetup.log. Log created when joining domain or workgroup.

User State Migration Tool/File and Settings Transfer (FAST) wizard

The User State Migration Tool is a command-line utility that can be used for Windows 2000 and Windows XP to preserve the settings of a user. It uses ScanState.exe and LoadState.exe to transfer user data and settings to a newly installed system. Run ScanState.exe before the system is reinstalled, use LoadState.exe to restore the user's data and settings. The tool is in the \valueadd\msft \usmt on the Windows XP cd-rom.

The File and Settings Transfer wizard is a graphic Windows XP utility to transfer user's data and settings.

bullet User state migration in Windows XP (Microsoft)
bullet Step-by-step guide to migrating files and settings (Microsoft)
bullet How to troubleshoot issues with the User state migration tool and the Files and settings transfer wizard (Q312965)
bullet Scanstate and Loadstate ignore environment variables in INF file (Q283367)
bullet Passwords are not migrated for security reasons (Q283734)
bullet The invaluable USMT (Windows 2000 magazine Oct 2001)
bullet Preserve user environments when migrating to Windows XP (TechRepublic)

More information

Related white papers

bullet Planning migration from Windows NT to Windows 2000
bullet Automatic deployment options: An overview
bulletDeployment guide: Automating the Windows 2000 upgrade
bulletAutomating the deployment of Windows 2000 professional and Office 2000
bullet Deploying Windows 2000 with Internet Explorer Administration Kit (IEAK) modifications
bulletEasiest upgrade to Windows 2000 professional
bulletUpgrading your corporate Windows 9x desktops to Windows 2000 professional
bulletTechnical guide to remote installation services
bulletRemote operating system installation
bulletAutomating Windows 2000 deployments with Sysprep
bulletAutomating the deployment of Windows 2000 professional and Office 2000
bullet Upgrading to Windows 2000 terminal services

Search Windows 2000 knowledge base (on title)

bulletSearch for 'hcl' in knowledge base
bulletSearch for 'bios' in knowledge base
bulletSearch for 'winnt' in knowledge base
bulletSearch for 'winnt32' in knowledge base
bulletSearch for 'unattended' in knowledge base
bulletSearch for 'installation' in knowledge base
bulletSearch for 'upgrade' in knowledge base
bulletSearch for 'answer file' in knowledge base
bulletSearch for 'udf' in knowledge base
bulletSearch for 'sysprep' in knowledge base
bulletSearch for 'ris' in knowledge base
bulletSearch for 'riprep' in knowledge base
bulletSearch for 'pxe' in knowledge base

Third-party tools

bullet3com RIS editor

Last update : 3 September 2002